I've started writing a new program in fixed-format FTN95. It puts up a window with various menus and menu entries, and several buttons, display boxes, and an edit box. The buttons and menu entries mostly have dummy functions for now, that don't do anything, just placeholders for now.
When I run it, it seems to work correctly, but then at the end either locks up or crashes with a gruesome error message, saying that the program tried to access location xxxxxxxxx with a bunch of traceback information. No line numbers are indicated in the error messages, it seems to be referring to machine locations.
When I run this program under Windows 2000, it does the above and locks up. Won't respond, so when I click on the X in the upper right corner of the window it creates, it says the program is not responding, and would I like to shut it down? Clicking YES results in a shutdown.
But when I run it on Vista 64-bit version, it does the above, and then I get the gruesome error message with traceback info.
And the oddest thing is, when I put a WRITE(6,2010) print statement in a certain place near the end of the code, with an appropriate FORMAT statement, suddenly everything works perfectly. The WRITE statement causes a big white window to appear, with the stuff I want written in it, as expected. And the program seems to terminate normally, with no lockup, error messages, etc., on both Win2000 and Vista64, when that WRITE statement is in place.
Any of this sound familiar? Neither the lockup (Win2000) or gruesome error message (Vista64) help me much.
I can send the FTN95 code for examination if you like, might help diagnosis. It's only about 17K of text now, though later I intend it will be much bigger.
Puzzled in California, Steve