-level : beginner
Hi,
I have some code behind a button on my form.
When I press the button, some stuff gets executed (runs fine); including a custom written function.
I have defined the function in the same cpp file,
and prototyped the function at the top of the cpp file.
For some reason, when I try to run a simple MessageBox from within that function, it doesn't compile anymore...
error C2660: 'MessageBoxA' : function does not take 1 parameters
What is wrong here ?
--------------------------------------------------------------------
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
Hi,
I have some code behind a button on my form.
When I press the button, some stuff gets executed (runs fine); including a custom written function.
I have defined the function in the same cpp file,
and prototyped the function at the top of the cpp file.
For some reason, when I try to run a simple MessageBox from within that function, it doesn't compile anymore...
error C2660: 'MessageBoxA' : function does not take 1 parameters
What is wrong here ?
--------------------------------------------------------------------
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------