November 03, 2024, 08:29:03 AM

News:

IWBasic runs in Windows 11!


Figured it out!

Started by Brian, March 13, 2011, 06:54:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

Hi,
I was having problems with one of my programs. It would compile and run, but when
I clicked my Preferences button, it crashed badly, necessitating a restart to get going again

Couldn't find anything obvious, until I realised that I had defined my preferences dialog as
DIALOG prefs, and my subroutine was labelled as SUB prefs. Renamed my SUB entry point
as SUB PrefsBox, and away we went!

This appears to be quite allowable in EBA, but not in IWB

It still won't compile with the Strict option on, but I am more than happy that it is now
working as it should

Hope this helps someone, as it is a simple catch

Brian