Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Query related to DllInstall()

Query related to DllInstall()

Scheduled Pinned Locked Moved C / C++ / MFC
2 Posts 2 Posters 0 Views 1 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.
  • N Offline
    N Offline
    narayanagvs
    wrote on last edited by
    #1

    Hi, I have a third party dll which I registered with /i option. Like regsvr32 /i:"someGUID" "DllPath" .registration succeeded. I could notice that With /i option DllInstall function is also called with DllRegisterServer. Now for me to use this dll I should call a function of it with the "someGUID" which it compares and returns successfully. 1)I would like to know what it does internally? Where does it store the GUID for comparing? The dll has some function which takes strings(file paths) as input. and displays as a list when we call another function of it. Now I close my application and register the same third party dll with another GUID to use it in another application.I have repeated the above process. When I got the list of all strings that it has it also shows the strings which it stored from the first application.I tried to find them in registry and also for any text files in the directory where the dll resides but of know use. 2)I would like to know where else can we save strings in windows other than files and registries. Thanks Satya

    Today is a gift, that's why it is called the present.

    L 1 Reply Last reply
    0
    • N narayanagvs

      Hi, I have a third party dll which I registered with /i option. Like regsvr32 /i:"someGUID" "DllPath" .registration succeeded. I could notice that With /i option DllInstall function is also called with DllRegisterServer. Now for me to use this dll I should call a function of it with the "someGUID" which it compares and returns successfully. 1)I would like to know what it does internally? Where does it store the GUID for comparing? The dll has some function which takes strings(file paths) as input. and displays as a list when we call another function of it. Now I close my application and register the same third party dll with another GUID to use it in another application.I have repeated the above process. When I got the list of all strings that it has it also shows the strings which it stored from the first application.I tried to find them in registry and also for any text files in the directory where the dll resides but of know use. 2)I would like to know where else can we save strings in windows other than files and registries. Thanks Satya

      Today is a gift, that's why it is called the present.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      narayanagvs wrote:

      1)I would like to know what it does internally? Where does it store the GUID for comparing?

      The source code to regsvr32 is here: INFO: How Regsvr32.exe Registers and Unregisters COM DLLs[^] Ultimately the COM interface information is stored in the registry database: HKEY_CLASSES_ROOT\CLSID HKEY_CLASSES_ROOT\AppID HKEY_LOCAL_MACHINE\Software\Classes\CLSID HKEY_CURRENT_USER\Software\Classes\CLSID

      narayanagvs wrote:

      2)I would like to know where else can we save strings in windows other than files and registries.

      I dont understand the question, the registry is also a file. Are you asking where to save information other than a hard drive. Best Wishes, -David Delaune

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups