Win32Lib *(Free,Delete,Release)*
- Posted by Euman <euman at bellsouth.net> Dec 25, 2000
- 514 views
------=_NextPart_000_001A_01C06EA1.5DC5AD80 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Forgive me for hoping from Win to Dos & back again. I was wondering if anyone has written for Win32Lib FreeLibrary for LoadLibraryA DeleteObject for CreateSolidBrush ReleaseDC for GetDC DestroyMenu for CreatePopupMenu and if so, would a customized attachCleanUp( ) be the route to take for = this? I am saveing the LoadLibraryA functions in sequence to later Free them but am at odds as to the rest, I think I need to save every = loaded/created instance and upon destroy of my mainWindow release/free them. Any suggestions or is this something that's in the works for the = Library? euman at bellsouth.net ------=_NextPart_000_001A_01C06EA1.5DC5AD80 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Forgive me for hoping from Win = to Dos &=20 back again.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I was wondering if anyone has written = for=20 Win32Lib</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>FreeLibrary for = LoadLibraryA</FONT></DIV> <DIV><FONT face=3DArial size=3D2>DeleteObject for = CreateSolidBrush</FONT></DIV> <DIV><FONT face=3DArial size=3D2>ReleaseDC for GetDC</FONT></DIV> <DIV><FONT face=3DArial size=3D2>DestroyMenu for = CreatePopupMenu</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>and if so, would</FONT><FONT = face=3DArial size=3D2> a=20 customized attachCleanUp( )</FONT> <FONT face=3DArial size=3D2>be = the route to=20 take for this?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I am saveing the LoadLibraryA functions = in sequence=20 to later Free them</FONT></DIV> <DIV><FONT face=3DArial size=3D2>but am at odds as to the rest, I think = I need to=20 save every loaded/created</FONT></DIV> <DIV><FONT face=3DArial size=3D2>instance and upon destroy of my = mainWindow=20 release/free them.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Any suggestions or is this something = that's in the=20 works for the Library?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2><A=20 ------=_NextPart_000_001A_01C06EA1.5DC5AD80--