General information
Category:
Coding, syntax & commands
>The problem you face is that no VFP error is actually created by the vast majority of API call error returns, so there's nothing to catch the error spontaneously. Further, not all API functions return a consistent value for - in some cases, a 0 represents ERROR_SUCCESS, other times, it indicates a failure. You have to code each API call separately.
In my case 0 alway represents success. And all return values have the same meaning. That is why I want to handle errors in one place.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only