Re: Ado inside dll ?



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



Relevant Pages

  • Ado inside dll ?
    ... Is it possible to use Ado component with dynamical creation inside Dll? ... I try it and i get ActiveX error when i create component! ...
    (borland.public.delphi.database.ado)
  • Re: Java Applet Funktionalität in ASP.Net
    ... Ja indem du per Tag eine dotnet dll einbindest, ... Programmierung, also Applets, ActiveX, einschließlich javascript. ... ..NET Framework basierende Komponente" ist also keineswegs unsicherer. ... Packe dein Windows Formular in eine Windows Control Library, ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: why some dlls are scriptable and some are not?
    ... which is the same as ActiveX. ... So a COM DLL is also an ActiveX DLL. ... through its "OLE" functions to read type libraries. ... An object browser shows the methods and properties ...
    (microsoft.public.scripting.vbscript)
  • Re: Java Applet Funktionalität in ASP.Net
    ... >> Applets in normalen HTML Seiten hinzubekommen? ... > Packe dein Windows Formular in eine Windows Control Library, ... > du eine DLL. ... Bei ActiveX wird ja auch local beim Client was installiert, ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: Using a C++ Win32 DLL internally in an ActiveX deployed on a webpage
    ... A quick and dirty solution would be to dump the dll into the ... Active-X control is being installed. ... Can an MFC ActiveX control use a C++ DLL internally to process ... control on the client machine, ...
    (microsoft.public.vc.mfc)