I'm using some .dll files written in C++ for my application, I have a few questions regarding them:
1.
Is it possible to pack these .dll together with my application into a single .exe?
2.
For static linking, is there a way to load the dll in a folder other than the application folder?
external 'Plugins/someDLL.dll'
doesn't work.
3.
When i tried to static linking some dlls, it gave an error:
The procedure entry point xxxx could not be located in the dynamic link library
It works if i dynamically load the dll (with Dynlibs). What is that caused by?
4.
Is there any practical difference (performance etc) between static and dynamic linking if the dll is intended to be used throughout the lifetime of the application?