How to convert any file to .exe with C++

I tried to convert any files to portable executable file (.exe). for example i have a ".evm" file format. i should to convert this file to .exe with C++.

Of course i have a ".evm" file structure like instruction, header and ... etc. "Convert .evm file to Working .exe file". what i should know ? or sample code ?

the headers and instructions in the .evm file should be call and use with my program. for example "bubble_sort.evm" structure header have uint32_t codeSize, initialSize.

Thank you
(Sorry my bad english)
Topic archived. No new replies allowed.