Linker errors when building ActiveX DLL in Visual C++

Hello,

I am trying to create an ActiveX DLL with QT in Visual C++ and I get the following errors when building:

1
2
3
4
5
6
Error	1	error LNK2001: unresolved external symbol DllCanUnloadNow
Error	2	error LNK2001: unresolved external symbol DllGetClassObject
Error	3	error LNK2001: unresolved external symbol DllRegisterServer
Error	4	error LNK2001: unresolved external symbol DllUnregisterServer
Error	5	error LNK2001: unresolved external symbol DumpIDL	
Error	6	error LNK1120: 5 unresolved externals


Am I missing any library includes?

Thank you for your time.
The top four of those are user created functions that must be exported from every 'In Process' COM server (Dll). You are missing inclusion of the *.obj file from your project into the linkage specification. I've never used QT and was not even aware you could create COM dlls with it, so I can't speak to how you go about fixing that in your build environment.
When I build using Qt Creator I don't get this problem; I do get other problems but at least I get past this.

Thank you for the help.
Topic archived. No new replies allowed.