Click here to Skip to main content
15,918,617 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalprocess monitoring Pin
3loka22-Jun-05 7:09
3loka22-Jun-05 7:09 
GeneralRe: process monitoring Pin
Chris Losinger22-Jun-05 7:38
professionalChris Losinger22-Jun-05 7:38 
GeneralRe: process monitoring Pin
3loka22-Jun-05 10:28
3loka22-Jun-05 10:28 
GeneralYet another problem with LPCTSTR Pin
tomek1822-Jun-05 6:04
tomek1822-Jun-05 6:04 
GeneralRe: Yet another problem with LPCTSTR Pin
James R. Twine22-Jun-05 6:43
James R. Twine22-Jun-05 6:43 
GeneralRe: Yet another problem with LPCTSTR Pin
Bob Stanneveld22-Jun-05 6:56
Bob Stanneveld22-Jun-05 6:56 
GeneralRe: Yet another problem with LPCTSTR Pin
Blake Miller22-Jun-05 7:29
Blake Miller22-Jun-05 7:29 
GeneralRe: Yet another problem with LPCTSTR Pin
Bob Stanneveld22-Jun-05 8:43
Bob Stanneveld22-Jun-05 8:43 
pszData should be NULL terminated! If it's not, you are in big trouble!

The reason why pszData is NULL terminated, is because the name says it. p(ointer)s(tring)z(ero terminated)Data implies that the string is NULL terminated.

Also, all strings in C / C++ are NULL terminated, unless it's explicitly stated. So if pszData is a string like anything else, it's NULL terminated. If it's a buffer from something, it sould not be called a string. You should track down the origins of the string and go from there.

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: Yet another problem with LPCTSTR Pin
Toby Opferman22-Jun-05 9:17
Toby Opferman22-Jun-05 9:17 
GeneralRe: Yet another problem with LPCTSTR Pin
Bob Stanneveld22-Jun-05 20:27
Bob Stanneveld22-Jun-05 20:27 
GeneralRe: Yet another problem with LPCTSTR Pin
Toby Opferman23-Jun-05 10:10
Toby Opferman23-Jun-05 10:10 
GeneralOT Pin
Bob Stanneveld23-Jun-05 12:05
Bob Stanneveld23-Jun-05 12:05 
GeneralRe: OT Pin
Toby Opferman23-Jun-05 13:40
Toby Opferman23-Jun-05 13:40 
GeneralRe: OT Pin
Bob Stanneveld23-Jun-05 21:17
Bob Stanneveld23-Jun-05 21:17 
GeneralRe: OT Pin
Toby Opferman24-Jun-05 5:28
Toby Opferman24-Jun-05 5:28 
GeneralRe: OT Pin
Bob Stanneveld30-Jun-05 23:31
Bob Stanneveld30-Jun-05 23:31 
GeneralRe: OT Pin
Toby Opferman1-Jul-05 9:00
Toby Opferman1-Jul-05 9:00 
GeneralRe: Yet another problem with LPCTSTR Pin
JWood22-Jun-05 10:17
JWood22-Jun-05 10:17 
GeneralRe: Yet another problem with LPCTSTR Pin
Bob Stanneveld22-Jun-05 7:02
Bob Stanneveld22-Jun-05 7:02 
GeneralRe: Yet another problem with LPCTSTR Pin
tomek1823-Jun-05 2:06
tomek1823-Jun-05 2:06 
GeneralRe: Yet another problem with LPCTSTR Pin
Bob Stanneveld23-Jun-05 2:29
Bob Stanneveld23-Jun-05 2:29 
GeneralRe: Yet another problem with LPCTSTR Pin
tomek1823-Jun-05 4:01
tomek1823-Jun-05 4:01 
GeneralRe: Yet another problem with LPCTSTR Pin
Bob Stanneveld23-Jun-05 4:18
Bob Stanneveld23-Jun-05 4:18 
GeneralRe: Yet another problem with LPCTSTR Pin
David Crow23-Jun-05 3:21
David Crow23-Jun-05 3:21 
Questionwhat is MFCO42D.DLL? Pin
liuyue22-Jun-05 5:44
liuyue22-Jun-05 5:44 

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.