Re: MessageBox in a Hello-world app should not show ???

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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- -





.



Relevant Pages

  • Re: Dolphin on Wine - starting to look good
    ... GUI, viral DRM stupidity, software and hardware incompatibility, annoying ... Understood that Dolphin is innocent, but it is also tied to Windows. ... I am fairly certain I would be running all Linux servers at this point were it not for that fact. ... Unicode by default, i.e. all strings are Unicode strings, all GUI ...
    (comp.lang.smalltalk.dolphin)
  • Re: Pwdump2 with UNICODE?
    ... Subject: Pwdump2 with UNICODE? ... so you can basically echo a bunch of ftp commands to a file, ... > the governing KPMG client engagement contract. ...
    (Pen-Test)
  • Re: How to integrate tcl with VC++
    ... >> package require registry ... Don't build for unicode. ... into Tcl's thread, which is what TES does, the GUI will not freeze. ...
    (comp.lang.tcl)
  • Re: atof() and _tstof() in VC6.0
    ... The application is made with visual studio 6.0 and i want to be able to ... compile it with and without the _UNICODE preprocessor definition. ... atoicommands in _ttoicommands so it will suport both _UNICODE and ... > Do i need to upgrade to Visual Studio 7.x or can i download some package ...
    (comp.lang.cpp)
  • Re: atof() and _tstof() in VC6.0
    ... The application is made with visual studio 6.0 and i want to be able to ... compile it with and without the _UNICODE preprocessor definition. ... atoicommands in _ttoicommands so it will suport both _UNICODE and ... > Do i need to upgrade to Visual Studio 7.x or can i download some package ...
    (microsoft.public.vc.mfc)