Quantcast
Channel: VMware Communities : All Content - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 947

VixDiskLib_Open fails in windows 32bit architecture

$
0
0

Hi,

 

In windows 32 bit architecture my application is crashing while calling VixDiskLib_Open. The code is working properly in windows 64bit architecture.

 

I have tried in two methods which are given below.,But no luck both are failing.

 

Method 1:

 

Bool rwFlag = (appGlobals.openFlags & VIXDISKLIB_FLAG_OPEN_READ_ONLY);

VixError vixError = VixDiskLib_ConnectEx(&vixDiskLibConnectParams, rwFlag, const_cast<char*>(strSnapMoRef.c_str()),NULL, &_DiskLibConnection);

 

VixError vixError = ::VixDiskLib_Open(_DiskLibConnection,strDiskPath.c_str(),iOpenFlags,pDiskHandle);

 

 

Method 2:

 

VixError vixError = VixDiskLib_Connect(&vixDiskLibConnectParams, &_DiskLibConnection);

 

VixError vixError = ::VixDiskLib_Open(_DiskLibConnection,strDiskPath.c_str(),iOpenFlags,pDiskHandle);

 

 

I'm using VDDK 5.0,And i have tried to open the VMDK files from Esxi 5.0,Esxi 5.1.

 

In the above sequence of code my application is crashing while calling the  VixDiskLib_Open() method.

 

Why it is happening and how to solve this issue?

 

Any help on this is very much appreciated.

 

 

Thanks

Manickam


Viewing all articles
Browse latest Browse all 947

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>