I have created a very basic project to simply enumerate the running VMs. This is taken from the sample code provided in the documentation for FindItems. If I do not register a callback, the code runs fine. However, when I register a callback, it always crashes when returning from the OnVixEvent function. This happens even I put only a return statement in the function. Does anyone have an idea as to what is going on?
I have attached my source file.
Thanks,
allan