Hi, i think there is a way to link librarys staticlly, so that the dll is includet in the exe.

ho i have to set the parameter?
Posted on 2003-06-13 12:27:21 by Forginforcer
You need to compile your DLL as .obj or .lib and then simply add it to object list parameters to linker.
Posted on 2003-06-13 12:32:53 by comrade
that's what i did aat first. - But then, the programm don't start.

i assembled it and add it to the link parameter in the other projekt.
Or do I have to link the library but with special options???
Posted on 2003-06-13 12:55:00 by Forginforcer
Delete the DllEntry or DllMain routine.
If you need special initialization, you will need to create an initialization function and call it from your other code.
Posted on 2003-06-13 15:52:19 by tenkey
Posted on 2003-06-13 15:56:16 by Forginforcer

Here is another method if you haven't the source code of your DLL:

Posted on 2003-06-14 03:49:04 by Vortex