Convert static windows library to dll

I’m not aware of anyb tools that will do this automatically, but the process is to create a DLL project and add your libraries to the project. For each function in the header file:

int SomeLibFunc( int x, int y );

you would need to create and export your own function in the DLL;

int MyFunc( int x, int y ) {
   return SomLibFunc( x, y );
}

The process is quite mechanical, and you may be able to knock up a script using something like perl to create the DLL source files.

Leave a Comment