Hi list, what is the correct way to export a function using Qt and MSVC? With extern "C" HRESULT Q_DECL_EXPORT __stdcall DllGetClassObject(REFCLSID objGuid, REFIID factoryGuid, LPVOID *factoryHandle) I get an "Redefinition; different linkage" error. Regards, André