|
<< Click to Display Table of Contents >> C Examples: DbiGetLdNameFromDb |
![]() ![]()
|
Obtain the name of the language driver for the (C++Builder) TDatabase component Database1 and display its name in a dialog box.
void __fastcall TForm1::Button2Click(TObject *Sender)
{
char* LName;
if (DbiGetLdNameFromDb(Database1->Handle, NULL, LName) == DBIERR_NONE)
ShowMessage(LName);
else
ShowMessage("No-go");
}