通过另一程序调用 dll, 在 MFC 创建的 dll 中有一个 theApp 变量,我希望得到 theApp.m_hInstance我在调用的程序中试了 AfxGetApp()->m_hInstance, AfxGetInstanceHandle(), AfxGetResourceHandle(), GetCurrentProcess(), GetCurrentThreadId(), 结果发现与 dll 里的还是不一样。请问通过那个函数可以得到。
调试欢乐多
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货