🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2531

Re: Server Socket DLL again

#2531
From: Remy Lebeau (TeamB)
Date: Sat, 18 Mar 2006 08:51
29 lines
1883 bytes
"Colin B Maharaj" <noreply@myhost.com> wrote in message
news:441b5f81@newsgroups.borland.com...

> The call back function has parameters, including a
> TMemoryStream pointer and TStringList pointer.

Those are VCL objects, which use the VCL memory manager internally.  In
order to share VCL objects between the DLL and the Application, and to
ensure that the same memory manager is being used for both, you should make
a Package instead of a DLL.  A Package is a special kind of DLL that has
built-in VCL support.

> You see the calling application that is opening the DLL, has a
> routine with command line parameters that must be called by
> the server DLL.
>
> But in doing so, it causes access violations.

Please show your actual code.

> I there anyway That I can create content in the called routine that
> exists in a BCB3 project but is being called in a BCB6 DLL??

What EXACTLY are you trying to accomplish to begin with?  Please provide
more details.


Gambit
Technical Details
Message-ID: <441bcb93$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <441b5f81@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2526fbecaea5ac24
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <441b5f81@newsgroups.borland.com>
Subject: Re: Server Socket DLL again
Date: Sat, 18 Mar 2006 00:51:11 -0800
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <441bcb93$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142672275 68.69.17.41 (18 Mar 2006 00:57:55 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail