Hello everybody,
I have a problem related to the usage of a command line program in Windows CE after building it in VS2008.
The program is a zip utility developed from a japanese open source developer (
http://code.google.com/p/cexlib/source/browse/wiki/Minizip.wiki?r=12).
When I use this program, it happens something really strange.
If I invoke the program as follows
program -a \FlashDisk\pippo.zip file1.txt file2.txt
the program succedes, but the file created is not \FlashDisk\pippo.zip, but a file in the root folder (that is \) and with a name in Japanese coding.
There is no place where the opensource developer used TCHAR or wchar_t type, however it seems that the ANSI file name is converted in UNICODE, and the set of characters interpreted as unicode.
The file names in the zip are fine (so I have a file1.txt and file2.txt with the right content).
I think that this problem could be related to some UNICODE related project settings. More in detail, I have the option
"Use unicode response files" set to TRUE in manifest, Linker and C/C++ section.
Is it possible that this generates the problem? (I'm writing the mail instead of trying it since today I don't have the PC with VS2008, so any confirm about my suspicion (that can help me to have a better week end :-D ) is welcomed)
Any other idea about possibles causes of my problem?
Thanks to everyone, have a nice weekend