BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using a VC++ Library with C++Builder

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Compatibility with MFC)
View previous topic :: View next topic  
Author Message
Bas Groeneveld
Guest





PostPosted: Tue Jul 04, 2006 8:10 am    Post subject: Using a VC++ Library with C++Builder Reply with quote



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





PostPosted: Tue Jul 04, 2006 5:19 pm    Post subject: Re: Using a VC++ Library with C++Builder Reply with 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
Bas Groeneveld
Guest





PostPosted: Wed Jul 05, 2006 4:00 am    Post subject: Re: Using a VC++ Library with C++Builder Reply with 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...
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





PostPosted: Wed Jul 05, 2006 6:51 am    Post subject: Re: Using a VC++ Library with C++Builder Reply with 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...
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





PostPosted: Mon Jul 10, 2006 5:31 am    Post subject: Re: Using a VC++ Library with C++Builder Reply with 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...
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





PostPosted: Mon Jul 10, 2006 5:52 am    Post subject: Re: Using a VC++ Library with C++Builder Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Compatibility with MFC) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.