Subject | [IBO] Error reading TIB_Connection->Characteristics in C++Builder 5 |
---|---|
Author | Enrico Raviglione |
Post date | 2004-04-17T17:01:51Z |
Hi to all,
i try to assign MyTIBConnection->Characteristics.dbVersion to a
AnsiString variable but at run time appear an Error like this:
Access violation at address xxxxxx in module 'VCL50.BPL'. Read of
address xxxxx.
If i debug the application i can inspect correctly the property
MyTIBConnection->Characteristics and see all the values for dbVersion,
dbForced_Writes, dbODS_Minor_Version, dbODS_Version, etc...
Here an example of my C++ code:
TIB_Connection * AConnection = MainDM->ConnectionIdeaDB;
String ver;
ver = AConnection->Characteristics.dbVersion; <== Here
appear the error!
DBServer->Caption = "Database Server: " + ver;
etc...
Best regards,
Enrico Raviglione.
i try to assign MyTIBConnection->Characteristics.dbVersion to a
AnsiString variable but at run time appear an Error like this:
Access violation at address xxxxxx in module 'VCL50.BPL'. Read of
address xxxxx.
If i debug the application i can inspect correctly the property
MyTIBConnection->Characteristics and see all the values for dbVersion,
dbForced_Writes, dbODS_Minor_Version, dbODS_Version, etc...
Here an example of my C++ code:
TIB_Connection * AConnection = MainDM->ConnectionIdeaDB;
String ver;
ver = AConnection->Characteristics.dbVersion; <== Here
appear the error!
DBServer->Caption = "Database Server: " + ver;
etc...
Best regards,
Enrico Raviglione.