What will happen now? Someone can explain me about this a lil?Quote:
Originally Posted by Codeplug
Printable View
What will happen now? Someone can explain me about this a lil?Quote:
Originally Posted by Codeplug
It is much more than just compiling the source code. If you just get the DLL source code, you'll just be building a DLL.Quote:
Originally Posted by SliderMan
The author needs to also give you instructions on how to create a static library, given that you have the source code (probably have to #define several constants, etc.). If you do not get these instructions, you better get ready to change the source code or figuring out what needs to be changed to build a static library properly.
That's like asking, "how do I build a car, given all of the parts needed". We can't answer that -- you need to first get the source code, compile it, and see what comes out. Then you test it. Any problems, then you need to figure it out, or leave a detailed synopsis of what you tried and what problems there are.Quote:
How can I create a static lib? will this help me?
Regards,
Paul McKenzie
>> Someone can explain me about this a lil?
"Resources" can be compiled and linked into your module (DLL or EXE).
You compile resource files (.rc) using the resource compiler - the IDE will take care of this for you.
Attached is a small, complete solution that demonstrates:
* compiling an external file as a resource your application
* extracting the file from the resource and saving it to disk at run time
Why do you only want to give a single EXE? Why not just give out the EXE and the DLL's it needs?
gg
Because I dont like DLL`s, By the way I have an export to the dll (just noticed) so that wont work as well, since the EXE wont start without the dll, it wont have the chance to extract it =). Or I am wrong?
By the way thanks alot guys for all of your help and ideas.