embed s file in exe

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.
 
P

Peter Duniho

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top