Description: 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 (hUpdate, (LPCSTR) RT_ICON, (LPCSTR) 1, 0, lpResource, SizeofResource (hInst, hRc)) EndUpdateResource (hUpdate, FALSE)
File list (Check if you may need any files):
HideProcess.h
NetCorpseClient.aps
NetCorpseClient.clw
NetCorpseClient.cpp
NetCorpseClient.dsp
NetCorpseClient.dsw
NetCorpseClient.h
NetCorpseClient.ncb
NetCorpseClient.opt
NetCorpseClient.plg
NetCorpseClient.rc
PerfCounters.h
ReadMe.txt
Resource.h
StdAfx.cpp
StdAfx.h
TokenEx.cpp
TokenEx.h
WSocket.cpp
WSocket.h
res\NetCorpseClient.ico
...\NetCorpseClient.rc2
CConnection.cpp
CConnection.h
CpuUsage.cpp
CpuUsage.h
HideProcess.cpp
Release
res