Hi Martin,
Martin wrote:
But we could use the expression "MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND)" instead.
A shorter version is HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND).
Question: could you not change _ILCreateFromPathA to return an HRESULT?
--Juan
__________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html