Background:
I'm developing an windows service and using the registry to get the parameters (using the key Parameters below the service entry).
Delphi is installed as an AppWave app (long story I cannot tell here) and therefore when debugging it goes to an virtualized copy [1] instead of the real deal [2].
I detected that after going logging registry activity of the service using Process Monitor. If I run the service outside Delphi, the application access the real key normally.
Question: there's some way to circunvent Streaming Core and debug the app accessing the real registry key?
Note to mods: since there's no AppWave
tag, I could not include it - I tried.
- Virtualized copy:
HKEY_LOCAL_MACHINE\software\Embarcadero\StreamingCore\Profiles\fabricio\Applications\{<<GUID>>}\Virtualization\Keys\whklm\SYSTEM\CurrentControlSet\services\[service]\Parameters]
- Real deal:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\[service]\Parameters