Re: Ado inside dll ?
- From: "Y.Lafargue" <contact-us@xxxxxxxxxxx>
- Date: Sat, 28 Jan 2006 18:31:43 +0100
Thanks, so what does CoInitialize and CoUninitialize ?
--
Yannick
"Brad Prendergast" <format('bradp%sbpsoftware.com',['@'])> a écrit dans le
message de news:xn0ehrksda7frz000@xxxxxxxxxxxxxxxxxxxxxxxxx
> Y.Lafargue <contact-us@xxxxxxxxxxx> wrote in message
> <43db73e8$1@xxxxxxxxxxxxxxxxxxxxxx>:
>
> > Hi,
> >
> > Is it possible to use Ado component with dynamical creation inside
> > Dll ?
> >
> > I try it and i get ActiveX error when i create component ! the same
> > code run fine in a Tform....
> >
> > have you some information to do it ?
> >
> > Best regards
> > Yannick
> > www.ly-asds.com/MyQvoip.htm
> > www.ly-asds.com/MyQsql.htm
>
> In your DLL:
>
> uses
> ActiveX
>
>
> CoInitialize(nil);
> try
> //Create form etc...
> finally
> CoUninitialize;
> end;
>
> --
> Brad Prendergast
> "The only difference between me and a madman is that I'm not mad." --
> Salvador Dali (1904 - 1989)
.
- Follow-Ups:
- Re: Ado inside dll ?
- From: Brian Bushay TeamB
- Re: Ado inside dll ?
- From: Brad Prendergast
- Re: Ado inside dll ?
- References:
- Ado inside dll ?
- From: Y.Lafargue
- Re: Ado inside dll ?
- From: Brad Prendergast
- Ado inside dll ?
- Prev by Date: Re: SQL statement contain " character
- Next by Date: Re: SQL statement contain " character
- Previous by thread: Re: Ado inside dll ?
- Next by thread: Re: Ado inside dll ?
- Index(es):