Compiling in Windows with MSVC, the compiler complaints about having the load function redefined with different specs. I think the explicit load declaration should be removed, since that is what the PluginLoad macro is doing.