C++普通实际操作函数.docVIP

  • 0
  • 0
  • 约2.14万字
  • 约 20页
  • 2019-10-19 发布于安徽
  • 举报
/ C++常用操作函数 载入动态库 bool LoadDll() { HttpDownDll = LoadLibrary(HTTPDOWNDLL.dll); if(HttpDownDll == NULL) { MessageBox(0, 载?入?动ˉ态?库a错洙?误ó!?, 错洙?误ó, MB_OK|MB_ICONWARNING); FreeLibrary(HttpDownDll); return false; } SendCommand = (SendCommandFunc)GetProcAddress(HttpDownDll, SendCommand); if(SendCommand == NULL) { MessageBox(0, GetProcAddress错洙?误ó!?, 错洙?误ó, MB_OK|MB_ICONWARNING); FreeLibrary(HttpDownDll); return false; } return true; } 卸载动态库 bool FreeDll() { FreeLibrary(HttpDownDll); SendCommand = NULL; return true; } 字符串分割 std::vectorstd::string split(std::string str,std::st

文档评论(0)

1亿VIP精品文档

相关文档