🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: include TForm into ShellExtensionDLL

#11357
From: nik
Date: Sun, 15 Feb 2004 00:24
26 lines
1792 bytes
> > 1) is it possible to include a TForm object into a dll-file.
>
> Yes, with some care, though.
>
> > is it enough to add a form to the project and then use
> > __createForm();
>
> Do not use CreateForm().  Use the 'new' operator instead.


Is there a difference if I include a TForm object into the ShellExtensionDLL
or into a normal DLL?
If yes, should I put the Form into a seperate dll file?  which steps do I
have to follow?
I want to design the form with the IDE, I don't want to create it
dynamically!

I tried to use the 'new' operator. Which handle should I use as the
representation for the ParentApplication?
Contrary I tried createForm() and it works a bit. The systemMenu foe example
doesn't react if I click the close button. That's what you meant with "with
some care"?


have a nice day guys
nik
Technical Details
Message-ID: <402ebc24$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <402baeac$1@newsgroups.borland.com> <402bcd77$3@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-14 16:39:12 PST
From: "nik" <neusser@okstate.edu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <402baeac$1@newsgroups.borland.com> <402bcd77$3@newsgroups.borland.com>
Subject: Re: include TForm into ShellExtensionDLL
Date: Sat, 14 Feb 2004 18:24:03 -0600
Lines: 28
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.135
Message-ID: <402ebc24$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076804644 139.78.92.135 (14 Feb 2004 16:24:04 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail