Both with vCenter invovled and vCenter not involved gives same crash. When I posted Vc was involved, just now I removed the machine from the Esx ( I removed the vc agent at the Esx and did a restart) and ran the program, same result. The crash is what making this hard to debug. Just to remind, the vixDiskSample.exe also fails in the same VixDiskLib_Open. I enabled the log function call back in VixDiskLib_Init - you could see the same in the attached image.
./Siva.