Commit graph

557 commits

Author SHA1 Message Date
Dmitry Timoshkov
05c88fa664 Make FindResource and FindResourceEx fully windows compatible. 2000-08-11 12:50:56 +00:00
Alexandre Julliard
52900c818f Make PDB, ENVDB and STARTUPINFO global variables.
Added 'module' field in PDB, and removed Wine-specific fields.
2000-08-09 22:33:42 +00:00
Alexandre Julliard
231674d824 Removed the DOS handles table from the PDB and made it a static
variable.
2000-08-09 22:30:18 +00:00
Alexandre Julliard
32936f0e48 Fixed resource functions to work with 32-bit modules that don't have a
16-bit counterpart (necessary for LOAD_LIBRARY_AS_DATAFILE support).
2000-08-07 23:50:00 +00:00
Peter Ganten
b9f350b517 Set up exe_modref before loading implicitly linked dlls. 2000-08-07 17:10:20 +00:00
Alexandre Julliard
081ee94117 - Fixed resource functions to work directly from the HMODULE instead of
requiring a modref.
- Attempted to get LOAD_LIBRARY_AS_DATAFILE right (based on patches by
  Eric Pouech and Dusan Lacko).
- Simplified modref structure and handling.
2000-08-07 04:12:41 +00:00
Alexandre Julliard
cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
93652e1a68 Moved a bunch of functions out of libwine/kernel/gdi into USER. 2000-08-04 04:21:02 +00:00
Peter Ganten
44d0d1907e WinExec16 should not split quoted filenames with spaces. 2000-08-01 20:55:22 +00:00
Ove Kaaven
e3d70795ff Fixed another non-Linux build failure. 2000-08-01 20:52:20 +00:00
Alexandre Julliard
15aef00f29 Skip quoted program name when building command line. 2000-07-31 21:02:53 +00:00
Alexandre Julliard
fd8a6de90a Backed out FindResource language patch. 2000-07-31 20:59:59 +00:00
Ove Kaaven
6200a48b70 Fixed a few problems. 2000-07-31 20:58:31 +00:00
Ove Kaaven
7248d47fd2 Convert DOS (MZ) binary loader to the new DOS process model. 2000-07-31 20:56:28 +00:00
Alexandre Julliard
946a4448af Cleaned up a few USER dependencies. 2000-07-30 13:50:27 +00:00
Ove Kaaven
e3b353e220 Removed hModule parameter from MZ_AllocDPMITask(), and renamed
MZ_KillModule() to MZ_KillTask().
2000-07-30 13:41:13 +00:00
Ove Kaaven
3bbd167a46 Removed usage of obsolete pModule->lpDosTask. 2000-07-30 13:27:08 +00:00
Alexandre Julliard
58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Alexandre Julliard
0aa6cc298e Removed a few external dependencies from ntdll. 2000-07-29 21:56:59 +00:00
Ove Kaaven
d5cab2a058 Added support for the Win32 Console interface to the main DOSVM event
loop. Cleaned up event dispatching code a bit.
2000-07-29 14:34:45 +00:00
Ove Kaaven
a9c19f0710 Let Int09 routines remember a keystroke's ASCII code, if available. 2000-07-29 11:30:28 +00:00
Dmitry Timoshkov
f1fd89db42 FindResourceExA/W should search for the specified language resource only.
FindResourceA/W should search for any language resource.
2000-07-29 00:01:57 +00:00
Ove Kaaven
7b49914afc Removed the hModule parameter from various DOSMEM routines, the DOSMEM
routines now always use the current memory space.
2000-07-28 22:23:59 +00:00
Alexandre Julliard
99e1e8106c Return the proper error code when a 16-bit task failed to start
(thanks to Peter Ganten).
2000-07-26 18:03:43 +00:00
Andreas Mohr
b021fe2911 Added detection code for very old Windows (1.1, 2.0, ...) binaries to
MODULE_GetBinaryType().
2000-07-26 18:02:28 +00:00
Dave Pickles
a64603d3d6 Improved FormatMessage:
- Added full support for FORMAT_MESSAGE_FROM_SYSTEM
- Implemented language search as documented
- Illegal combinations of options trapped.
- Message table for system messages added.
2000-07-25 17:53:58 +00:00
Alexandre Julliard
b18dbd26c5 Perform NE_InitProcess in the context of the new task. 2000-07-25 12:11:53 +00:00
Ove Kaaven
9b2060afab Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using
the ugly Dr7 hack.
2000-07-23 13:36:41 +00:00
Alexandre Julliard
a3e0cfc5fb Get full path of argv[0] before we change directories.
Make sure process names are long path names.
Cleaned up initialisation a bit.
2000-07-16 18:21:34 +00:00
Andreas Mohr
2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Andreas Mohr
6f83a5ee8f Doc and trace updates. 2000-07-16 15:43:07 +00:00
Marcus Meissner
dad709122a Transmit current directory settings to newly created processes. 2000-07-16 15:42:22 +00:00
Huw D M Davies
10b1b23d40 Create rpcrt4.dll.
Implement UuidCreate (using existing code from CoCreateGuid).
CoCreateGuid calls UuidCreate.
2000-07-15 19:53:50 +00:00
Peter Ganten
ddd1a73675 Fixed a file descriptor leak in the PE loader. 2000-07-15 19:44:29 +00:00
Andreas Mohr
f8b0725399 Added ws2_32 loadorder. 2000-07-15 15:13:28 +00:00
Gerard Patel
bd55eb8703 Add a warning when the normal load address for a win32 program is not
available.
2000-07-15 15:11:31 +00:00
Andreas Mohr
e0a08423a0 Added loadorder entry for the Linux glide3x library. 2000-07-15 14:58:08 +00:00
Andreas Mohr
96293d4c29 Rename MODULE_InitDll to MODULE_InitDLL for the sake of consistency. 2000-07-08 18:28:03 +00:00
Alexandre Julliard
596921da0c Make sure the cmdline passed to CreateProcessA is writeable (thanks to
Peter Ganten <peter@ganten.org>).
2000-06-24 20:53:47 +00:00
Dave Hawkes
fd54c98abd GlobalFree16 returns NULL on success, but DestroyAcceleratorTable
should return TRUE on success.
2000-06-23 16:51:19 +00:00
Dmitry Timoshkov
5890c09983 Use GetSystemDefaultLangID() instead of WINE_LanguageId. 2000-06-18 19:31:19 +00:00
Ove Kaaven
fefb104327 Make the base relocation message a WARN, not a FIXME. 2000-06-18 17:21:12 +00:00
Dmitry Timoshkov
3332bd068e Optimized implementation of LoadStringA. 2000-06-15 00:11:06 +00:00
Juergen Schmied
13d74c5f0a - new dll shfolder.dll
- small fixes
2000-06-13 03:45:52 +00:00
Alexandre Julliard
5ea22474bb Use the Unicode string functions from wine/unicode.h instead of the
crtdll ones.
2000-06-13 01:10:29 +00:00
Alexandre Julliard
13c965cc9f Make sure GetModuleFileName16 does not return garbage even if the path
is not valid (thanks to Andreas Mohr).
2000-06-10 04:45:52 +00:00
Alexandre Julliard
8fe0551aa3 Removed a few unnecessary includes. 2000-06-08 04:57:58 +00:00
Alexandre Julliard
e3332128b0 Use FILE_SHARE_READ to open the file in GetBinaryTypeA. 2000-06-08 01:00:16 +00:00
Alexandre Julliard
ec77b8387f Send full path name and debug information in load_dll event. 2000-06-08 00:58:50 +00:00
Ulrich Weigand
7e85ea7c86 Moved stack switch handling (large stack) to sysdeps.c
Enable exception dispatch while on large stack.
2000-06-04 01:35:43 +00:00