Announcement

Collapse
No announcement yet.

Daemon Tools 4.30.01 and imgengine.dll error when loading daemon.dll

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Daemon Tools 4.30.01 and imgengine.dll error when loading daemon.dll

    I've noticed that with 3rd party tools that try to load daemon.dll, when the working directory is not the daemon tools installation folder, an error pops up showing that imgengine.dll can't be loaded.

    This happens since it is trying to load it from the exe's working directory. I guess that the solution should involve loading imgengine.dll dinamically.

    It would be great if you could fix it in the next version.

  • #2
    Which 3rd party tools wants to load daemon.dll? Can you give any example.
    Make something idiot proof, but then they just make a better idiot
    Peace Through Power

    Comment


    • #3
      BTEWin, for example. The problem is that f.e. in C

      HMODULE hModule = LoadLibrary(TEXT "c:\daemon\daemon.dll"));

      will only work if the executable's working/current directory is c:\daemon, otherwise it won't be able to load imgengine.dll .

      A workaround can be implemented, but the best way would be that daemon.dll loads imgengine.dll dinamically.

      Comment


      • #4
        Dev of that 3rd party programme should just set working directory.
        Make something idiot proof, but then they just make a better idiot
        Peace Through Power

        Comment

        Working...
        X