Click here to Skip to main content
16,005,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondialog Pin
Duc Quang3-Sep-06 16:57
Duc Quang3-Sep-06 16:57 
AnswerRe: dialog Pin
velayudhan_raj3-Sep-06 17:05
velayudhan_raj3-Sep-06 17:05 
AnswerRe: dialog Pin
Mahesh Kulkarni3-Sep-06 18:44
Mahesh Kulkarni3-Sep-06 18:44 
AnswerRe: dialog Pin
Steve Echols3-Sep-06 19:45
Steve Echols3-Sep-06 19:45 
QuestionHow to show the 'Privacy Report' dialog in CHtmlView Based Application? Pin
Tcpip20053-Sep-06 16:22
Tcpip20053-Sep-06 16:22 
QuestionGDI+ Bitmap Class new operator. Pin
mostafa_pasha3-Sep-06 10:37
mostafa_pasha3-Sep-06 10:37 
AnswerRe: GDI+ Bitmap Class new operator. Pin
Justin Tay3-Sep-06 13:06
Justin Tay3-Sep-06 13:06 
QuestionWhen debugging from VS it works, when running from explorer not Pin
lucki_luke3-Sep-06 9:46
lucki_luke3-Sep-06 9:46 
Hi,

I am having this strange issue that I cant trace because my program works just fine when debugging from within VS or any other debugger (I tried olly as well), but whenever I run it from the explorer it doesnt work completly.
I am reading values from the registry using this Wrapper.

Then Im assigning the value of the key to a variable like this:
char * binaryData = (char *)value.operator LPCTSTR();

Then I'm converting the char from UTF8 to Unicode, but there should not be a problem.
However, the resulting string has in the most cases something appended like "=C:\Pr " which looks like a string to me but I have no idea how it got appended to the registry value.

The strange thing now is that whenever I debug it with VS it works, but when I run it normally from windows it puts those strange characters at the end of the strings.

Btw, my strings are in REG_BINARY format.

Does anyone know what the problem here is?

Thanks,

lucki_luke
AnswerRe: When debugging from VS it works, when running from explorer not Pin
MayankT3-Sep-06 17:40
MayankT3-Sep-06 17:40 
GeneralRe: When debugging from VS it works, when running from explorer not Pin
lucki_luke4-Sep-06 9:40
lucki_luke4-Sep-06 9:40 
GeneralRe: When debugging from VS it works, when running from explorer not Pin
Blake Miller6-Sep-06 12:11
Blake Miller6-Sep-06 12:11 
QuestionMFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z3-Sep-06 9:21
Jon68z3-Sep-06 9:21 
QuestionRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
prasad_som3-Sep-06 22:56
prasad_som3-Sep-06 22:56 
AnswerRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z3-Sep-06 23:32
Jon68z3-Sep-06 23:32 
GeneralRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
prasad_som4-Sep-06 0:05
prasad_som4-Sep-06 0:05 
GeneralRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z4-Sep-06 0:33
Jon68z4-Sep-06 0:33 
QuestionRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z4-Sep-06 0:50
Jon68z4-Sep-06 0:50 
AnswerRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
prasad_som4-Sep-06 1:51
prasad_som4-Sep-06 1:51 
QuestionCPropertySheet Pin
ftsOne3-Sep-06 9:10
ftsOne3-Sep-06 9:10 
QuestionCertification Pin
messages3-Sep-06 8:12
messages3-Sep-06 8:12 
AnswerRe: Certification Pin
Waldermort3-Sep-06 8:19
Waldermort3-Sep-06 8:19 
GeneralRe: Certification Pin
messages3-Sep-06 8:33
messages3-Sep-06 8:33 
QuestionError Pin
messages3-Sep-06 8:04
messages3-Sep-06 8:04 
AnswerRe: Error Pin
Waldermort3-Sep-06 8:20
Waldermort3-Sep-06 8:20 
GeneralRe: Error Pin
messages3-Sep-06 8:33
messages3-Sep-06 8:33 

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.