> FLTKInstance = GetModuleHandle("fltkdll.dll"); //access count is N
> (assumed > 0)
> while (FLTKInstance)
> {
> BOOL fi = FreeLibrary(FLTKInstance);
> if (fi) FLTKInstance = GetModuleHandle("fltkdll.dll");
> else FLTKInstance = NULL;
> }
> //completely unloaded now.
> FLTKInstance = LoadLibrary("fltkdll.dll"); //
> //we get to here, and the DLL is loaded, but it doesn't matter. No UI
> will come up the second time
I wonder if we need to explicitly unregister the fltk window classes from the
Windows context and then re-assert them, or maybe register them with a
different name each time, or something...?
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk