调用DLL开启线程的问题
错误的编写方式:(注意用感叹号夹起来的两行)在::FreeLibrary(hPro);这一行代码执行之后,dll里面的分配的内存空间就会全部被释放掉,所以会报“帧不在模块之中”,“内存访问错误”之类的错误。void CMFCApplication2Dlg::OnBnClickedOk(){//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HINSTANCE hPro = ::L..