I\'m in the process of porting a large C++ application from Linux (gcc) to Windows (Visual C++ 2008) and am having linker issues with plugins. On Linux this wasn\'t an issue, as
What do you mean by "runtime symbol lookup"? Do you mean dynamically loading libraries using dlopen
and dlsym
and so on? The equivalents in Windows are called LoadLibrary
and GetProcAddress
.
In windows, you don't export symbols from a executable. You should only export them from a dll. The right way to solve your problem is to rearchitect so that the exported symbols are in a dll that the executable and other plugin dlls can link against.