Page 1 of 1

Problems installing driver

Posted: Thu 07 Aug 2008 09:17
by CCostelloe
I installed the trial driver (downloaded yesterday) and am trying to use it in a CBuilder project in CodeGear RAD Studio 2007 11.0.2804.9245. While loading the driver dbexpida40.dll I get an exception "DBXError: NotSupported", which I traced into DBXDynalink.pas:

ErrorMessageBuilder := TDBXPlatform.CreateWideStringBuilder(256);
try
ErrorResult := FMethodTable.FDBXLoader_GetDriver(Count, Names, Values,
TDBXWideStringBuilder(ErrorMessageBuilder),
FDriverHandle);

if ErrorResult TDBXErrorCodes.None then
begin
TDBXPlatform.CopyWideStringBuilder(ErrorMessageBuilder, ErrorMessage);

DriverDef.FDBXContext.Error(ErrorResult, ErrorMessage);
end;
finally
TDBXPlatform.FreeAndNilWideStringBuilder(ErrorMessageBuilder);
end;

ErrorResult is set to 5 by FMethodTable.FDBXLoader_GetDriver, and the exception is thrown. Any ideas as to what is the problem?

gds32.dll is 8.1.0.257.

Ciaran

Posted: Mon 11 Aug 2008 09:32
by Plash
Try to install the latest Update Pack for CodeGear RAD Studio.