Re: ADOX - Import type library into Delphi 2007
- From: "Vitali Kalinin" <vitkalinin@xxxxxxxxx>
- Date: Tue, 20 May 2008 11:07:51 +0300
Now I am see what you problem is. Just uncheck generate component wrappers
checkbox in import dialog. You don't need it as components, use it as is -
through interfaces. In MSDN you will find detailed development reference. To
instantinate root object Catalog you could use this code snippet:
function CreateCatalog(Source : TADOConnection) : _Catalog;
begin
Result := CoCatalog.Create;
Result.Set_ActiveConnection(ADOConnection.ConnectionObject);
end;
.
- Follow-Ups:
- Re: ADOX - Import type library into Delphi 2007
- From: Pontus Berg
- Re: ADOX - Import type library into Delphi 2007
- From: AlexB
- Re: ADOX - Import type library into Delphi 2007
- References:
- ADOX - Import type library into Delphi 2007
- From: Pontus Berg
- Re: ADOX - Import type library into Delphi 2007
- From: Vitali Kalinin
- Re: ADOX - Import type library into Delphi 2007
- From: Pontus Berg
- ADOX - Import type library into Delphi 2007
- Prev by Date: Re: ADOX - Import type library into Delphi 2007
- Next by Date: Re: Append and post - with standardvalues
- Previous by thread: Re: ADOX - Import type library into Delphi 2007
- Next by thread: Re: ADOX - Import type library into Delphi 2007
- Index(es):