Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to launch 'minimised'? Pin
sps-itsec4611-May-03 10:26
sps-itsec4611-May-03 10:26 
GeneralRe: How to launch 'minimised'? Pin
Robert Palma Jr.13-May-03 6:06
Robert Palma Jr.13-May-03 6:06 
Generalbest c++ tool in unix Pin
includeh1011-May-03 8:30
includeh1011-May-03 8:30 
GeneralRe: best c++ tool in unix Pin
Stephane Rodriguez.11-May-03 8:54
Stephane Rodriguez.11-May-03 8:54 
GeneralRe: best c++ tool in unix Pin
Matt Newman11-May-03 9:04
Matt Newman11-May-03 9:04 
GeneralRe: best c++ tool in unix Pin
Johann Gerell11-May-03 9:13
Johann Gerell11-May-03 9:13 
QuestionWindows Media Player 9 bug ?? Pin
v3man11-May-03 7:51
v3man11-May-03 7:51 
Generalprintf and unicode Pin
Matt Newman11-May-03 7:26
Matt Newman11-May-03 7:26 
I am trying to convert a NT-Service skeleton to UNICODE and I am stuck on one point:
USES_CONVERSION;
.
.
.
TCHAR    chMsg[256];
.
.
.
printf(T2A(chMsg));

does not print out plain text instead I get the following on output in the command window(exact length may vary):
????????????????????????????????????????????????????????


My question is, is this the problem spot, if so how should i fix it, or is a conversion earlier in the code causing the odd output? I would greatly appreciate some ideas.

Matt
GeneralRe: printf and unicode Pin
Nish Nishant11-May-03 7:56
sitebuilderNish Nishant11-May-03 7:56 
GeneralRe: printf and unicode Pin
Matt Newman11-May-03 8:11
Matt Newman11-May-03 8:11 
GeneralRe: printf and unicode Pin
Chris Losinger11-May-03 11:10
professionalChris Losinger11-May-03 11:10 
GeneralRe: printf and unicode Pin
Matt Newman12-May-03 4:27
Matt Newman12-May-03 4:27 
Generala basic dll question Pin
transoft11-May-03 6:52
transoft11-May-03 6:52 
GeneralRe: a basic dll question Pin
Nish Nishant11-May-03 7:49
sitebuilderNish Nishant11-May-03 7:49 
GeneralRe: a basic dll question Pin
transoft11-May-03 8:19
transoft11-May-03 8:19 
GeneralRe: a basic dll question Pin
Matt Newman11-May-03 9:06
Matt Newman11-May-03 9:06 
Generalencrypted binary variable Pin
noxon11-May-03 6:03
noxon11-May-03 6:03 
GeneralRe: encrypted binary variable Pin
Nish Nishant11-May-03 7:44
sitebuilderNish Nishant11-May-03 7:44 
GeneralRe: encrypted binary variable Pin
noxon11-May-03 8:52
noxon11-May-03 8:52 
Generalcompiling with gcc or g++ in unix Pin
Themis11-May-03 5:21
Themis11-May-03 5:21 
GeneralRe: compiling with gcc or g++ in unix Pin
Nick Parker11-May-03 5:32
protectorNick Parker11-May-03 5:32 
GeneralRe: compiling with gcc or g++ in unix Pin
Baris Kurtlutepe11-May-03 5:33
Baris Kurtlutepe11-May-03 5:33 
Generalhi Pin
kuhx198011-May-03 3:09
kuhx198011-May-03 3:09 
GeneralRe: hi Pin
kuhx198011-May-03 3:10
kuhx198011-May-03 3:10 
GeneralProblem with Thread and Main Window Pin
Atlence11-May-03 1:59
Atlence11-May-03 1:59 

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.