SDuperStrict and MaxGUI?

BlitzMax Forums/BlitzMax Beginners Area/SDuperStrict and MaxGUI?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

With SuperStrict you have to declare what kind of variable all your variables are. They default to integer.

MainWindow = CreateWindow("Test",200,200,800,600,0,style)


CreateWindow returns a TGadget, but MainWindow is an integer.

MainWindow:TGadget = CreateWindow("Test",200,200,800,600,0,style)


That should fix your problem(s).