"Robert" <wa*********@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
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.
Why do you need to "embed" a file in an executable? Why not just write your
executable so that it opens and reads the file?
Anyway, if you really need it to be part of the executable for some reason,
you might be able to create a resource out of it which you can import into
your project and which will then compile into the executable. But resources
are specific to your operating system (Windows, in this case), and importing
them into a VC++ project is specific to VC++. You should ask in a VC++ or
other microsoft newsgroup.
(By the way, I have no idea if your "s" file, whatever that is, is
proprietary data, but if it is, you'd better check on whether it's ok to
distribute it before distributing your executable.)
-Howard