Sign in to follow this  

Runtime error when using LoadLibrary

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
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,

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this