I am upgrading a Windows 4D v12 database to v15. In the v12 database I used
this code at the beginning of the Startup method to hide the application
window, and it was working flawlessly:
C_LONGINT($WindowHandle_l)
$WindowHandle_l:=gui_GetWindow ("*") //returns 0
$Error_l:=gui_ShowWindow ($WindowHandle_l;SW_HIDE)
In the v15 database I changed the two Win32 commands to their new "..Ex"
counterparts. When the last line of code executes the entire screen within
4D turns white and the execution of the remainder of the Startup method
halts. I cannot step through the code in the debugger after this line of
code. I have to force-quit 4D. (Same thing happens with the old pre-Ex
code.)
David Rose
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************