Depending on what happens, then yes. For example, if you expect an API to return a valid pointer and it returns NUL (zero) because the API failed, then attempting to reach the target of the pointer will cause a GPF.
There are obviously many more possible causes too. In Windows, it is the responsibility of the programmer to write code that traps and tests for errors that may cause the app to fail under extreme circumstances (like running on a clients computer!

------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment: