Click here to Skip to main content
15,033,418 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Off topic Pin
Richard MacCutchan2-Oct-12 3:23
mveRichard MacCutchan2-Oct-12 3:23 
QuestionTooltip for ATL toolbar Pin
Sakhalean24-Sep-12 18:43
MemberSakhalean24-Sep-12 18:43 
QuestionCAsyncSocket Send( arguments ) Pin
bkelly1318-Sep-12 16:13
Memberbkelly1318-Sep-12 16:13 
AnswerRe: CAsyncSocket Send( arguments ) Pin
Richard MacCutchan18-Sep-12 21:50
mveRichard MacCutchan18-Sep-12 21:50 
GeneralRe: CAsyncSocket Send( arguments ) Pin
bkelly1319-Sep-12 12:13
Memberbkelly1319-Sep-12 12:13 
AnswerRe: CAsyncSocket Send( arguments ) Pin
pasztorpisti29-Sep-12 23:52
Memberpasztorpisti29-Sep-12 23:52 
GeneralRe: CAsyncSocket Send( arguments ) Pin
Richard MacCutchan30-Sep-12 1:07
mveRichard MacCutchan30-Sep-12 1:07 
GeneralRe: CAsyncSocket Send( arguments ) Pin
pasztorpisti30-Sep-12 3:16
Memberpasztorpisti30-Sep-12 3:16 
If we speak of unicode and wchar_t then its not guaranteed that the data is transferred per character over the network, the variable name they use for incrmenting also reflects this: m_nBytesSent. They code heavily relies on the fact that LPCTSTR==LPCSTR in their case. Changing to unicode charset would introduce a hidden bug that compiles silently. If you decide to write code that has to compile with both ansi and widechar setting then using LPCTSTR is valid in many cases but this is an exception. I myself question the usefulness of supporting both ansi and widechar these days (so I don't anymore use defines like LPCTSTR and LPSTR) since its pain in the ass to write a program that compiles with both settings and today we can say that the majority of machines runs NT whose native is utf16. Its also a pain to search for bugs that arise only with one of the settings.
GeneralRe: CAsyncSocket Send( arguments ) Pin
Richard MacCutchan30-Sep-12 4:00
mveRichard MacCutchan30-Sep-12 4:00 
GeneralRe: CAsyncSocket Send( arguments ) Pin
pasztorpisti30-Sep-12 4:07
Memberpasztorpisti30-Sep-12 4:07 
GeneralRe: CAsyncSocket Send( arguments ) Pin
pasztorpisti30-Sep-12 4:03
Memberpasztorpisti30-Sep-12 4:03 
GeneralRe: CAsyncSocket Send( arguments ) Pin
Richard MacCutchan30-Sep-12 4:13
mveRichard MacCutchan30-Sep-12 4:13 
GeneralRe: CAsyncSocket Send( arguments ) Pin
bkelly1330-Sep-12 5:44
Memberbkelly1330-Sep-12 5:44 
GeneralRe: CAsyncSocket Send( arguments ) Pin
Richard MacCutchan30-Sep-12 6:10
mveRichard MacCutchan30-Sep-12 6:10 
GeneralRe: CAsyncSocket Send( arguments ) Pin
pasztorpisti30-Sep-12 6:38
Memberpasztorpisti30-Sep-12 6:38 
GeneralRe: CAsyncSocket Send( arguments ) Pin
bkelly1330-Sep-12 6:16
Memberbkelly1330-Sep-12 6:16 
GeneralRe: CAsyncSocket Send( arguments ) Pin
pasztorpisti30-Sep-12 6:31
Memberpasztorpisti30-Sep-12 6:31 
Questionget instance of object (in exe) from dll caller Pin
MrKBA17-Sep-12 4:38
MemberMrKBA17-Sep-12 4:38 
AnswerRe: get instance of object (in exe) from dll caller Pin
pasztorpisti17-Sep-12 6:57
Memberpasztorpisti17-Sep-12 6:57 
GeneralRe: get instance of object (in exe) from dll caller Pin
MrKBA17-Sep-12 9:32
MemberMrKBA17-Sep-12 9:32 
JokeRe: get instance of object (in exe) from dll caller Pin
pasztorpisti17-Sep-12 13:43
Memberpasztorpisti17-Sep-12 13:43 
GeneralRe: get instance of object (in exe) from dll caller Pin
pasztorpisti17-Sep-12 13:48
Memberpasztorpisti17-Sep-12 13:48 
AnswerRe: get instance of object (in exe) from dll caller Pin
Richard MacCutchan17-Sep-12 22:16
mveRichard MacCutchan17-Sep-12 22:16 
AnswerRe: get instance of object (in exe) from dll caller Pin
Stephen Hewitt18-Sep-12 18:49
MemberStephen Hewitt18-Sep-12 18:49 
QuestionCAsyncSocket Connect says in use Pin
bkelly1316-Sep-12 6:07
Memberbkelly1316-Sep-12 6:07 

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.