🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11372

Re: include TForm into ShellExtensionDLL

#11372
From: nik
Date: Mon, 16 Feb 2004 18:29
18 lines
1632 bytes
hey,
How do I have to free the memory after the use of the Form, i.e. after I don't need the form any more.

* does Form->Close(); do the job for me sufficiently?
* do I have to use delete Form; ? If yes, where should I insert the code?

have a nice day
nik


> include a TForm object intot the ShellExtensionDLL

>> I tried to use the 'new' operator. Which handle should I
>> use as the representation for the ParentApplication?

>You don't, so use NULL.  Unless the DLL is provided with an HWND from the OS
>that should be used, which is not the case for menu handlers.
Technical Details
Message-ID: <40310c11$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nx02.iad01.newshosting.com!newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <402baeac$1@newsgroups.borland.com> <402bcd77$3@newsgroups.borland.com> <402ebc24$1@newsgroups.borland.com> <402ec23f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,12d8f10b74656960
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-16 10:40:18 PST
From: "nik" <neusser@okstate.edu>
Sender: "nik" <neusser@okstate.edu>
Reply-To: "nik" <neusser@okstate.edu>
Subject: Re: include TForm into ShellExtensionDLL
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 139.78.97.189     
References: <402baeac$1@newsgroups.borland.com> <402bcd77$3@newsgroups.borland.com> <402ebc24$1@newsgroups.borland.com> <402ec23f$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40310c11$1@newsgroups.borland.com>
Date: 16 Feb 2004 10:29:37 -0800
X-Trace: newsgroups.borland.com 1076956177 207.105.83.66 (16 Feb 2004 10:29:37 -0800)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nx02.iad01.newshosting.com!newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail