GetProcedureSources Error

GetProcedureSources Error

Postby danieldummer » Fri 23 Nov 2007 18:55

I'm trying to read the stored procedure's source using the corelab's interbase dbxpress driver, but it always raises a exception:

'Access violation at address 02E1FC9C in module 'dbexpida40.dll'. Read of address 00000008'

Code: Select all
      Dataset := TSQLDataSet.Create(nil);
      With DataSet do
      try
        SQLConnection := FConnection;

        DbxCommandType := TDBXCommandTypes.DbxMetaData;
        CommandText    := TDBXMetaDataCommandsEx.GetProcedureSources;
        Active         := True;  // here raises the exception

        .....

      finally
        Free;
      end;


I believe there's a problem in the driver.

Anyone can help me?

Thanks,
Daniel Dummer
danieldummer
 
Posts: 3
Joined: Fri 23 Nov 2007 18:45

Postby Plash » Mon 26 Nov 2007 12:28

The current version of DbxIda does not support TSQLDataSet component with DbxCommandType = DbxMetaData. In the next build we'll add such support.

But DbxIda supports only metadata types from TDBXMetaDataCommands. It does not support types from TDBXMetaDataCommandsEx. So with the next build of DbxIda you will be able to open metadata like TDBXMetaDataCommands.GetProcedures. But TDBXMetaDataCommandsEx.GetProcedureSources will not be available.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09


Return to dbExpress driver for InterBase & Firebird