Notify() crashes on windows?
BlitzMax Forums/BlitzMax NG/Notify() crashes on windows?
| ||
release and debug, x86 & 64. Anyone else have this issue? SuperStrict Framework brl.system Notify("crash?") |
| ||
Looking at the source it seems you need to use BRL.SystemDefault instead, it does the initialization of the correct system while BRL.System is just the interface. |
| ||
You need to either :Framework brl.systemdefault or Import brl.systemdefault I'll add some "throws" to give an exception similar to brl.timer. brl.system is now basically just stub to allow different implementations of a "system". The default functionality is in brl.systemdefault. Other implementations are in sdl.system, for example. The reason it needed to be split out is because you can't mix such low-level functionality - for example with event handling... you can't have two separate drivers sucking up all the events between them. brl.timer is the same. It has a brl.timerdefault for the same reasons. Also the joystick stuff was split to make it easier to implement things like virtual joysticks (for touch screens). |
| ||
I've now added driver null checks which now throw a more useful error if you haven't added a system driver implementation. |
| ||
Thanks! I wasn't aware of differences. |