Jump to content
Software FX Community

Re: Annotation GetExtension throwing exception

Software FX

Recommended Posts


Yes. This exception is normal as we return E_FAIL from GetExtension when the

extension is not found.

The wrapper class generated by #import or ClassWizard, throws an exception

when an error code is returned.

You can directly call raw_GetExtension to prevent the exception from being

generated. In this case you need to check for the return value.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...