C Examples: DbiGetLdName

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiGetLdName

Return to chapter overview

Obtain the current dBASE language driver and display its name in a dialog box. (This example pertains to C++Builder and its VCL classes).

 

void __fastcall TForm1::Button1Click(TObject *Sender)

{

  char* LName;

  if (DbiGetLdName(szDBASE, NULL, LName) == DBIERR_NONE)

    ShowMessage(LName);

  else

    ShowMessage("No-go");

}