Click here to Skip to main content
16,017,151 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCoCreateInstance Problem Pin
john563212-Nov-08 2:10
john563212-Nov-08 2:10 
AnswerRe: CoCreateInstance Problem Pin
CPallini12-Nov-08 2:27
mveCPallini12-Nov-08 2:27 
AnswerRe: CoCreateInstance Problem Pin
Roger Stoltz12-Nov-08 2:32
Roger Stoltz12-Nov-08 2:32 
GeneralRe: CoCreateInstance Problem Pin
john563212-Nov-08 6:04
john563212-Nov-08 6:04 
AnswerRe: CoCreateInstance Problem Pin
Roger Stoltz12-Nov-08 6:29
Roger Stoltz12-Nov-08 6:29 
GeneralRe: CoCreateInstance Problem Pin
john563213-Nov-08 17:42
john563213-Nov-08 17:42 
AnswerRe: CoCreateInstance Problem Pin
Roger Stoltz13-Nov-08 22:34
Roger Stoltz13-Nov-08 22:34 
QuestionStrange Issue Pin
Sameer Naik12-Nov-08 2:02
Sameer Naik12-Nov-08 2:02 
Hi,
I am trying to write a multiline character string to the registry (REG_MULTI_SZ).
for this i am doing this

LPTSTR Value = TEXT("0\02\0MANAGER\0");

after doing this if i look at the memory location where Value is stored this is what i see

30 00 02 00 00 00 4d 00 41 00 4e 00 41 00 47 00 45 00 52 00 00 00 00 00

check out the third byte, when it actually should be

30 00 00 00 02 00 00 00 4d 00 41 00 4e 00 41 00 47 00 45 00 52 00 00 00 00 00

there is some weird thing happening with the '\0' escape sequence and the '2' character.
or something's going on that im not aware of..

Please Help
Regards
~Sameer
AnswerRe: Strange Issue Pin
CPallini12-Nov-08 2:21
mveCPallini12-Nov-08 2:21 
QuestionExe problem in different machine Pin
NewVC++12-Nov-08 1:12
NewVC++12-Nov-08 1:12 
QuestionRe: Exe problem in different machine Pin
Rajesh R Subramanian12-Nov-08 1:42
professionalRajesh R Subramanian12-Nov-08 1:42 
JokeRe: Exe problem in different machine Pin
CPallini12-Nov-08 1:45
mveCPallini12-Nov-08 1:45 
AnswerRe: Exe problem in different machine Pin
NewVC++12-Nov-08 1:46
NewVC++12-Nov-08 1:46 
GeneralRe: Exe problem in different machine Pin
Rajesh R Subramanian12-Nov-08 1:56
professionalRajesh R Subramanian12-Nov-08 1:56 
JokeRe: Exe problem in different machine Pin
CPallini12-Nov-08 2:02
mveCPallini12-Nov-08 2:02 
GeneralRe: Exe problem in different machine Pin
Rajesh R Subramanian12-Nov-08 2:05
professionalRajesh R Subramanian12-Nov-08 2:05 
AnswerRe: Exe problem in different machine Pin
CPallini12-Nov-08 1:44
mveCPallini12-Nov-08 1:44 
JokeRe: Exe problem in different machine Pin
sashoalm12-Nov-08 2:34
sashoalm12-Nov-08 2:34 
AnswerRe: Exe problem in different machine Pin
Hamid_RT12-Nov-08 5:54
Hamid_RT12-Nov-08 5:54 
QuestionAudio File Bookmarking and Highlighting with Text Links Pin
srisant12-Nov-08 0:55
srisant12-Nov-08 0:55 
RantWhat a retard Pin
led mike12-Nov-08 4:17
led mike12-Nov-08 4:17 
GeneralRe: What a retard Pin
srisant12-Nov-08 18:11
srisant12-Nov-08 18:11 
GeneralRe: What a retard Pin
led mike13-Nov-08 6:59
led mike13-Nov-08 6:59 
Questionwin32 console application using MFC Pin
vemasani12-Nov-08 0:45
vemasani12-Nov-08 0:45 
AnswerRe: win32 console application using MFC Pin
Cedric Moonen12-Nov-08 0:51
Cedric Moonen12-Nov-08 0:51 

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.