Jump to content
  • Advertisement
Sign in to follow this  
SteveRodrigue

Runtime error when using LoadLibrary

This topic is 4214 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm trying to create dll for my software, and when I try to dynamically link ddls using LoadLibrary function, my software always gives me a runtime error, but do NOT crashes. The runtime error is: R6034 When I call GetLastError() to get the last error code, it always gives me: 1114. I'm using VS 2005 to build my dlls and project. Does anyone knows how to fix this? Thanks, Steve

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by DrEvil
Win32 Error Codes

1114 A dynamic link library (DLL) initialization routine failed. ERROR_DLL_INIT_FAILED

Do you have a proper entry point defined in your dll?


How can I define one in VS 2005?

Sorry, Im new to DLLs.

Thanks for your help,
Steve

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!