Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 10, 2007, 10:36:17 AM (18 years ago)
Author:
nicolasc
Message:

bump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/Tutorial/main.cpp

    r10 r19  
    5858};
    5959
    60 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    61 #define WIN32_LEAN_AND_MEAN
    62 #include "windows.h"
     60//#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
     61//#define WIN32_LEAN_AND_MEAN
     62//#include "windows.h"
    6363
    64 INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
    65 #else
     64//INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
     65//#else
    6666int main(int argc, char **argv)
    67 #endif
     67//#endif
    6868{
    6969    // Create application object
     
    7373        app.go();
    7474    } catch( Exception& e ) {
    75 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    76         MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occurred!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
    77 #else
     75//#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
     76//        MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occurred!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
     77//#else
    7878        fprintf(stderr, "An exception has occurred: %s\n",
    7979                e.getFullDescription().c_str());
    80 #endif
     80//#endif
    8181    }
    8282
Note: See TracChangeset for help on using the changeset viewer.