The gisfrontend plugin is mostly platform independent. The only windows specific part I found so far was
void add(const char* libraryPath, const char* apiSymbolName) { HMODULE libraryAddress = LoadLibrary(libraryPath); assert(libraryAddress != NULL); AbstractGisPlugin* (*fp)(); fp = (AbstractGisPlugin* (*)())GetProcAddress((HMODULE)libraryAddress, apiSymbolN\ ame); assert(fp != NULL); AbstractGisPlugin* plugin = fp(); plugins.push_back(plugin); }
This loads the dynamic library. This is done with the dlopen calls.
References
http://www.ibm.com/developerworks/aix/library/au-porting/
http://www.faqs.org/docs/Linux-HOWTO/Program-Library-HOWTO.html