Re: DLL calling a form using JvPlugIn

Eduardo Rocha <[email protected]> Tue, 1 Feb 2005 16:31:16 -0200
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <[email protected]>
Hi Tom, tks for your answer. I dont understand your answer. Where I
need to put this code

> initialization
>   CoInitialize(nil);
> 
> finalization
>   CoUnInitialize;

-- I try to put --
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, TeeProcs, TeEngine, Chart, Buttons,
Series,StdCtrls, ComOBJ, ComCtrls, Menus, ShareMem, DB, DBClient,
MConnect, SConnect, ADODB;
{here}

implementation
{here}
{$R *.dfm}
{and here}

i dont had success... :((

Where i put?? I need to declare others units??


tks for help me
On Tue, 1 Feb 2005 18:06:55 -0000, Tom Conlon <[email protected]> wrote:
> Hi Erocha,
> 
> You probably have forgotten to call CoInitialise/CoUnInitialise.
> 
> Try:
> 
> initialization
>   CoInitialize(nil);
> 
> finalization
>   CoUnInitialize;
> 
> Tom
> 
> > -----Original Message-----
> > From: erocha_copd [mailto:[email protected]]
> > Sent: 31 January 2005 16:46
> > To: [email protected]
> > Subject: [Delphi-JEDI] DLL calling a form using JvPlugIn
> >
> >
> >
> > I'm using JvPlugin using DLL. My DLL has a form and, when a put a
> > ADOQuery component this dll return a problem to creat the form. I
> > tryed to make many method without sucess.
> >
> > I'm using Delphi 7 and JEDI Version 3. Any know if have an
> > incompatibility between JEDI and ADOQuery??
> >
> > Sorry my poor english, but i'm brazilian and i dont write english
> > well.
> >
> > tks for any help
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 


-- 

Eduardo Rocha
www.eduardorocha.com
[email protected]


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Delphi-JEDI/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/