TADoDataset.Recordset.Datasource

From: Neil (firstname_at_ggpsystems.co.uk)
Date: 12/10/03


Date: Wed, 10 Dec 2003 12:32:00 -0000

What interfaces does TADODataset.Recordset.Datasource support?

>From the msdn literature it looks like it should be an IRowset (as defined
in oledb.pas) however

  Rowset := ADODataset1.Recordset.DataSource as IRowset;

where Rowset is an IRowset returns an Interface not supported error.

In fact iterating through all the GUIDs in OLEDB:

  for i := Low(GuidArr) to High(GuidArr) do
  begin
    if Supports(AdoDataset1.Recordset.Datasource, GuidArr[i], Quack) then
      ShowMessage(GUIDToString(GuidArr[i]));
  end;

where Quack is IUnknown

suggests that it doesn't support any of them.

Any ideas where i'm going wrong?

Thanks



Relevant Pages

  • kernel panic when running tcpdump
    ... # Firmware Drivers ... # Other IDE chipsets support ... most of these also require special kernel boot parameters ... # Userland interfaces ...
    (Linux-Kernel)
  • Re: Detecting support for event types
    ... Perhaps I need to use hasFeature first, ... interfaces where the module itself isn't supported, ... figure it's more likely browsers will pretend to support modules than ... dispatch being successful and the dispatch will fail then the DOM ...
    (comp.lang.javascript)
  • RE: Get url for pdf file from AxSHDocVw.AxWebBrowser
    ... I would like to try other interfaces. ... I want to try to just save the pdf file, how can I get the web brower ... Microsoft Online Community Support ... nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.dotnet.languages.vb)
  • Re: GUIFFY 5.2 compare/merge released
    ... Guiffy is the advanced cross-platform compare/merge. ... 3-way smart, "SureMerge", interfaces. ... Guiffy's compare views include Inline diff highlighting. ... Comes with builtin UNICODE and MBCS support. ...
    (comp.os.linux.announce)
  • Re: OOP Aggregation
    ... synthetically add support for new interfaces into an existing instance (that ... didn't support aggregation). ... override various bits of functionality, but the 'plugging in' doesn't occur ... > pointers and metadata pointers to point to the new classes ones. ...
    (microsoft.public.dotnet.languages.csharp)