Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBinary was not built with debug information Pin
RugbyLeague12-Sep-06 3:44
RugbyLeague12-Sep-06 3:44 
AnswerRe: Binary was not built with debug information Pin
toxcct12-Sep-06 3:46
toxcct12-Sep-06 3:46 
GeneralRe: Binary was not built with debug information Pin
RugbyLeague12-Sep-06 3:50
RugbyLeague12-Sep-06 3:50 
Questionhelp please!!!!!!!!!!!!!!! Pin
wiemounir12-Sep-06 3:42
wiemounir12-Sep-06 3:42 
AnswerRe: help please!!!!!!!!!!!!!!! Pin
toxcct12-Sep-06 3:48
toxcct12-Sep-06 3:48 
Generalnothing changes Pin
wiemounir12-Sep-06 4:25
wiemounir12-Sep-06 4:25 
Questionhow to handle screen resolution changes in a floating ccontrolbar Pin
PrabhuDev12-Sep-06 2:55
PrabhuDev12-Sep-06 2:55 
QuestionProblem with MessageBox & Pointing Pin
Semion_N12-Sep-06 2:49
Semion_N12-Sep-06 2:49 
Hello,
I have two question-the first is about MessageBox and the second is about pointing.
1) Whaen I'm trying to use simple MessageBox
MessageBox("hello");
it writes me: error C2660: 'MessageBoxA' : function does not take 1 arguments
but as I know the other arguments are optional, so what is the problem? and why it writes MessageBoxA?

2) I asked a question one or two days ago about my Tic_Tac_Toe project, and have another:
here is the code:Code[^]
Some introduction:
T1/T is a Tic_Tac_Toe object (the class is defined from line 2-12).
PointersToNodes is a pointers array to Tic_Tac_Toe objects.
currentCaseVector is an array of the current board.
and buildNewTree is a function which returns adress of a Tic_Tac_Toe object(line 78).
When I'm running the project it thorows me an error at line 40:
c = T->PointersToNodes[1]->currentCaseVector[i];(c is char).
the error is(I uploaded a picture with the error):
http://img241.imageshack.us/img241/2323/bugmq7.jpg[^]
And those who can't see the picture so the error is:Unhandled exception at 0x004bebbf in Self_Learning_Tic_Tac_Toe.exe: 0xC0000005: Access violation reading location 0xcdcdcdcd.
Why does the error occurs? and how can I fix it?

Thank you!Smile | :)


SnaidiS(Semion)

AnswerRe: Problem with MessageBox & Pointing [modified] Pin
_AnsHUMAN_ 12-Sep-06 2:55
_AnsHUMAN_ 12-Sep-06 2:55 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 3:02
Semion_N12-Sep-06 3:02 
GeneralRe: Problem with MessageBox & Pointing Pin
toxcct12-Sep-06 3:02
toxcct12-Sep-06 3:02 
AnswerRe: Problem with MessageBox & Pointing Pin
Waldermort12-Sep-06 3:11
Waldermort12-Sep-06 3:11 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 3:22
Semion_N12-Sep-06 3:22 
GeneralRe: Problem with MessageBox & Pointing Pin
Waldermort12-Sep-06 3:38
Waldermort12-Sep-06 3:38 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 3:42
Semion_N12-Sep-06 3:42 
AnswerRe: Problem with MessageBox & Pointing Pin
_AnsHUMAN_ 12-Sep-06 3:47
_AnsHUMAN_ 12-Sep-06 3:47 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 4:12
Semion_N12-Sep-06 4:12 
AnswerRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 5:20
Semion_N12-Sep-06 5:20 
GeneralRe: Problem with MessageBox & Pointing Pin
Waldermort12-Sep-06 6:42
Waldermort12-Sep-06 6:42 
GeneralRe: Problem with MessageBox & Pointing Pin
Semion_N12-Sep-06 8:10
Semion_N12-Sep-06 8:10 
Questionwho sent the message "WM_CREATE" and "WM_PAINT"? Pin
bloodwinner12-Sep-06 1:58
bloodwinner12-Sep-06 1:58 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
HakunaMatada12-Sep-06 2:13
HakunaMatada12-Sep-06 2:13 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
_AnsHUMAN_ 12-Sep-06 2:16
_AnsHUMAN_ 12-Sep-06 2:16 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
Hamid_RT12-Sep-06 2:31
Hamid_RT12-Sep-06 2:31 
AnswerRe: who sent the message "WM_CREATE" and "WM_PAINT"? Pin
Hamid_RT13-Sep-06 8:11
Hamid_RT13-Sep-06 8:11 

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.