Index: unexnt.c =================================================================== RCS file: /pack/xemacscvs/XEmacs/xemacs/src/unexnt.c,v retrieving revision 1.12 diff -u -r1.12 unexnt.c --- unexnt.c 2002/03/13 08:53:02 1.12 +++ unexnt.c 2002/04/02 10:25:42 @@ -128,7 +128,7 @@ { char executable_path[PATH_MAX]; - if (GetModuleFileName (NULL, executable_path, PATH_MAX) == 0) + if (qxeGetModuleFileName (NULL, executable_path, PATH_MAX) == 0) { exit (1); } @@ -225,7 +225,7 @@ dump_bss_and_heap (&in_file, &out_file); /* Patch up header fields; profiler is picky about this. */ - hImagehelp = LoadLibrary ("imagehlp.dll"); + hImagehelp = qxeLoadLibrary ("imagehlp.dll"); if (hImagehelp) { PIMAGE_DOS_HEADER dos_header; @@ -534,13 +534,13 @@ void *file_base; unsigned long size, upper_size, n_read; - file = CreateFile (filename, GENERIC_READ, FILE_SHARE_READ, NULL, + file = qxeCreateFile (filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); if (file == INVALID_HANDLE_VALUE) abort (); size = GetFileSize (file, &upper_size); - file_mapping = CreateFileMapping (file, NULL, PAGE_WRITECOPY, + file_mapping = qxeCreateFileMapping (file, NULL, PAGE_WRITECOPY, 0, size, NULL); if (!file_mapping) abort ();