18.12.2012 Views

Embedding R Tutorial

Embedding R Tutorial

Embedding R Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C/C++: Error Handling<br />

� every function returns HRESULT<br />

– standard COM error handling mechanisms<br />

– use macros SUCCEEDED() and FAILED()<br />

– interface-specific error codes at 0x8004000<br />

� must check errors on every function call<br />

� interface-specific error codes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!