I know how to properly create and link dlls using dev-c++. I just finished a decent sized DLL. But when my program runs (this program is linked to my DLL) the library's entry point is not called. Why? What can I do to fix this?
This is a discussion on DllMain not being called! within the Windows Programming forums, part of the Platform Specific Boards category; I know how to properly create and link dlls using dev-c++. I just finished a decent sized DLL. But when ...
I know how to properly create and link dlls using dev-c++. I just finished a decent sized DLL. But when my program runs (this program is linked to my DLL) the library's entry point is not called. Why? What can I do to fix this?
I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl
/* When I wrote this, only God and I understood what I was doing... Now, God only knows */
Without more information, you're probably going to be asked questions like, "Did you change your DLL's entry point?" or something of that nature. I'm too tired at the moment to see anything obviously wrong with what you described.
No I didn't. It's plain & simple DllMain(). If I exclude it, the compiler complains.
I looked this up in google, and it seems to have something to do with linker settings for other people, but I've found nothing.
I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl
/* When I wrote this, only God and I understood what I was doing... Now, God only knows */
Okay, I got it working now. I didn't have dllmain as an export function. I assumed to much!
I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl
/* When I wrote this, only God and I understood what I was doing... Now, God only knows */