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
Forum Updated to NodeBB v4.3 + New Features

DLL generated in ActiveQt Project cannot be found in COM components

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 865 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 30 Nov 2016, 14:11 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

    R 1 Reply Last reply 30 Nov 2016, 14:14
    0
    • V Vincent_yw
      30 Nov 2016, 14:11

      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

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 30 Nov 2016, 14:14 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 30 Nov 2016, 14:22
      0
      • V Offline
        V Offline
        Vincent_yw
        wrote on 30 Nov 2016, 14:17 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.

        R 1 Reply Last reply 30 Nov 2016, 14:19
        0
        • V Vincent_yw
          30 Nov 2016, 14:17

          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.

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 30 Nov 2016, 14:19 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 30 Nov 2016, 14:27
          0
          • R raven-worx
            30 Nov 2016, 14:14

            @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 30 Nov 2016, 14:22 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
            • R raven-worx
              30 Nov 2016, 14:19

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

              V Offline
              V Offline
              Vincent_yw
              wrote on 30 Nov 2016, 14:27 last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0

              1/6

              30 Nov 2016, 14:11

              • Login

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