CodePudding user response:
Embedded into the resourcesCodePudding user response:
Added directly - resources - import, import resources according to the type of distribution resource id, and then used in the code:HRSRC hR=FindResource (hInstance, MAKEINTRESOURCE (IDR_JPG2), L "JPG");
DWORD dwSize=SizeofResource (hInstance, hR);
HGLOBAL hG=LoadResource (hInstance, hR);
CodePudding user response:
Description is clear,
Do you want to embedded resource, picture?
By inserting resources can also,
Another method is bin2h is the export array header files, resource links into the program, you can directly use the array buff.