2:

ODBC

, DSN Access. , , , - db1.mdb.

   #include <sysutils.hpp>

   WORD fRequest = ODBC_ADD_SYS_DSN;
   UCHAR lpszDriver[] = "Microsoft Access Driver (*.mdb)";
   UCHAR lpszAttributes[255] = "DSN=c2a;DBQ=";
   bool retCode;
   AnsiString CurDir;

   CurDir = GetCurrentDir();
   StrCat(lpszAttributes, CurDir.c_str());
   StrCat(lpszAttributes, "\\db1.mdb");
   retCode = SQLConfigDataSource(NULL, fRequest, lpszDriver, lpszAttributes);
   if (retCode == true)
      Application -> MessageBox("DSN  ", "", MB_OK);
   else
   {
      Application -> MessageBox("     DSN",
           "", MB_OK);
   }

, . - . . .

: DSN , , DSN .


, , - . , , . , .





 01.03.2021 - 06:31: - Personalias -> WHO IS WHO - - _.
28.02.2021 - 21:33: , , - Upbringing, Inlightening, Education -> - _.
28.02.2021 - 18:56: , - War, Politics and Science -> - _.
28.02.2021 - 18:55: , , - Upbringing, Inlightening, Education -> - _.
28.02.2021 - 18:55: - Theorizing and Mathematical Design -> - - _.
28.02.2021 - 18:54: - Conscience -> - _.
28.02.2021 - 18:54: , - War, Politics and Science -> - _.
27.02.2021 - 19:35: , , - Upbringing, Inlightening, Education -> - _.
27.02.2021 - 18:43: - Economy and Finances -> - _.
27.02.2021 - 18:42: - Ecology -> - _.
27.02.2021 - 18:42: - Conscience -> . ? - _.
27.02.2021 - 18:41: - Economy and Finances -> - _.
Bourabai Research -  XXI Bourabai Research Institution