Let's say you made an EXE that uses a certain API present on Win98 and now this API is no longer present on Win7/Win8.

Is using "on error goto" enough to prevent the crash or the exe is going to be useless anyway no matter the error handling ?

In other words, to you recommend to use error handling for an API that you think it may no longer work in the future ?

I dont understand much about API calls thats why Im askin.

thanks, regards