Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Linker errors

Author
Message
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 29th Nov 2007 03:24
Ok, now I'm having linker errors when compiling a dll. The problem is with the entry point of the dll, DLLMain. Apparently, its interfering with the one in "DBDLLCore.obj". Heres the actual error output:


So how do I get rid of this linker error?

DNDK - Dark Newton Development Kit. In progress.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Nov 2007 18:34
I don't think you can.

That DllMain isn't there to stop you doing this (at least I don't think so), but the GDK does require setup code to be run before anything can happen to prepare DX & other GDK supporting systems, so it's probably good that the effect does stop you.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 29th Nov 2007 22:22
Ok, looks like I have to make a static library. Which is fine and all. Thanks for the response IanM.

DNDK - Dark Newton Development Kit. In progress.

Login to post a reply

Server time is: 2024-10-08 20:26:46
Your offset time is: 2024-10-08 20:26:46