🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: fetch commando argument - multiple files

#11444
From: nik
Date: Wed, 11 Feb 2004 21:51
30 lines
2190 bytes
Hi,
1) is it possible to include a TForm object into a dll-file. I want to be
able to show this form after the user chose one of my menuitems?
is it enough to add a form to the project and then use
__createForm();
Form1->Show();    to create and show the form

and finally
delete Form1;        to free the memory again???

2) is there a tool that can show the current memory usage of my dll file?
(Like the taskmanager does it for normal exe file.)

thanks again
nik

> > can you tell me, what steps I have to follow in order to  install
> > a Shell Extension DLL as you described it?
>
> You have to write the actual DLL first.  You need to implement the
> IContextMenu and IShellExtInit interfaces.  The ITEMIDLIST pointers for
all
> of the currently selected files is passed inside of an IDataObject
interface
> to the IShellExtInit::Initialize() method.  You need to extract the
filename
> from that and store them for later use.  Then the IContextMenu interface
is
> used for updating the visual popup menu and determining what operation the
> user chooses.
Technical Details
Message-ID: <402aa406@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <401dd9bc@newsgroups.borland.com> <401deae8@newsgroups.borland.com> <40200434$1@newsgroups.borland.com> <40201123@newsgroups.borland.com> <402023c1@newsgroups.borland.com> <40202ef8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5c52809e13a7bad5
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-11 14:06:48 PST
From: "nik" <neusser@okstate.edu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <401dd9bc@newsgroups.borland.com> <401deae8@newsgroups.borland.com> <40200434$1@newsgroups.borland.com> <40201123@newsgroups.borland.com> <402023c1@newsgroups.borland.com> <40202ef8@newsgroups.borland.com>
Subject: Re: fetch commando argument - multiple files
Date: Wed, 11 Feb 2004 15:51:57 -0600
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 139.78.92.68
Message-ID: <402aa406@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076536326 139.78.92.68 (11 Feb 2004 13:52:06 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail