1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-30 05:10:37 +00:00

Change for 64-bit compatability

change so that the windowhandle will return a 64-bit value for QB64x64
versions, while returning a 32-bit value for QB64.  This allows for
upgrade to 64-bit to be as simple as just swapping compilers and then
rebuilding QB64 with the setup script.
This commit is contained in:
SteveMcNeill 2018-10-17 17:14:19 -04:00
parent 6844913b8e
commit 505556a1c7

View file

@ -12595,7 +12595,7 @@ int32 func__handle(){
#ifdef QB64_GUI
#ifdef QB64_WINDOWS
while (!window_handle){Sleep(100);}
return (int32)window_handle;
return (ptrszint)window_handle;
#endif
#endif