Quantcast
Channel: Micro Focus Forums
Viewing all articles
Browse latest Browse all 11924

Call API crash

$
0
0
IGWFolderRights *gwFolderRights NULL;
DIGWAddress *gwAddressD = NULL;

status = gwFolderRights->get_Address(&gwAddressD);

I call that sometime crash in windows vista, then I tried catch this exception as below, but didn's work, still crash at here. use try{} catch{} too.

long int
TryGetAddress(IGWFolderRights *gwFolderRights, DIGWAddress **gwAddressD)
{
long int status;
__try
{
status = gwFolderRights->get_Address(gwAddressD);
}
__except(1)
{
status = -1;
}
return status;
}

Is there a problem? Thanks very much!

Viewing all articles
Browse latest Browse all 11924

Trending Articles



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