hi,

When just writing a application for my mobile phone , I got a doubt is
there any possibility windows mobile program is Non-Unicode.

I had fully coded unicode.But i am sure my program will not work if
#define _UNICODE is not defined.

A sample of my code follows..
int pons_Evaluate(LPCTSTR lpszPath)
{
DWORD dwFileAttributes = 0;
dwFileAttributes = GetFileAttributes(lpszPath);
.
.
// in the middle of my prog
int pathLen = lstrlen(lpsPath); //
MessageBox(hWnd1,L"Evaluated",L"Status",MB_OK);//only works for
unicode

.
}

So i want to know is windows mobile always unicode..

urs
Pons

Re: Is Widows mobile always unicode by ctacke/>

ctacke/>
Tue Jun 20 07:42:41 CDT 2006

Windows CE in general is only Unicode.

-Chris


"pons" <traapons@gmail.com> wrote in message
news:1150787241.349385.33010@u72g2000cwu.googlegroups.com...
> hi,
>
> When just writing a application for my mobile phone , I got a doubt is
> there any possibility windows mobile program is Non-Unicode.
>
> I had fully coded unicode.But i am sure my program will not work if
> #define _UNICODE is not defined.
>
> A sample of my code follows..
> int pons_Evaluate(LPCTSTR lpszPath)
> {
> DWORD dwFileAttributes = 0;
> dwFileAttributes = GetFileAttributes(lpszPath);
> .
> .
> // in the middle of my prog
> int pathLen = lstrlen(lpsPath); //
> MessageBox(hWnd1,L"Evaluated",L"Status",MB_OK);//only works for
> unicode
>
> .
> }
>
> So i want to know is windows mobile always unicode..
>
> urs
> Pons
>



Re: Is Widows mobile always unicode by Ginny

Ginny
Tue Jun 20 09:10:36 CDT 2006

In addition to Chris's answer, if you need ASCII for working with a serial
device, perhaps, you can convert your strings to data. But everything that
goes into a visual control, all file names, etc., are indeed Unicode.

--
Ginny Caughey
.NET Compact Framework MVP


"pons" <traapons@gmail.com> wrote in message
news:1150787241.349385.33010@u72g2000cwu.googlegroups.com...
> hi,
>
> When just writing a application for my mobile phone , I got a doubt is
> there any possibility windows mobile program is Non-Unicode.
>
> I had fully coded unicode.But i am sure my program will not work if
> #define _UNICODE is not defined.
>
> A sample of my code follows..
> int pons_Evaluate(LPCTSTR lpszPath)
> {
> DWORD dwFileAttributes = 0;
> dwFileAttributes = GetFileAttributes(lpszPath);
> .
> .
> // in the middle of my prog
> int pathLen = lstrlen(lpsPath); //
> MessageBox(hWnd1,L"Evaluated",L"Status",MB_OK);//only works for
> unicode
>
> .
> }
>
> So i want to know is windows mobile always unicode..
>
> urs
> Pons
>



Re: Is Widows mobile always unicode by r_z_aret

r_z_aret
Wed Jun 21 15:45:33 CDT 2006

On Tue, 20 Jun 2006 10:10:36 -0400, "Ginny Caughey [MVP]"
<ginny.caughey.online@wasteworks.com> wrote:

>In addition to Chris's answer, if you need ASCII for working with a serial
>device, perhaps, you can convert your strings to data. But everything that
>goes into a visual control, all file names, etc., are indeed Unicode.

Text files may contain ASCII characters.
-----------------------------------------
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