18 lines
372 B
C++
18 lines
372 B
C++
#include "base/HGDef.h"
|
|
#include "base/HGInc.h"
|
|
#include "../HGPdtToolDb/HGPdtToolDb.h"
|
|
|
|
int main()
|
|
{
|
|
HGPdtToolDbUserMgr userMgr = NULL;
|
|
HGPdtToolDb_CreateUserMgr("127.0.0.1", 3306, "huago", "huago", &userMgr);
|
|
if (NULL != userMgr)
|
|
{
|
|
HGPdtToolDb_Export(userMgr, "D:\\1.xls");
|
|
|
|
HGPdtToolDb_DestroyUserMgr(userMgr);
|
|
}
|
|
|
|
return 0;
|
|
}
|