Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread Pin
Luc Pattyn18-Feb-09 3:37
sitebuilderLuc Pattyn18-Feb-09 3:37 
GeneralRe: Thread Pin
Arman S.18-Feb-09 2:17
Arman S.18-Feb-09 2:17 
QuestionProblem with Array of char* Pin
error140818-Feb-09 0:05
error140818-Feb-09 0:05 
AnswerRe: Problem with Array of char* Pin
Sarath C18-Feb-09 0:15
Sarath C18-Feb-09 0:15 
AnswerRe: Problem with Array of char* Pin
«_Superman_»18-Feb-09 0:40
professional«_Superman_»18-Feb-09 0:40 
AnswerRe: Problem with Array of char* Pin
CPallini18-Feb-09 0:44
mveCPallini18-Feb-09 0:44 
GeneralRe: Problem with Array of char* Pin
error140818-Feb-09 1:16
error140818-Feb-09 1:16 
GeneralRe: Problem with Array of char* Pin
CPallini18-Feb-09 1:56
mveCPallini18-Feb-09 1:56 
OK, as already suggested by «_Superman_», probably your code is crashing because you're passing a string literal to the function (strtok cannot access for writing a constant string).
for instance
char * name = "system.fullscreen";
token[0] = strtok(name, "."); // exception here
would crash the application, while

char name[] = "system.fullscreen";
token[0] = strtok(name, "."); 
should work fine.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Problem with Array of char* Pin
error140818-Feb-09 2:10
error140818-Feb-09 2:10 
GeneralRe: Problem with Array of char* Pin
CPallini18-Feb-09 2:28
mveCPallini18-Feb-09 2:28 
GeneralRe: Problem with Array of char* Pin
error140818-Feb-09 2:40
error140818-Feb-09 2:40 
GeneralRe: Problem with Array of char* Pin
CPallini18-Feb-09 3:10
mveCPallini18-Feb-09 3:10 
GeneralRe: Problem with Array of char* Pin
error140818-Feb-09 3:13
error140818-Feb-09 3:13 
GeneralRe: Problem with Array of char* Pin
CPallini18-Feb-09 3:18
mveCPallini18-Feb-09 3:18 
GeneralRe: Problem with Array of char* Pin
Arman S.18-Feb-09 2:03
Arman S.18-Feb-09 2:03 
QuestionRe: Problem with Array of char* Pin
David Crow18-Feb-09 3:19
David Crow18-Feb-09 3:19 
AnswerRe: Problem with Array of char* Pin
error140818-Feb-09 5:25
error140818-Feb-09 5:25 
GeneralRe: Problem with Array of char* Pin
David Crow18-Feb-09 5:30
David Crow18-Feb-09 5:30 
GeneralRe: Problem with Array of char* Pin
error140818-Feb-09 6:00
error140818-Feb-09 6:00 
GeneralRe: Problem with Array of char* Pin
David Crow18-Feb-09 6:06
David Crow18-Feb-09 6:06 
GeneralRe: Problem with Array of char* Pin
ilostmyid218-Feb-09 19:32
professionalilostmyid218-Feb-09 19:32 
QuestionHow to change the column order or position? Pin
mikert_200817-Feb-09 23:53
mikert_200817-Feb-09 23:53 
AnswerRe: How to change the column order or position? Pin
David Crow18-Feb-09 3:21
David Crow18-Feb-09 3:21 
Questionsaving list control data in a string Pin
brucewayn17-Feb-09 23:48
brucewayn17-Feb-09 23:48 
AnswerRe: saving list control data in a string Pin
«_Superman_»17-Feb-09 23:58
professional«_Superman_»17-Feb-09 23:58 

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.