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 / Error LNK 2005 DLL Create

Author
Message
E3ddy
13
Years of Service
User Offline
Joined: 25th Jul 2010
Location:
Posted: 28th Jul 2010 01:27
Hello guys,

I'm trying to make dll for my project .. but when I try to build

VC + + gives me an error:

1> core.lib (DBDLLCore.obj): error LNK2005: _DllMain @ 12 already defined in dlllivello.obj

it seems the problem lies in my dllmain.cpp

said to use a main function that already exists in core.lib ...

how can I remedy this problem?

I hope you will help me ^ ^
E3ddy
13
Years of Service
User Offline
Joined: 25th Jul 2010
Location:
Posted: 28th Jul 2010 16:39
Please help me

I read a post, this:

"Copy the linker and runtime library settings directly from a working program to the DarkGDK. Lib project."

_________________________________________________________________

"You see, I Had That Already done, I know i was wondering. Anyways, i finally fixed it, and it works fine now. Thanks for all the help."

but I did not understand how they did, that has created a project ".exe" and have entered into the function that would run on the dll? then implemented the libraries in the dll?
bloodmage2
15
Years of Service
User Offline
Joined: 14th Jun 2009
Location:
Posted: 5th Aug 2010 18:59
DLL's + DarkGDK = trouble.
dark gdk cannot use dlls. you are better off using static libraries (.lib)

-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.
http://www.lionsbloodstudios.justinman.net/index.htm

Login to post a reply

Server time is: 2024-07-02 09:43:49
Your offset time is: 2024-07-02 09:43:49