Re: Changing the File Format
- From: r_z_aret@xxxxxxxxxxxx
- Date: Tue, 05 Aug 2008 11:29:17 -0400
On Tue, 05 Aug 2008 07:13:45 GMT, "shinewine via PocketPCJunkies.com"
<u42142@uwe> wrote:
Hello Friends.
I made an exe file in WinCE 5.0 that reads from an autorun.inf file. Now if
the format of autorun.inf is ASCII, then it can't be read correctly by our
exe. if its format is unicode, then it displays the correct information.
Now generally the format of autorun.inf/autorun.ini is ASCII. My problem is
that i want to convert the format of "autorun.inf" from ASCII to Unicode
manually. i search for this on different forums but i can't get any help.
Can any body help me How can solve this problem????
If you change the contents of the actual file, are you sure it will
still work?
I suggest modifying your program so it can read an ASCII file.
ReadFile (function in Win32 API) reads bytes. So you can use it to
read into an array declared char (ASCI) and then use
MultiByteToWideChar (another Win32 function) to translate to UNICODE.
For more info, use google
(http://groups.google.com/advanced_search?q=&) to look up
unicode
in this newsgroup.
NOTE: Google Group's behavior changed some time in spring 2008. You
can no longer type the name of a group in the group box and expect to
see posts from only that group. You can succeed by first searching for
the group (use the name of the newsgroup as the search string), and
then searching for within that group.
I shall be very thankful to all of You.
Thanx in
Advance.
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- References:
- Changing the File Format
- From: shinewine via PocketPCJunkies.com
- Changing the File Format
- Prev by Date: RTP server application for WinCE
- Next by Date: Re: Setting date/time beyond year 2038
- Previous by thread: Changing the File Format
- Next by thread: RE: Setting date/time beyond year 2038
- Index(es):
Relevant Pages
|