.lib linked to a .dll problem

D

dpshelton

I'm having trouble using a library's functions (.lib's functions) in
another .dll in Visual C++. When I try to dynamically link the .dll
using another client program, the LoadLibrary function returns NULL.
When I comment-out the call to the library's function inside of the
..dll that I'm trying to load, the .dll can be dynamically linked to the
client program. I'm guessing there is a build option that I need to
set when I build the .dll. Can anyone help? Thanks.
 
R

red floyd

I'm having trouble using a library's functions (.lib's functions) in
another .dll in Visual C++. When I try to dynamically link the .dll
using another client program, the LoadLibrary function returns NULL.
When I comment-out the call to the library's function inside of the
.dll that I'm trying to load, the .dll can be dynamically linked to the
client program. I'm guessing there is a build option that I need to
set when I build the .dll. Can anyone help? Thanks.

And what is your C++ language question? Try a Windows programming or VC
group, please.

See FAQ 5.9 http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top