test
来源:互联网 发布:apache poi android 编辑:程序博客网 时间:2024/06/02 03:47
// for loopfor(int i=0; i<100; ++i){ Sleep(100);}
void CRTIPLMFCDlg::OnResize(){ // TODO: Add your control notification handler code here HMODULE hDll = LoadLibrary("RTIPL.dll"); if(hDll) { PFN_RtImResize pfnResize =(PFN_RtImResize)(GetProcAddress(hDll, "RtImResize")); if(pfnResize) { pfnResize("powercap.jpg", 0.9, "test1.jpg"); } else { AfxMessageBox(_T("Cannot get proc address")); } } else { AfxMessageBox(_T("Load dll failed")); } FreeLibrary(hDll); AfxMessageBox(_T("Resize done"));}