Re[7]: Making mahogany with vc++ 7.1 probs

Vadim Zeitlin <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Fri, 24 Mar 2006 12:03:15 +1000 (E. Australia Standard Time) Mark Livingstone <[email protected]> wrote:

ML> On Thu, 23 Mar 2006 13:15:07 +0100 Vadim Zeitlin <[email protected]>
ML> wrote:
ML> 
ML> >  Of course, it's weird that winnt.h (a C header) has templates in the first
ML> > place and my, admittedly not very recent, version doesn't. But if it
ML> > compiles from wx, it should compile from M too.
ML> > 
ML> >  Anyhow, have you tried to build a 3 line hello world:
ML> > 
ML> > 	#include <windows.h>
ML> > 
ML> > 	extern "C" int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
ML> > 	{
ML> > 		MessageBox(NULL, "Hello, Windows!", "Hi", MB_ICONINFORMATION);
ML> > 		return 0;
ML> > 	}
ML> 
ML> That worked fine!

 If including windows.h like this works fine I have really no idea why
doesn't it work when done from Mobject.cpp, sorry.

VZ



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.