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

Diff of /trunk/gr2lib_cpp_UnitTest/gr2lib_cpp_UnitTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_cpp_UnitTest/gr2lib_cpp_UnitTest.cpp	2010/08/11 10:59:40	54
+++ trunk/gr2lib_cpp_UnitTest/gr2lib_cpp_UnitTest.cpp	2010/08/12 08:37:47	55
@@ -1,13 +1,19 @@
+#define _CRT_SECURE_NO_WARNINGS
+#pragma warning( disable : 4100 ) // disable 'unreferenced formal parameter' warnings
+#pragma warning( disable : 4101 ) // disable 'unreferenced local variable' warnings
 // gr2lib_cpp_UnitTest.cpp : main project file.
 
+
+#include "..\gr2lib_cpp\VSDebugOutput.h"
 #include "stdafx.h"
-#include "granny.h"
+#include "..\granny_sdk\include\granny.h"
 #include <stdio.h>
 #include <iostream>
 #include <stdlib.h>
 #include <assert.h>
-
+#include <assert.h>
 #include "..\gr2lib_cpp\grannyfile.h"
+#include "..\gr2lib_cpp\guicon.h"
 #include "..\gr2lib_cpp\gr2lib_rigeditor_frm.h"
 
 using namespace std;
@@ -19,6 +25,7 @@
 	cout<<"\nPress {ENTER} to continue.";
     cin.ignore(1);
 }
+[STAThreadAttribute]
 int main(int argc, char const* argv[])
 {
 
@@ -65,9 +72,9 @@
 						   grn_file->GrannyFileInfo->ArtToolInfo->BackVector[0],  grn_file->GrannyFileInfo->ArtToolInfo->BackVector[1],  grn_file->GrannyFileInfo->ArtToolInfo->BackVector[2]);
 				}
 
-				gr2lib_rigeditor_frm^ _editor = gcnew gr2lib_rigeditor_frm(grn_file);
-				_editor->ShowDialog();
-				printf("Art Tool Name: %s",   grn_file->GrannyFileInfo->ArtToolInfo->FromArtToolName);
+				//gr2lib_rigeditor_frm^ _editor = gcnew gr2lib_rigeditor_frm(grn_file);
+				//_editor->ShowDialog();
+				//printf("Art Tool Name: %s",   grn_file->GrannyFileInfo->ArtToolInfo->FromArtToolName);
 			}
 		}
 

 

  ViewVC Help
Powered by ViewVC 1.1.22