Diff of /trunk/py2exe/source/start.c [r725] .. [r726] Maximize Restore

  Switch to side-by-side view

--- a/trunk/py2exe/source/start.c
+++ b/trunk/py2exe/source/start.c
@@ -22,7 +22,7 @@
  */
 
 /*
- * $Id: start.c 686 2009-04-10 01:55:05Z mhammond $
+ * $Id: start.c 726 2013-06-05 18:42:13Z theller $
  *
  */
 
@@ -35,7 +35,7 @@
 #include "Python-dynload.h"
 #include <stdio.h>
 #include <windows.h>
-#include "MemoryModule.h"
+#include "MyLoadLibrary.h"
 
 #if defined(MS_WINDOWS) || defined(__CYGWIN__)
 #include <fcntl.h>
@@ -226,10 +226,10 @@
 void _Import_Zlib(char *pdata)
 {
 	HMODULE hlib;
-	hlib = MemoryLoadLibrary("zlib.pyd", pdata);
+	hlib = MyLoadLibrary("zlib.pyd", pdata, NULL);
 	if (hlib) {
 		void (*proc)(void);
-		proc = (void(*)(void))MemoryGetProcAddress(hlib, "initzlib");
+		proc = (void(*)(void))MyGetProcAddress(hlib, "initzlib");
 		if (proc)
 			proc();
 	}