Re: Win32Lib *(Free,Delete,Release)*
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Dec 26, 2000
- 539 views
------=_NextPart_000_004C_01C06F27.714C3000 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I can add these to the library. I'll put them into the ToDo list. ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot) ----- Original Message -----=20 From: Euman=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Tuesday, December 26, 2000 10:34 AM Subject: Win32Lib *(Free,Delete,Release)* 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_004C_01C06F27.714C3000 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I can add these to the library. I'll = put them into=20 the ToDo list.</FONT></DIV> <DIV> </DIV> <DIV>------<BR>Derek Parnell<BR>Melbourne, Australia<BR>(Vote [1] The = Cheshire=20 Cat for Internet Mascot)<BR></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Deuman at BELLSOUTH.NET = href=3D"mailto:euman at BELLSOUTH.NET">Euman</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DEUPHORIA at LISTSERV.MUOHIO.EDU=20 = </A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, December 26, = 2000 10:34=20 AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Win32Lib=20 *(Free,Delete,Release)*</DIV> <DIV><BR></DIV> <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=20 to take for this?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I am saveing the LoadLibraryA = functions in=20 sequence 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=20 the works for the Library?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2><A=20 = ------=_NextPart_000_004C_01C06F27.714C3000--