|
|
I am currently try to build a dll which contains some of the functions of WpdApiDrmSample.exe. Problem:
HRESULT hr =S_OK; _ATLTRY { ... ... } _ATLCATCH(e) { hr =e; // this line has error message shown below }
When I compile my dll project, i get this error: cannot convert from CException * to HRESULT
but the same code in WpdApiDrmSample.exe do not have this error.
just hope anyone can help me to convert 'e' from CException * to int
|
|
|