摘要: desc tab;insert into tablename values(t1, t2); 阅读全文
posted @ 2013-07-16 17:41 呵呵·· 阅读(111) 评论(0) 推荐(0) 编辑
摘要: CFileFind OneFile; BOOL bWorking = FALSE; long total = 0; if (strPath.Right(1) != "\\") { strPath += "\\*.*"; } bWorking = OneFile.FindFile(strPath); while (bWorking) { bWorking = OneFile.FindNextFile(); if (OneFile.IsDirectory() && !OneFile.IsDots())... 阅读全文
posted @ 2013-07-16 16:46 呵呵·· 阅读(236) 评论(0) 推荐(0) 编辑
摘要: #define FUNC_ADDR(hDll, func) pf##func func = \(pf##func)GetProcAddress(hDll,#func);\if(! func) {\AfxMessageBox("GetAddrErr"#func);\}HMODULE hDll = LoadLibrary("InvoicePrintMP512.dll");if(!hDll) {AfxMessageBox("LoadErr");}FUNC_ADDR(hDll, OpenDevice)FUNC_ADDR(hDll, Close 阅读全文
posted @ 2013-07-16 12:02 呵呵·· 阅读(292) 评论(0) 推荐(0) 编辑