Click here to Skip to main content
15,915,086 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to setup a button on Visual C++ to execute a pgm Pin
Christian Graus28-Apr-02 10:29
protectorChristian Graus28-Apr-02 10:29 
AnswerRe: How to setup a button on Visual C++ to execute a pgm Pin
Nish Nishant28-Apr-02 14:11
sitebuilderNish Nishant28-Apr-02 14:11 
AnswerRe: How to setup a button on Visual C++ to execute a pgm Pin
Maxwell Chen28-Apr-02 19:05
Maxwell Chen28-Apr-02 19:05 
AnswerRe: How to setup a button on Visual C++ to execute a pgm Pin
Gaurika Wijeratne28-Apr-02 19:52
Gaurika Wijeratne28-Apr-02 19:52 
GeneralCFrameWnd - Changing layout Pin
Patrik Mueller28-Apr-02 9:14
Patrik Mueller28-Apr-02 9:14 
GeneralRe: CFrameWnd - Changing layout Pin
Patrik Mueller29-Apr-02 1:25
Patrik Mueller29-Apr-02 1:25 
GeneralAPI: replacing chars Pin
User 665828-Apr-02 8:43
User 665828-Apr-02 8:43 
GeneralRe: API: replacing chars Pin
Tom Archer28-Apr-02 9:10
Tom Archer28-Apr-02 9:10 
I might be wrong, but I can't see how your code could work because you don't have a marker to signify the end of the string. Strings like this (that contain nulls) typically contain two nulls at the end so that any code that needs to parse it can find the end. Therefore, in your code that sets this string, you simply need to ensure that it ends with two nulls. From there, the code is farily simple to parse it terminating only when back-to-back nulls have been encountered. Otherwise, you've got no way of knowing when the string ends.

Cheers,
Tom Archer
Author, Inside C#

A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
GeneralRe: API: replacing chars Pin
User 665828-Apr-02 9:16
User 665828-Apr-02 9:16 
GeneralRe: API: replacing chars Pin
Tom Archer28-Apr-02 9:24
Tom Archer28-Apr-02 9:24 
GeneralRe: API: replacing chars Pin
Joaquín M López Muñoz28-Apr-02 9:16
Joaquín M López Muñoz28-Apr-02 9:16 
GeneralRe: API: replacing chars Pin
User 665828-Apr-02 9:28
User 665828-Apr-02 9:28 
GeneralRe: API: replacing chars Pin
Joaquín M López Muñoz28-Apr-02 11:33
Joaquín M López Muñoz28-Apr-02 11:33 
GeneralRe: API: replacing chars Pin
Nish Nishant28-Apr-02 14:13
sitebuilderNish Nishant28-Apr-02 14:13 
GeneralRe: API: replacing chars Pin
Mike Nordell1-May-02 10:19
Mike Nordell1-May-02 10:19 
GeneralCListView & Appending Items :: MFC Pin
valikac28-Apr-02 7:41
valikac28-Apr-02 7:41 
GeneralRe: CListView & Appending Items :: MFC Pin
l a u r e n28-Apr-02 12:30
l a u r e n28-Apr-02 12:30 
GeneralRe: CListView & Appending Items :: MFC Pin
Shog928-Apr-02 12:41
sitebuilderShog928-Apr-02 12:41 
GeneralRe: CListView & Appending Items :: MFC Pin
Ravi Bhavnani28-Apr-02 13:01
professionalRavi Bhavnani28-Apr-02 13:01 
GeneralRe: CListView & Appending Items :: MFC Pin
valikac28-Apr-02 13:13
valikac28-Apr-02 13:13 
GeneralRe: Solution Pin
valikac28-Apr-02 13:14
valikac28-Apr-02 13:14 
QuestionNew class in dialog program? Pin
28-Apr-02 7:40
suss28-Apr-02 7:40 
AnswerRe: New class in dialog program? Pin
Andres Manggini28-Apr-02 7:59
Andres Manggini28-Apr-02 7:59 
GeneralWin API - Help with sizing windows Pin
ParaSwarm28-Apr-02 7:02
ParaSwarm28-Apr-02 7:02 
GeneralRe: Win API - Help with sizing windows Pin
Ravi Bhavnani28-Apr-02 7:18
professionalRavi Bhavnani28-Apr-02 7:18 

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.