Open Tanuj22 opened 1 month ago
The code looks fine. I'm able to run the example and it works. Are you running the process as admin? What version of VS are you using?
IMAGE LOAD Event 5 ProcessID 24456 imageName \Device\HarddiskVolume3\Windows\System32\dsreg.dll
im here
Test :test
test-string
IMAGE LOAD Event 5 ProcessID 24456 imageName \Device\HarddiskVolume3\Windows\System32\crypt32.dll
im here
Test :test
test-string
IMAGE LOAD Event 5 ProcessID 24456 imageName \Device\HarddiskVolume3\Windows\System32\msasn1.dll
im here
Test :test
test-string
IMAGE LOAD Event 5 ProcessID 24456 imageName \Device\HarddiskVolume3\Windows\System32\msctf.dll
im here
Test :test
test-string
IMAGE LOAD Event 5 ProcessID 24456 imageName \Device\HarddiskVolume3\Windows\System32\powrprof...
@kylereedmsft thanks for quick response. Can you please try to run the Release
build? For some reason this works in Debug
build but not on Release
.
Running Visual Studio 2022 as admin.
The following program is crashing when I am trying to access invoke
std::string t = config.Test("test");
in the callbackcb
. The reason looks to because config is not able to access the memory (?). Can some please explain why this is happening even though I have already passedthis
to the callback? And how can i fix this issue? TIA!