Win32 Applications...

Pages: 12
Jun 30, 2011 at 7:55pm

But where i must put it?


Put what? I don't have a clue what you are talking about, and I can't read minds.
Jun 30, 2011 at 7:56pm
MessageBox(hWnd, IGNORE_THE_COMPILER("Some Message"), "Title", MB_STUFF_THE_COMPILER);

that :(
Jun 30, 2011 at 8:42pm
Oh! Sorry! Question for Lamblion I guess!
Jun 30, 2011 at 9:51pm
Oh, I apologize. I should have elaborated.

You put that function in a loop, so that if you get an error, you can default to the You_Know_What_I_Mean() function. For example --

1
2
3
4
5
if(MessageBox(hwnd,IGNORE_THE_COMPILER("Some Message"), "Title", MB_STUFF_THE_COMPILER)==ID_ERROR)
{
     You_Know_What_I_Mean();
     return 0;
}


And that way the program continues on with what you wanted it to do in the first place.

I'll have to look up the actual code fot the You_Know_What_I_Mean() function and post it here when I can find it again. It's been a long time since I wrote it. -:)
Jun 30, 2011 at 10:02pm
ok thanks man :)
Jun 30, 2011 at 10:10pm
But Where Exacly i need to put this :
if(MessageBox(hwnd,IGNORE_THE_COMPILER("Some Message"), "Title", MB_STUFF_THE_COMPILER)==ID_ERROR)
{
You_Know_What_I_Mean();
return 0;
}

to work fine :?
Jun 30, 2011 at 11:08pm
You do realize that I am just joking and that that code is not any valid code whatsoever? -:)

But if you ever find a compiler that will compile it without error, let me know, 'cause I can make us both a lot of money if you can!
Topic archived. No new replies allowed.
Pages: 12