Hi, Not much to go on but it looks like you are casting
gpVCmdNotifySink
which may be valid if it indeed is already a pointer, the easier way may just be to have a Notify object and give it a reference to it. So use
&gVCmdNotifySink
Hope this helps,
Cheers, AT