I knocked together a simple test project plus dll at lunchtime that
seems to work, but maybe I'm doing something different?  I'll email it
to you if you want... or I'll refine it further when I have time.

Cheers,

Carl Reynolds                      Ph: +64-9-4154790
CJN Technologies Ltd.             Fax: +64-9-4154791
[EMAIL PROTECTED]                DDI: +64-9-4154795
PO Box 302-278, North Harbour, Auckland, New Zealand
12 Piermark Drive, North Harbour Estate, Auckland, NZ
Visit our website at http://www.cjntech.co.nz/

> -----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

application/ms-tnef

Reply via email to