[Solved] How to use Resources in c++? [closed]


Create an .rc file to refer to the desired embedded .exe as an RCDATA resource, eg:

MYEXE RCDATA "path\to\file.exe"

Add the .rc file to your project.

The referred .exe file will then be compiled into your final executable.

You can then access the MYEXE resource at runtime using the Win32 FindResource()/LoadResource()/LockResource() functions, or higher-level framework equivalent.

solved How to use Resources in c++? [closed]