468,469 Members | 2,640 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,469 developers. It's quick & easy.

.lib linked to a .dll problem

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.

Jul 13 '06 #1
1 965
dp*******@gmail.com wrote:
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-lit...t.html#faq-5.9
Jul 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Robert McGregor | last post: by
5 posts views Thread by John N. | last post: by
11 posts views Thread by bofh1234 | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.