2.) run this "example":
Code: Select all
;DONT FORGET TO ENABLE THREADSAFE IN COMPILER OPTIONS
Procedure Thread()
Delay(2000) ;wait two seconds
EndProcedure
If OpenWindow(0, 0, 0, 100, 100, "WTF?", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) And CreateThread(@Thread(), 0)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf : Endcan anyone else confirm this?!
i tried also on a clean install of pb4 with no userlibs etc. but got the same error.
did someone ever tried the threadsafe option?! im a little bit surprised, no one noticed this before.
c ya,
nco2k


