Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Replace DLL name and DLL dependecy
Forum Updated to NodeBB v4.3 + New Features

Replace DLL name and DLL dependecy

Scheduled Pinned Locked Moved Unsolved Brainstorm
3 Posts 2 Posters 631 Views 3 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.
  • A Offline
    A Offline
    addebito
    wrote on last edited by aha_1980
    #1

    Is it possibile to replace the name of a dependency inside a dll ?
    In the past, a competitor of mine, got my software and through "dependency walker" he checked and saw what type of external library my software used.

    eg:

    MyBeatifullApp.exe
      |- QT5Core.dll
      |- QT5Widgets.dll
      |- QT5Gui.dll
      |- BoughtLibA
              |- BoughtLibB
              |- VCRuntime140.dll
              |- Kernel32.dll
    

    In this case I can rename the "BoughtLibA" as "GenericLibA" but I can't rename the "BoughtLibB" because is fitted into "BoughtLibA".

    So, ...
    Question number 1
    there is no way to replace the dependency of "BoughtLibB.dll" from "BoughtLibA.dll".

    Question number 2
    A different approach, can I static link the BoughtLibA.dll? ...I don't think so.

    Any advice will be very appreciated.
    Thank you

    aha_1980A 1 Reply Last reply
    0
    • A addebito

      Is it possibile to replace the name of a dependency inside a dll ?
      In the past, a competitor of mine, got my software and through "dependency walker" he checked and saw what type of external library my software used.

      eg:

      MyBeatifullApp.exe
        |- QT5Core.dll
        |- QT5Widgets.dll
        |- QT5Gui.dll
        |- BoughtLibA
                |- BoughtLibB
                |- VCRuntime140.dll
                |- Kernel32.dll
      

      In this case I can rename the "BoughtLibA" as "GenericLibA" but I can't rename the "BoughtLibB" because is fitted into "BoughtLibA".

      So, ...
      Question number 1
      there is no way to replace the dependency of "BoughtLibB.dll" from "BoughtLibA.dll".

      Question number 2
      A different approach, can I static link the BoughtLibA.dll? ...I don't think so.

      Any advice will be very appreciated.
      Thank you

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @addebito,

      by using a hex editor many things are possible, but wouldn't it be easier to ask the vendor of BoughtLibA to give you a shared lib for static linking?

      On the other hand, what is the problem? If someone wants to find out which libs you are using, he still has possibilities to do so (searching for strings in the exe file, for example)

      Regards

      Qt has to stay free or it will die.

      A 1 Reply Last reply
      3
      • aha_1980A aha_1980

        Hi @addebito,

        by using a hex editor many things are possible, but wouldn't it be easier to ask the vendor of BoughtLibA to give you a shared lib for static linking?

        On the other hand, what is the problem? If someone wants to find out which libs you are using, he still has possibilities to do so (searching for strings in the exe file, for example)

        Regards

        A Offline
        A Offline
        addebito
        wrote on last edited by
        #3

        @aha_1980 Thank you for your kind reply and.... you are right, is not enough replace the name of the linked dll.

        1 Reply Last reply
        1

        • Login

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