🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Working with DLL and Forms

#12194
From: Todd Brylski
Date: Sat, 20 Dec 2003 09:37
24 lines
1980 bytes
"Colin Maharaj" <cbm@cablenett.net> wrote in message news:3FE23193.179D1EF1@cablenett.net...
> OK, don't answer this one, I removed the DLL and restarted the
> application and got the error that shows up that a DLL is missing. So
> most likely the DLL is loaded on application start.
>
> So now I am going to load the DLL dynamically without linking to the LIB
> file.
>
> Did it! BUT I am now seeing a Taskbar entry for the form (in the DLL) is
> showing next to the main application's taskbar label.
>
> Question: How do I NOT show a taskbar entry for this DLLed form.


Make sure your Application and your DLL are both built
with both of these options checked:

Project->Options->Packages: Build with runtime packages
Project->Options->Linker: Use dynamic RTL

If you don't you will have two separate Application instances
and two separate memory managers and things will not work correctly.

Todd
Technical Details
Message-ID: <3fe4183f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3FE224B6.2B0DAB08@cablenett.net> <3FE23193.179D1EF1@cablenett.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,892efeae4592edc1
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-20 01:39:17 PST
From: "Todd Brylski" <tbrylski@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3FE224B6.2B0DAB08@cablenett.net> <3FE23193.179D1EF1@cablenett.net>
Subject: Re: Working with DLL and Forms
Date: Sat, 20 Dec 2003 03:37:42 -0600
Lines: 26
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: 24.166.145.151
Message-ID: <3fe4183f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071913023 24.166.145.151 (20 Dec 2003 01:37:03 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail