#define _DLL_CALL __stdcall(dllexport)
void _DLL_CALL get_url();
>The problem is not with C::B. It may be a GCC (MinGW) problem.
Nah! It's a "ME" problem.
OK, I'm an idiot. I should have typed:
#define _DLL_CALL __stdcall __declspec(dllexport)
not
#define _DLL_CALL __stdcall(dllexport)
Thanks for replying! :)