Click here to Skip to main content
15,896,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I get the Resource ID I want? Pin
Hamid_RT5-Feb-07 19:21
Hamid_RT5-Feb-07 19:21 
AnswerRe: How can I get the Resource ID I want? Pin
Michael Dunn5-Feb-07 10:03
sitebuilderMichael Dunn5-Feb-07 10:03 
GeneralRe: How can I get the Resource ID I want? Pin
freeman8685-Feb-07 13:07
freeman8685-Feb-07 13:07 
Questionhi unicode problem Pin
aaaan4-Feb-07 22:32
aaaan4-Feb-07 22:32 
AnswerRe: hi unicode problem Pin
Naveen5-Feb-07 0:35
Naveen5-Feb-07 0:35 
AnswerRe: hi unicode problem Pin
Hamid_RT5-Feb-07 7:24
Hamid_RT5-Feb-07 7:24 
AnswerRe: hi unicode problem Pin
Michael Dunn5-Feb-07 10:04
sitebuilderMichael Dunn5-Feb-07 10:04 
General\r\n -confused [modified] Pin
Michael Pauli4-Feb-07 22:18
Michael Pauli4-Feb-07 22:18 
Hi!

I can not figure this one out: I have two MFC-projects. One compiles in VS 2002 and one in VS 2005.

At a certain point I have this line in both projects:

<br />
const TCHAR szHeaders[] =<br />
	_T("Accept: text/*\r\nUser-Agent: XYZ\r\n");<br />


Now, in VS 2002 \r\n is intrepreted as a normal CRLF but not in VS 2005 it seems.

(MS: "The _TCHAR data type is defined conditionally in Tchar.h. If the symbol _UNICODE is defined for your build, _TCHAR is defined as wchar_t; otherwise, for single-byte and MBCS builds, it is defined as char.")

I have tried #undef _UNICODE without any luck! Debugger shows two squares: □□ like when !isascii() and does not break the line. Is it just the debugger or some conspericy going on here?




-- modified at 7:35 Monday 5th February, 2007

Regards,
Michael Mogensen, mm it-consult dk.

><((((º> ·.¸¸.· ><((((º> ·.¸¸.· ><((((º>

GeneralRe: \r\n -confused Pin
Bradml4-Feb-07 22:25
Bradml4-Feb-07 22:25 
GeneralRe: \r\n -confused Pin
Michael Pauli5-Feb-07 1:02
Michael Pauli5-Feb-07 1:02 
GeneralRe: \r\n -confused Pin
Eytukan5-Feb-07 3:05
Eytukan5-Feb-07 3:05 
GeneralRe: \r\n -confused Pin
Christian Graus4-Feb-07 22:35
protectorChristian Graus4-Feb-07 22:35 
GeneralRe: \r\n -confused Pin
Bradml4-Feb-07 23:58
Bradml4-Feb-07 23:58 
GeneralRe: \r\n -confused Pin
Gary Kirkham5-Feb-07 0:43
Gary Kirkham5-Feb-07 0:43 
QuestionRe: \r\n -confused Pin
David Crow5-Feb-07 3:00
David Crow5-Feb-07 3:00 
AnswerRe: \r\n -confused Pin
Michael Pauli5-Feb-07 7:09
Michael Pauli5-Feb-07 7:09 
GeneralRe: \r\n -confused Pin
David Crow5-Feb-07 8:46
David Crow5-Feb-07 8:46 
GeneralRe: \r\n -confused Pin
Michael Pauli5-Feb-07 9:46
Michael Pauli5-Feb-07 9:46 
GeneralRe: \r\n -confused Pin
David Crow5-Feb-07 9:56
David Crow5-Feb-07 9:56 
QuestionRe: \r\n -confused Pin
Mark Salsbery5-Feb-07 6:31
Mark Salsbery5-Feb-07 6:31 
QuestionCArchive and long* Pin
eusto4-Feb-07 22:07
eusto4-Feb-07 22:07 
AnswerRe: CArchive and long* Pin
Cedric Moonen4-Feb-07 23:08
Cedric Moonen4-Feb-07 23:08 
GeneralRe: CArchive and long* Pin
eusto4-Feb-07 23:45
eusto4-Feb-07 23:45 
GeneralRe: CArchive and long* Pin
Mark Salsbery5-Feb-07 7:21
Mark Salsbery5-Feb-07 7:21 
QuestionNetwork module Pin
Member 35534024-Feb-07 21:54
Member 35534024-Feb-07 21:54 

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.