I can't tell you exactly what Python needs but I have written many interfaces to use C++ classes in a script language using LoadLibrary calls. What I did was wrap all of the exported functions in this:
extern "C"
{
}
and each function had a "__declspec( dllexport )" tag in front of it. This has worked quite well for me. I used a macro for the export tag. Something like :
#define DLLexport __declspec(dllexport)
so the functions look like this :
extern "C"
{
DLLexport int MyFunction( ... )
{
}
}