1 //printf("进入到main函数,数据库相关程序\n\n");
 2     //第一步:初始化数据库
 3     int a=  gsz_data_inti(&g_data_pIDBInitialize,  &g_data_pIDBProperties);
 4     printf("进入到main函数,dsc\n\n");
 5     class_Log::Write(_T("初始化winsock2.2相关的动态库,成功 "));
 6 
 7     //第二步:插入数据
 8     time_t begin;
 9     time(&begin);
10     gsz_FastLoadData(&g_data_pIDBInitialize);
11     time_t end;
12     time(&end);
13     printf("Elapse Time= [%lld]\n", end - begin);
14     system("pause");
15      
16 
17 
18     //第三步:释放数据库
19     int b = gsz_data_release(&g_data_pIDBInitialize, &g_data_pIDBProperties);
20     printf("释放数据库:%d\n", b);
21      

单独运行没有问题

 

在Main里面

相关文章:

  • 2022-12-23
  • 2021-10-24
  • 2021-05-31
  • 2021-06-26
  • 2022-12-23
  • 2021-05-24
  • 2021-06-23
  • 2021-11-22
猜你喜欢
  • 2021-12-04
  • 2021-11-07
  • 2021-09-17
  • 2021-05-11
  • 2022-01-21
  • 2022-12-23
相关资源
相似解决方案