Use main() instead of custom entry point.
authorThomas Lopatic <thomas@lopatic.de>
Wed, 28 Mar 2007 14:49:15 +0000 (14:49 +0000)
committerThomas Lopatic <thomas@lopatic.de>
Wed, 28 Mar 2007 14:49:15 +0000 (14:49 +0000)
gui/win32/Shim/Shim.vcproj
gui/win32/Shim/shim.c

index b591daa..eb67e72 100644 (file)
@@ -63,7 +63,7 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               EntryPointSymbol="EntryPoint"
+                               EntryPointSymbol=""
                                TargetMachine="1"
                        />
                        <Tool
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               EntryPointSymbol="EntryPoint"
+                               EntryPointSymbol=""
                                TargetMachine="1"
                        />
                        <Tool
index 666e9ac..58c5b98 100644 (file)
  * to the project. For more information see the website or contact
  * the copyright holders.
  *
- * $Id: shim.c,v 1.5 2007/03/27 03:01:08 tlopatic Exp $
+ * $Id: shim.c,v 1.6 2007/03/28 14:49:15 tlopatic Exp $
  */
 
 #include <windows.h>
 
-void EntryPoint(void)
+int main(int argc, char *argv[])
 {
        STARTUPINFO StartInfo;
        PROCESS_INFORMATION ProcInfo;