extern "C" MMUPDATENOTIFY_IMPEXP bool _cdecl NotifyThrift(char* chThriftIp, char* chPor)

HINSTANCE hInst;
CString strPath = _T("E:\\XXX\\MmUpdateNotify.dll");
hInst = LoadLibrary(strPath);
if(hInst != NULL)
{
typedef bool(*Proc)(char* strIp, char* strPort);
Proc p = (Proc)GetProcAddress(hInst, "NotifyThrift");
if(!p)
{
AfxMessageBox(_T("获取地址失败"));
return;
}
bool bVal = p("127.0.0.1", "9090");
}

FreeLibrary(hInst);

最新文章

  1. PHP发送和接收POST数据
  2. 反射中getMethods 与 getDeclaredMethods 的区别
  3. 老生常谈的Hibernate二级缓存
  4. Codeforces Round #248 (Div. 2)C 题
  5. <转>Python运行的17个时新手常见错误小结
  6. Spark系列(五)Master主备切换机制
  7. (转载)研究openvswitch的流量模式
  8. [转]Android DPAD not enabled in AVD
  9. 一些关于poi导入的样例
  10. Spring+SpringMVC+MyBatis+easyUI整合基础篇(九)版本控制
  11. [LeetCode] 链表反转相关题目
  12. Windows Server2003本地用户的批量导入和导出(转)
  13. Ajax——从服务器获取各种文件
  14. hihoCoder 1233 : Boxes(盒子)
  15. Centos7下python3安装pip-9.0.1
  16. Educational Codeforces Round 25 B. Five-In-a-Row
  17. unity接入安卓sdk (unity调用安卓工程)
  18. Python爬虫模拟登录带验证码网站
  19. PL/SQL TOAD 不安装Oracle客户端连接数据库的方法
  20. 利用find同时查找多种类型文件

热门文章

  1. 【BZOJ1110】[POI2007]砝码Odw 贪心
  2. EasyPusher手机直播推送是如何实现后台直播推送的
  3. WEBRTC开发入门
  4. leetcode题目解答报告(1)
  5. java会不会出现内存泄露
  6. Java笔记之利用反射访问或修改private成员
  7. [自动化平台系列] - 初次使用 Macaca-前端自动化测试(3)
  8. Mall电商项目总结(一)——项目概述
  9. selenium使用笔记(一)——selenium你该知道的
  10. ansible安全优化建议