Try: (HANDLE)-1
The start of some sanity?
In reply to Re: Get hInstance handle in XS application? by BrowserUk in thread Get hInstance handle in XS application? by chessgui