embed s file in exe

  • Thread starter Thread starter Robert
  • Start date Start date
R

Robert

Dear all,

I want to embed a motorola s file in my exe file using Visual
C++.net,
and then I can use the data in the Motorola file. How should I
do?
I am urgently need your help.
Thanks a lot.
 
Robert said:
Dear all,

I want to embed a motorola s file in my exe file using Visual
C++.net,
and then I can use the data in the Motorola file. How should I
do?

You can include it as a binary resource (just add the file in the resource
editor). Then load it by name...it will come in as a byte array type. (If
for some reason it's detected as text, you can explicitly set the file type
to "Binary" in the resource's property editor).
 
Back
Top