Click here to Skip to main content
15,904,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMigration java -> c++ Pin
Zizilamoroso16-Apr-02 6:08
Zizilamoroso16-Apr-02 6:08 
GeneralRe: Migration java -> c++ Pin
dazinith16-Apr-02 6:16
dazinith16-Apr-02 6:16 
GeneralRe: Migration java -> c++ Pin
Zizilamoroso16-Apr-02 7:00
Zizilamoroso16-Apr-02 7:00 
GeneralRe: Migration java -> c++ Pin
Ravi Bhavnani16-Apr-02 6:28
professionalRavi Bhavnani16-Apr-02 6:28 
GeneralISAPI filter for raw data Pin
rajacm16-Apr-02 5:41
rajacm16-Apr-02 5:41 
GeneralOFNHookProc Pin
Anthony988716-Apr-02 5:35
Anthony988716-Apr-02 5:35 
GeneralBest collection class for CPoint object. Pin
kursatkaraca16-Apr-02 5:28
kursatkaraca16-Apr-02 5:28 
GeneralUNICODE Pin
Rage16-Apr-02 5:23
professionalRage16-Apr-02 5:23 
hi!

2 questions about UNICODE:

1. I have to convert char* based strings into TCHAR* (that is UNICODE) ones. THe Macro _T() only works for immediate strings such as "Hello" but not with variables, and a cast in (TCHAR *) or even (unsigned short*) mostly destructs what is written in the string (i.e. i got garbage in my string instead of hello, which i think is quite normal.). Any suggestion ?

2. Does it exist an equivalent to atoi() for UNICODE strings ?

Thanxx



RaGe
Unfortunately, brute-force solutions tend to be slow
even when performed by modern-day microcomputers,
which are capable of several MIPS except when I'm late
for an appointment and want to finish a compile and
run just one more test before I leave, in which case
the crystal in my computer is apparently designed to
automatically revert to 1 Hz.
-- Michael Abrash

GeneralRe: UNICODE Pin
Philip Patrick16-Apr-02 6:35
professionalPhilip Patrick16-Apr-02 6:35 
GeneralRe: UNICODE Pin
Le centriste16-Apr-02 6:52
Le centriste16-Apr-02 6:52 
GeneralRe: UNICODE Pin
Le centriste16-Apr-02 18:25
Le centriste16-Apr-02 18:25 
GeneralStartPage() and Document/View Pin
dazinith16-Apr-02 5:19
dazinith16-Apr-02 5:19 
GeneralRe: StartPage() and Document/View Pin
Roger Allen16-Apr-02 6:34
Roger Allen16-Apr-02 6:34 
GeneralRe: StartPage() and Document/View Pin
Roger Allen16-Apr-02 6:40
Roger Allen16-Apr-02 6:40 
GeneralRe: StartPage() and Document/View Pin
Jonathan Craig16-Apr-02 7:28
Jonathan Craig16-Apr-02 7:28 
QuestionFile equivalent to ntprint.inf in Win98 ? Pin
Somu Lakshmanan16-Apr-02 5:18
Somu Lakshmanan16-Apr-02 5:18 
GeneralAccessing text controls of other dialog box Pin
16-Apr-02 4:58
suss16-Apr-02 4:58 
GeneralRe: Accessing text controls of other dialog box Pin
Chris Losinger16-Apr-02 5:05
professionalChris Losinger16-Apr-02 5:05 
GeneralRe: Accessing text controls of other dialog box Pin
18-Apr-02 4:56
suss18-Apr-02 4:56 
GeneralRe: Accessing text controls of other dialog box Pin
dazinith16-Apr-02 5:34
dazinith16-Apr-02 5:34 
GeneralRe: Accessing text controls of other dialog box Pin
18-Apr-02 4:55
suss18-Apr-02 4:55 
QuestionHow can I easily access addresses in DirectPlay? Pin
Vinsent16-Apr-02 4:48
Vinsent16-Apr-02 4:48 
GeneralProblem with CWnd::PreSubclassWindow Pin
Joel Holdsworth16-Apr-02 3:45
Joel Holdsworth16-Apr-02 3:45 
GeneralRe: Problem with CWnd::PreSubclassWindow Pin
Joaquín M López Muñoz16-Apr-02 9:55
Joaquín M López Muñoz16-Apr-02 9:55 
GeneralRe: Problem with CWnd::PreSubclassWindow Pin
Joel Holdsworth18-Apr-02 7:48
Joel Holdsworth18-Apr-02 7:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.