이 항목은 아직 평가되지 않았습니다.- 이 항목 평가

AfxSetResourceHandle

Use this function to set the HINSTANCE handle that determines where the default resources of the application are loaded.

void AFXAPI AfxSetResourceHandle(
   HINSTANCE hInstResource 
); 
hInstResource

The instance or module handle to an .EXE or DLL file from which the application's resources are loaded.


// This code is taken from CMyApp::InitInstance
HINSTANCE hRes = NULL;
hRes = LoadLibrary(_T("Resource.dll"));
if(hRes)
   AfxSetResourceHandle(hRes);


Header: afxwin.h

이 정보가 도움이 되었습니까?
(1500자 남음)
커뮤니티 콘텐츠 추가