Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. DLL generated in ActiveQt Project cannot be found in COM components

DLL generated in ActiveQt Project cannot be found in COM components

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 983 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vincent_yw
    wrote on last edited by
    #1

    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?
    Thanks

    Best regards,
    Vincent

    raven-worxR 1 Reply Last reply
    0
    • V Vincent_yw

      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?
      Thanks

      Best regards,
      Vincent

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @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.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      V 1 Reply Last reply
      0
      • V Offline
        V Offline
        Vincent_yw
        wrote on last edited by Vincent_yw
        #3

        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.

        raven-worxR 1 Reply Last reply
        0
        • V 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.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @Vincent_yw
          sorry, i don't get what you want to say?

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          V 1 Reply Last reply
          0
          • raven-worxR raven-worx

            @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.

            V Offline
            V Offline
            Vincent_yw
            wrote on last edited by
            #5

            @raven-worx Yes, it is a 32bit VS. But I found some 64bit DLL in the COM components. Thanks.

            1 Reply Last reply
            0
            • raven-worxR raven-worx

              @Vincent_yw
              sorry, i don't get what you want to say?

              V Offline
              V Offline
              Vincent_yw
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved