Thanks for the reply. I just tried the DLL wizard, but it doesn't seem to be the way to go. It just creates a skeleton Windows DLL with entries such as "BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)" etc., I.e. definitely Windows specific and not portable. That DLL wizard does also not exist under my Kubuntu C::B installation.
Where do i find the Code::Blocks SDK example ?
On windows I have used mostly static linking to DLLs, i.e. application linking against the DLL import library. Not sure if the same feature exist for a shared object on Linux....? I want to export C++ class instances as one can do on Windows, not just call exported C-style functions. Another thing is using different compilers on the two platforms (VC2005 on windows and GCC on linux). This means 4 build targets are needed (i.e. separate Debug/Release for win and linux).
I believe these things should be possible... after all wxWidgets is linked as several .so files for example.
cacb