programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Access Violation on Application exit

From: Rick VanNorman <rick_at_neverslow.com>
Date: Tue, 18 Sep 2001 18:20:09 -0700

Bob,

BYE is used for console applications, where the SwiftForth terminal
window is open. For turnkey window-api-based applications, you must
use the ExitProcess api call.

Hope this helps,
Rick

*********** REPLY SEPARATOR ***********

On 9/18/2001 at 3:08 PM Robert Dickow wrote:

>I can't really post the source...it's several thousand lines of code. It
>only gives the "Access Violation" upon shut down of the turnkeyed app, not
>when run from the console.
>
>As for the BYE, I thought it *had* to be used upon exiting the program. To
>clarify, I exit the actual app from a Quit command in a program window,=
 and
>then the code goes through the usual DestroyWindow etc. But when the
>program
>has set up the message loops and whatnot, then it exits with a BYE.=
 Without
>that the program crashes almost immediately upon execution. If not a BYE,
>what is the recommended method of setting up a turnkeyed app?

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Tue Sep 18 2001 - 18:18:55 PDT

This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:19 PST