user541686
user541686

Reputation: 210352

Exception-Raising Win32 API Wrapper?

I've seen many wrappers for the Windows API (MFC, ATL, WTL, etc.) but none of them seem to use exception-handling -- you still have to check the error codes for most functions, which is easy to forget (or to omit due to laziness).

Is there any wrapper out there that actually throws exceptions instead of returning error codes?

Upvotes: 0

Views: 358

Answers (1)

David Heffernan
David Heffernan

Reputation: 612794

The VCL raises exceptions when it encounters errors.

Upvotes: 3

Related Questions