DLL generated in ActiveQt Project cannot be found in COM components
-
wrote on 30 Nov 2016, 14:11 last edited by
Hi everyone,
I created a ActiveQt project using VS2015, but the generated 64-bit DLL cannot be found in the VS2015(Tools - Choose toolbox Items - COM components).
I tried to use the regservr32.exe in both system32 and sysWOW64, they all failed.
I noticed that the dll was successfully registrated because I can find the related items in the registry.
I also tried to generated 32-bit DLL, it can be found in VS2015.
What should I do?
ThanksBest regards,
Vincent -
Hi everyone,
I created a ActiveQt project using VS2015, but the generated 64-bit DLL cannot be found in the VS2015(Tools - Choose toolbox Items - COM components).
I tried to use the regservr32.exe in both system32 and sysWOW64, they all failed.
I noticed that the dll was successfully registrated because I can find the related items in the registry.
I also tried to generated 32-bit DLL, it can be found in VS2015.
What should I do?
ThanksBest regards,
Vincent@Vincent_yw said in DLL generated in ActiveQt Project cannot be found in COM components:
I also tried to generated 32-bit DLL, it can be found in VS2015.
I might be wrong, but i never heard of a 64bit Visual Studio?!
So it makes perfect sense that a 32bit application can't load a 64bit library. -
wrote on 30 Nov 2016, 14:17 last edited by Vincent_yw
At first I only tried 64bit DLL, and I found nothing in COM components in VS. So I clicked the button in the dialog and tried to load DLL manually, but I got error: "Self-registration for x.dll failed."
Then I generated 32bit DLL and it can be found in COM components. I also clicked the button in the dialog and tried to load 64bit DLL, but the item in COM components is still a 32bit DLL. What's more, I didnt get the error.
-
At first I only tried 64bit DLL, and I found nothing in COM components in VS. So I clicked the button in the dialog and tried to load DLL manually, but I got error: "Self-registration for x.dll failed."
Then I generated 32bit DLL and it can be found in COM components. I also clicked the button in the dialog and tried to load 64bit DLL, but the item in COM components is still a 32bit DLL. What's more, I didnt get the error.
@Vincent_yw
sorry, i don't get what you want to say? -
@Vincent_yw said in DLL generated in ActiveQt Project cannot be found in COM components:
I also tried to generated 32-bit DLL, it can be found in VS2015.
I might be wrong, but i never heard of a 64bit Visual Studio?!
So it makes perfect sense that a 32bit application can't load a 64bit library.wrote on 30 Nov 2016, 14:22 last edited by@raven-worx Yes, it is a 32bit VS. But I found some 64bit DLL in the COM components. Thanks.
-
@Vincent_yw
sorry, i don't get what you want to say?wrote on 30 Nov 2016, 14:27 last edited byThis post is deleted!
1/6