Thanks Jeremy ... I'll have a go; seems intuitive enough.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 26 March 2001 23:38
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Passing DB Objects between DLLs


Hi I do this with a VB applicaton and a Delphi Activex dll.
Basically you are right, what I did was at the active x end, I had an
OLEVARIENT called DBObj.
when alled the activex dll, I passed the reference to the DB.

i.e
   OpendOCXDLL(Table)

at the activex dll end, the :-

procedure OpendOCXDLL(Table:OLEVARIENT);
var
  DB : OLEVARIENT;
begin
  DB := Table;
  DB.FieldByName('Name').asstring;
end;

Think...from memorory...this is how I did it. H
Hope it helps a little bit.

Jeremy Coulter


 
 
 

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to