 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bas Groeneveld Guest
|
Posted: Tue Jul 04, 2006 8:10 am Post subject: Using a VC++ Library with C++Builder |
|
|
I realise that this question has probably been asked many times before and
have found some references in Google Groups search, however I am having no
luck getting things going. Before I give up I would like to find out if my
cause is really hopeless.
I am trying to use an Intel Dialogic telephony board from a C++Builder
application using the VoiceAPI supplied with the Intel SDK.
I have converted the supplied LIB files from COFF to MOF using the COFF2MOF
utility and am able to link the libraries to my project. However as soon as
I reference one of the functions (eg dx_open) I get the linker error:
[Linker Error] Unresolved external '_dx_open' referenced from
D:\PROJECTS\C++BUILDER 6\TEST\DIALOGIC\FRMMAIN.OBJ
I've checked the verbose output of COFF2MOF and _dx_open is definitely
shown, so it should be in the library. Is this some type of naming problem?
Is there anything I can do to use these libraries??
As an alternative I have tried to import the typelib from the dll file
referenced by the library, but get an "Error loading type library/DLL"
error.
Any help/hints appreciated!
Thanks
Bas
--
==========================================
Bas Groeneveld
Benchmark Design System and Software Engineering
PO Box 165N, Ballarat North, VIC 3350
Phone: +61 3 5333 5441 Mob: 0409 954 501 |
|
| Back to top |
|
 |
Olivier Bertini Guest
|
Posted: Tue Jul 04, 2006 5:19 pm Post subject: Re: Using a VC++ Library with C++Builder |
|
|
Hi,
I would suggest you to try to generate .lib files directly from the dlls
using the tool implib.
e.g. implib -a lib_bcb_dllname.lib dllname.dll
Do this for every dll supplied with the VoiceAPI and add all the
necessary (maybe all) .lib to your c++builder project.
Don't forget to put the dlls in a place where your app can find them
(typically in the same directory as the exe).
Olivier |
|
| Back to top |
|
 |
Bas Groeneveld Guest
|
Posted: Wed Jul 05, 2006 4:00 am Post subject: Re: Using a VC++ Library with C++Builder |
|
|
Thank you very much Olivier
That appears to have done the trick and I can now at least start building
some test programs.
Cheers
Bas
"Olivier Bertini" <olivier.bertini (AT) NOOSPAAAAMMMMMurbanet (DOT) ch> wrote in
message news:44aa5cc1$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
I would suggest you to try to generate .lib files directly from the dlls
using the tool implib.
e.g. implib -a lib_bcb_dllname.lib dllname.dll
Do this for every dll supplied with the VoiceAPI and add all the
necessary (maybe all) .lib to your c++builder project.
Don't forget to put the dlls in a place where your app can find them
(typically in the same directory as the exe).
Olivier |
|
|
| Back to top |
|
 |
KL Chin Guest
|
Posted: Wed Jul 05, 2006 6:51 am Post subject: Re: Using a VC++ Library with C++Builder |
|
|
Dear Bas,
Are you creating an IVR app or system?
Regards
KL Chin
"Bas Groeneveld" <nospam (AT) nospam (DOT) com.au> wrote in message
news:44aaf31e$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Thank you very much Olivier
That appears to have done the trick and I can now at least start building
some test programs.
Cheers
Bas
"Olivier Bertini" <olivier.bertini (AT) NOOSPAAAAMMMMMurbanet (DOT) ch> wrote in
message news:44aa5cc1$1 (AT) newsgroups (DOT) borland.com...
Hi,
I would suggest you to try to generate .lib files directly from the dlls
using the tool implib.
e.g. implib -a lib_bcb_dllname.lib dllname.dll
Do this for every dll supplied with the VoiceAPI and add all the
necessary (maybe all) .lib to your c++builder project.
Don't forget to put the dlls in a place where your app can find them
(typically in the same directory as the exe).
Olivier
|
|
|
| Back to top |
|
 |
Bas Groeneveld Guest
|
Posted: Mon Jul 10, 2006 5:31 am Post subject: Re: Using a VC++ Library with C++Builder |
|
|
I am developing an application to allow a set of phone lines to be tested. I
need to be able to dial, monitor call progress (ie busy, no answer etc),
detect a special equipment handshake tone, send some dtmf and hang up again.
It will be used by a security monitoring company to regularly test the
integrity of their phone lines and equipment.
Cheers
Bas
"KL Chin" <klchin (AT) 1asia (DOT) com.my> wrote in message
news:44ab1b24 (AT) newsgroups (DOT) borland.com...
| Quote: | Dear Bas,
Are you creating an IVR app or system?
Regards
KL Chin
"Bas Groeneveld" <nospam (AT) nospam (DOT) com.au> wrote in message
news:44aaf31e$1 (AT) newsgroups (DOT) borland.com...
Thank you very much Olivier
That appears to have done the trick and I can now at least start
building
some test programs.
Cheers
Bas
"Olivier Bertini" <olivier.bertini (AT) NOOSPAAAAMMMMMurbanet (DOT) ch> wrote in
message news:44aa5cc1$1 (AT) newsgroups (DOT) borland.com...
Hi,
I would suggest you to try to generate .lib files directly from the
dlls
using the tool implib.
e.g. implib -a lib_bcb_dllname.lib dllname.dll
Do this for every dll supplied with the VoiceAPI and add all the
necessary (maybe all) .lib to your c++builder project.
Don't forget to put the dlls in a place where your app can find them
(typically in the same directory as the exe).
Olivier
|
|
|
| Back to top |
|
 |
KL Chin Guest
|
Posted: Mon Jul 10, 2006 5:52 am Post subject: Re: Using a VC++ Library with C++Builder |
|
|
Hi Bas,
Thx for your reply.
The main reason I was asking, bcoz I had developed a genearal IVR engine do
a basic features, everything will be script based, also support NMS card.
Please, do not hesitae to contact me, if you need any further information.
Regards
KL Chin
"Bas Groeneveld" <nospam (AT) nospam (DOT) com.au> wrote in message
news:44b19fe7$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I am developing an application to allow a set of phone lines to be tested.
I
need to be able to dial, monitor call progress (ie busy, no answer etc),
detect a special equipment handshake tone, send some dtmf and hang up
again.
It will be used by a security monitoring company to regularly test the
integrity of their phone lines and equipment.
Cheers
Bas
"KL Chin" <klchin (AT) 1asia (DOT) com.my> wrote in message
news:44ab1b24 (AT) newsgroups (DOT) borland.com...
Dear Bas,
Are you creating an IVR app or system?
Regards
KL Chin
"Bas Groeneveld" <nospam (AT) nospam (DOT) com.au> wrote in message
news:44aaf31e$1 (AT) newsgroups (DOT) borland.com...
Thank you very much Olivier
That appears to have done the trick and I can now at least start
building
some test programs.
Cheers
Bas
"Olivier Bertini" <olivier.bertini (AT) NOOSPAAAAMMMMMurbanet (DOT) ch> wrote in
message news:44aa5cc1$1 (AT) newsgroups (DOT) borland.com...
Hi,
I would suggest you to try to generate .lib files directly from the
dlls
using the tool implib.
e.g. implib -a lib_bcb_dllname.lib dllname.dll
Do this for every dll supplied with the VoiceAPI and add all the
necessary (maybe all) .lib to your c++builder project.
Don't forget to put the dlls in a place where your app can find them
(typically in the same directory as the exe).
Olivier
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|