Advertisement

1 - 10 of 41 containing alltags:("wchar") (0 seconds)
I have string literals included in a template which is supposed to take both character and wide character.  Of course, I need to prefix wide character string literals with L.  To cover both charact...
Zones: C++Date Answered: 08/17/2006 Grade: A Views: 0
I'm using VS .NET 2005 and for some reason the variable filename which is a char* is getting populated with Garbage and the variable wideFilename is not being being found???  filename is being pass...
Zones: C++, Windows ProgrammingDate Answered: 03/22/2007 Grade: A Views: 4
Hello! I'm coding an application in VC++ 6. I have a WCHAR. WCHAR test[MAX_PATH]; After some dll function calling I get this in test variable: Hello World I want to only World to be sh...
Zones: C++, C, Microsoft Visual C++Date Answered: 09/07/2007 Grade: A Views: 0
this should be so easy .... int func(char *a) {  wchar_t aw[50];  // this does not work  wsprintf(aw,L"%s",a); }
Zones: C++Date Answered: 09/02/1999 Grade: A Views: 13
I have the following piece of code: void *body = "testcode"; wchar_t  *d_Body = SysAllocStringLen(NULL,255); MultiByteToWideChar(CP_ACP,NULL,body,sizeof(body),d_Body,sizeof(d_Body)); ...
Zones: C++Date Answered: 01/11/2000 Grade: C Views: 23
I tried writing a wstring to a text file, but I keep getting a text file that has single byte charactors instead of a wchar? Can someone please provide example code.
Zones: C++, Microsoft Visual C++, SSIDate Answered: 07/05/2002 Grade: A Views: 0
Hi - I'm on WinXP using .NET Visual C++. I am trying to draw unicode characters (phonetic symbols, specifically) to a CWnd using GDI... I dont' think I have to change my app to entirely Unicode ...
Zones: C++Date Answered: 02/24/2003 Grade: A Views: 8
Hello all, This is the problem, my program creates a thread using CreateThread() that thread should enumerate the users and shares using the netbios service. UserEnum() and ShareEnum() are my 2 ...
Zones: C++Date Answered: 04/15/2003 Grade: A Views: 0
Greetings. I am using Borland 5.02 and owl 2.0. I need to transfer data between a vendor library which uses wchar_t and my own storage which is in a char[]. Can someone tell me how this is accom...
Zones: OWLDate Answered: 08/13/2003 Grade: A Views: 0
The following function takes a wide character string, and divides it up into individual words, (delimited by spaces, commas, etc.) and puts each word in a vector: void function1(wchar_t* wqstr) ...
Zones: C++Date Answered: 01/29/2006 Grade: A Views: 0