|
#pragma once
class CUtility
{
public:
static CString GetModulePath(HMODULE hModule = NULL);
static BOOL IsFileExist(LPCTSTR lpszFilePath);
static BOOL ExtractResourceToFile( LPCTSTR lpszType
, UINT nResID
, LPCTSTR lpszFilename
, HMODULE hModule
);
static Image * LoadImage( UINT nID, LPCTSTR lpszType, HINSTANCE hInstance = NULL);
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Jerry is from China. He was captivated by computer programming since 13 years old when first time played with Q-Basic.
- Windows / Linux & C++
- iOS & Obj-C
- .Net & C#
- Flex/Flash & ActionScript
- HTML / CSS / Javascript
- Gaming Server programming / video, audio processing / image & graphics
Contact: vcer(at)qq.com
Chinese Blog: http://blog.csdn.net/wangjia184