Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 144140

Re: Where to put VixDiskLib_Cleanup ?

$
0
0

Thx. so I do it like this now:

 

VixDiskLib_Disconnect(srcConnection);

VixDiskLib_Cleanup(&connectParams, &numcleanedup, &numremaining);

VixDiskLib_EndAccess(&connectParams, "MyApp");

VixDiskLib_Exit();

 

Is that correct?

 

Is "Find VixDiskLib_Disconnect() near the end of program" to be taken literally? So far, I do a connect when I need it and disconnect when I don't need it anymore for the next few hours. But my program won't end soon after the disconnect. Is this wrong?


Viewing all articles
Browse latest Browse all 144140

Trending Articles



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