Re: Window Appears Briefly Then Disappears
- Posted by ghaberek (admin) Jul 01, 2019
- 1322 views
Icy_Viking said...
--Wrapper Code public constant xInitWindow = define_c_proc(ray,"InitWindow",{C_INT,C_INT,C_POINTER}),
Looks like raylib is using CDECL calling convention. You need to prefix function names with a "+" to override the default STDCALL calling convention on Windows.
https://github.com/raysan5/raylib/blob/master/src/raylib.h#L79
-Greg