Committed with one mod: >-__declspec(dllexport) HRESULT WvGetObject(REFIID riid, LPVOID FAR* ppvObj) >+extern "C" __declspec(dllexport) HRESULT WvGetObject(REFIID riid, LPVOID FAR* >ppvObj) This change isn't needed along with the change to the header file.