🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.oodesign
Article #57

Class in a DLL

#57
From: Colin B Maharaj
Date: Fri, 06 May 2005 09:29
18 lines
1773 bytes
Hi all I have huge app in v3 of BCB and need to "move" it to v6, BUT, I 
also want to have most of the functionality of the old app declared in a 
class so I can instantiate it multiple times. AND....

I am thinking of doing this via a DLL.
Basically I have separated my app into the visual part and the 
non-visual part and I am moving all the non-visual code (core 
functionallity) to v6 BCB.

Now, is there some way that I can then call this code , which I want to 
put in a DLL and instantiate multiple instances of the classes in the DLL.

AND I am then going to write a websnap interface to control the app and 
edit tables and non-tabular data (ini settings) that are in this DLL.

Does this sound too complicated?
Any advice would be nice?
Thanks....
Technical Details
Message-ID: <427b38fd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10db1e,4508b613cdd64647,start
X-Google-Attributes: gid10db1e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 06 May 2005 05:29:33 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040927
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.oodesign
Subject: Class in a DLL
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.108.25.133
Message-ID: <427b38fd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115371773 200.108.25.133 (6 May 2005 02:29:33 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail