Then i receive a "properties.exe has encountered a problem and needs to close. We are sorry for the inconvenience." Windows error message.
{P.S. my program is called properties.exe}
If I don't have a reference to lpszString in the callback function then the code executes as expected through to the end. I suspect I am not using the pointer of the string correctly...?
If someone could shed some light that would be appreciated.