I am writing a program in windows in C++ in which users will be able to compile extensions in the form of dynamic-link libraries (windows), or shared object files (linux). <
AFAIK, they way that Windows and Linux handle shared function calls are very different (how variables are stored on the stack, for one), so the .so files will not work on Win32 platform, and .dlls will not work on Linux.