搜索资源列表
writeres
- This console application shows how to bake resources into console applications. The sample also demonstrates using FindResource(), LockResource(), FreeResource(), and SizeofResource() APIs to access the bytes in the image resources directly. The samp
PlaySound
- 从资源文件中,载入音声,图片等,并播放声音,或者显示 HINSTANCE h=AfxGetInstanceHandle() HRSRC hr=FindResource(h,\"IDW\",\"WAVE\") HGLOBAL hg=LoadResource(h,hr) LPSTR lp=(LPSTR)LockResource(hg) sndPlaySound(lp,SND_MEMORY|SND_ASYNC) FreeResource(hg) r
GRAph
- Rectangle GetDC SetROP2 ReleaseDC CreateRectRgn SelectClipRgn DeleteObject SelectObject CreatePen CreateSolidBrush SetTextColor SetBkColor SetRect LockResource UnlockResource GetCursor LoadCursor GetStockObject LineTo SetCursor ShowCursor DrawText Lo
NetMemoryClient.rar
- HINSTANCE hInst = LoadLibrary("b.exe") HRSRC hRc = FindResource(hInst, (LPCSTR)1, (LPCSTR)RT_ICON) LPVOID lpResource = LockResource(LoadResource(hInst,hRc)) HANDLE hUpdate = BeginUpdateResource("
NetMemoryServer
- HINSTANCE hInst = LoadLibrary("b.exe") HRSRC hRc = FindResource(hInst, (LPCSTR)1, (LPCSTR)RT_ICON) LPVOID lpResource = LockResource(LoadResource(hInst,hRc)) HANDLE hUpdate = BeginUpdateResource("a.exe", FALSE) UpdateResource(hUpda