/[Sims3RigEditor]/trunk/GR2RigEditor/GR2RigEditor.cpp
ViewVC logotype

Contents of /trunk/GR2RigEditor/GR2RigEditor.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55 - (show annotations) (download)
Thu Aug 12 08:37:47 2010 UTC (9 years, 6 months ago) by william
File size: 919 byte(s)
Fix all, current, c++ compiler warnings and linker errors

1 #define _CRT_SECURE_NO_WARNINGS
2 #pragma warning( disable : 4100 ) // disable 'unreferenced formal parameter' warnings
3 #pragma warning( disable : 4101 ) // disable 'unreferenced local variable' warnings
4 // GR2RigEditor.cpp : main project file.
5 #include <assert.h>
6 #include "..\granny_sdk\include\granny.h"
7 #include "..\gr2lib_cpp\guicon.h"
8 #include "..\gr2lib_cpp\gr2lib_rigeditor_frm.h"
9
10 using namespace System::Diagnostics;
11
12 [STAThreadAttribute]
13 int main(array<System::String ^> ^args)
14 {
15 // Enabling Windows XP visual effects before any controls are created
16 Application::EnableVisualStyles();
17 Application::SetCompatibleTextRenderingDefault(false);
18 try
19 {
20 AttachConsole_();
21 // Create the main window and run it
22 Application::Run(gcnew gr2lib_rigeditor_frm());
23 FreeConsole_();
24 }
25 catch(Exception^ ex)
26 {
27 System::Diagnostics::Debug::WriteLine(ex->ToString());
28 }
29 return 0;
30 }

  ViewVC Help
Powered by ViewVC 1.1.22