Is there a free way to statically link a dll? I've tried dll to lib but $999 is too expensive. What are alternatives since I want to have 1 nice exe instead of 1 exe + 1 DLL.
Thanks
Is there a free way to statically link a dll? I've tried dll to lib but $999 is too expensive. What are alternatives since I want to have 1 nice exe instead of 1 exe + 1 DLL.
Thanks
You could put the dll in your resources and then write it out and load it dynamically. You'll have to use delay-loading and make sure to write it out before you call anything in it.
It's not really linked this way, but you only have to deploy an .exe.
I'm not certain it can even be done. There are some issues that would need to be treated very delicately.
Lou Franco's idea would skirt all of those issues, but it would be important to make sure you don't leave the unpacked DLLs laying around on your user's drive.