No, thats only required for sharing long strings. Hmm. maybe it is.
I will have another look at it later.
On 31 Aug 99 at 16:02, Myles Penlington wrote:
> It's not the problem of NOT including the Borland shared Memory Manager if
> strings are being used?
> in the DLL uses statements??
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 01, 1999 3:49 AM
> > To: Multiple recipients of list delphi
> > Subject: Re: [DUG]: Forms from DLLs
> >
> > We couldnt get it working either. We put it down to access problems
> > with the memory between the DLL and the EXE.
> >
> > On 31 Aug 99 at 12:46, Steven Wild wrote:
> >
> > > We have created a DLL containing a form with a DBGrid and associated
> > > datasource. A procedure is called in the DLL which returns a pointer to
> >
> > > the form. This form is then displayed on a page of a pageControl on the
> >
> > > calling application. When a button is pressed on the DLL form the
> > > datasource is associated with a table on the host form (using the parent
> >
> > > property to identify the form and then looking at that forms components
> > > to identify the table). This Works.
> > >
> > > A second button opens the table, if the table contains 0 records all is
> > > well and the table fields appear. If the table contains data an
> > exception is
> > > caused (we see part of the first record). This does not occur if the
> > table
> > > is already open when the DLL attaches. Any Ideas?
> > >
> > > If the table is closed when the DLL form is attached and the parent form
> >
> > > opens the table the same error occurs.
> > >
> > > We suspect that it is associated with changing the table state but are
> > > uncertain. We really want the functionality that this would give us if
> > it
> > > works!
> > >
> > > Any ideas?
> > >
> > --------------------------------------------------------------------------
> > -
> > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> > >
> > Rohit
> >
> > ======================================================================
> > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
> > PH (649) 489-2280
> > FX (649) 489-2290
> > email [EMAIL PROTECTED] or [EMAIL PROTECTED]
> > ======================================================================
> >
> > --------------------------------------------------------------------------
> > -
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz