MaxGUI - what imports are needed
BlitzMax Forums/BlitzMax Programming/MaxGUI - what imports are needed
| ||
I have a program with the imports shown below that uses MaxGUI however at runtime I get an error: Attempt to access field or method of null object when the program calls CreateWindow. It works fine if I take out the Framework and Import lines. What imports need to be used? Strict Framework BRL.GlMax2D Import BRL.Basic Import BRL.maxgui Import BRL.timer |
| ||
what about the win32 mod? Just a guess. |
| ||
As well as brl.maxgui, you also need the OS-specific version of MaxGUI. Which will be brl.win32maxgui if you're on windows. |
| ||
Thanks guys. |
| ||
<>pimp alert<> If you get stuck again my Framework Assistant should help. |
| ||
Jim, do you have any plans to update your FA to be compatible to 1.16. For exsample : the brl.polledinput is not used by your app. I only ask, because I heard about some people had problems with polledinput. |
| ||
Sure. I'll take a look klepto2. Thanks for the heads up. Other things worth knowing about when frame-working your code. If your app/game needs to handle external files ensure you have the loader present for them: *.png files - BRL.PNGLoader *.bmp files - BRL.BMPLoader *.jpg files - BRL.JPGLoader *.tga files - BRL.TGALoader *.wav files - BRL.WAVLoader *.ogg files - BRL.OGGLoader HTTP Stream ("HTTP::whatever") - BRL.HTTPStream IncBin ("IncBin::whatever") - BRL.RamStream |