Re: MessageBox in a Hello-world app should not show ???
- From: "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx>
- Date: Wed, 4 Jul 2007 21:42:56 -0700
I suppose it's built as GUI, not CONSOLE app? Show its build log, with all
the commands.
"xmllmx" <xmllmx@xxxxxxxxx> wrote in message
news:1183603248.144661.113620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thank you, Joseph. Your books are always my favorites.
Yes, the program is written in UNICODE which is the default option in
VS 2005.
BTW, I think using 0 intead of NULL here has nothing to do with my
problem.
On 7 5 , 10 07 , Joseph M. Newcomer <newco...@xxxxxxxxxxxx> wrote:
Why should it not show?
Note the first parameter to MessageBox isa window handle, and therefore
you should write
NULL, not 0, to make your intention clear.
Why waste space with a lot of useless pragmas in the post?
Is it written in Unicode?
joe
Joseph M. Newcomer [MVP]
email: newco...@xxxxxxxxxxxx
Web:http://www.flounder.com
MVP Tips:http://www.flounder.com/mvp_tips.htm- -
.
- Follow-Ups:
- References:
- MessageBox in a Hello-world app should not show ???
- From: xmllmx
- Re: MessageBox in a Hello-world app should not show ???
- From: Joseph M . Newcomer
- Re: MessageBox in a Hello-world app should not show ???
- From: xmllmx
- MessageBox in a Hello-world app should not show ???
- Prev by Date: Re: WaitForSingleObject() will not deadlock
- Next by Date: Re: WaitForSingleObject() will not deadlock
- Previous by thread: Re: MessageBox in a Hello-world app should not show ???
- Next by thread: Re: MessageBox in a Hello-world app should not show ???
- Index(es):
Relevant Pages
|