Hello madshi,
In my RegQueryValueExCallback inside My.dll, I did the following:
strcpy((char *) lpData, "Modified Data");
*lpcbData = 14;
*lpType = REG_SZ;
The result during run time is this error message:
"Access violation at address 10001026 in module 'My.dll'. Write of address 00000000"
The cause of the error is : strcpy((char *) lpData, "Modified Data"); , NOT the other two data manipulation.
Do you have any idea what is the cause of this different response to manipulating data?