Commit Graph

79 Commits

Author SHA1 Message Date
Alexandre Julliard c585a501d9 Changed the Win32 dll descriptor to be in IMAGE_NT_HEADERS format.
Generate the import table directly in PE format.
Added gui/cuiexe_no_main modes in EXE spec files, and use this for the
main wine binary.
2000-09-27 23:40:43 +00:00
Andreas Mohr c23bf4336c Display an ERR() in case of undefined symbols. 2000-09-26 23:08:34 +00:00
Francois Gouget a99ce7ef3d Raised MAX_DLLS to 100. 2000-09-22 20:47:01 +00:00
Alexandre Julliard 6dbf67e566 Moved FILE_dommap() to memory/virtual.c (and renamed it VIRTUAL_mmap). 2000-09-18 01:44:08 +00:00
Alexandre Julliard 07f3844542 Avoid buffer overflows in builtin dll loading (with the help of Dmitry
Timoshkov).
2000-09-01 01:26:16 +00:00
Peter Ganten c7c4246a99 - Always store the full path name of 32bit modules in WINE_MODREF
- Add the possibility to use path names with the --dll command line
  option
- Add the possibility to use the --dll command line option several
  times.
- Note: The colon-sign is now exchanged with the plus-sign, as it is
  part of dos path names.
2000-08-28 21:33:28 +00:00
Alexandre Julliard 5acb979f03 Make sure builtin dlls are never freed since we don't support dlclose
properly yet.
2000-08-08 20:49:48 +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 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Ove Kaaven 70668d1a69 Say that "No handler" messages as fatal. 2000-07-23 13:37:53 +00:00
Andreas Mohr c007a003c8 Replaced the BUILTIN32_dlopen() ERR() by a WARN(). 2000-06-23 15:36:27 +00:00
Alexandre Julliard 291fa66f9d Removed the .xcnlnk section hack, and replaced it by another hack in
the debugger CREATE_PROCESS event handling.
2000-06-08 05:02:19 +00:00
Alexandre Julliard a37dec0c7e Pass the main exe name in the CREATE_PROCESS debug event. 2000-06-08 00:57:24 +00:00
Gerald Pfeifer 76b772e613 #include <sys/types.h> before <sys/mman.h>. 2000-05-14 23:40:56 +00:00
Alexandre Julliard 246c360631 Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Alexandre Julliard b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Eric Pouech 87031a4c4c Added a .xcnlnk section to builtin KERNEL32 PE header. 2000-04-13 19:27:52 +00:00
Alexandre Julliard aabef02912 Include space for resources in the module header instead of doing a
separate allocation.
2000-03-17 15:12:06 +00:00
Alexandre Julliard 05f0b71bb3 Store the list of loaded dlls in the server, and generate debug events
internally.
2000-03-09 18:18:41 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Ulrich Weigand 9ffd403001 Added .spec keyword 'mode' to allow creating built-in EXE modules.
Use built-in EXE modules for WineLib apps (instead of ELF modules).
Removed dummy ELF module creation.
Removed LIBRES handling.
2000-02-03 01:33:48 +00:00
Alexandre Julliard 112d30781f Added automatic registration of built-in DLLs. 2000-01-16 03:37:05 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Alexandre Julliard 5919ae42cb Added support for automatic ordinal allocation.
Output list of function names in sorted order.
Added support for nameless (ordinal-only) entry points.
Cleaned up error handling.
1999-12-26 23:11:58 +00:00
Alexandre Julliard 8551f8ca98 Xiang Li
Implementation of a proxy ODBC32 dll.
1999-12-11 23:56:46 +00:00
Ulrich Weigand 237e8e95b0 Fixed 32-bit module name handling to conform better to Win9x.
Removed OFSTRUCT passing during process creation sequence.
Bugfix: don't set exe_modref when LOAD_LIBRARY_AS_DATAFILE is set.
1999-12-04 04:04:58 +00:00
Ulrich Weigand e7957d6b48 Determine expected_version of PE buddies from the SubsystemVersion. 1999-11-10 19:45:56 +00:00
Francois Gouget edf3e434b0 Added ICMP DLL implementation. 1999-11-07 21:22:17 +00:00
Eric Pouech abe722778f Added built-in msacm.drv and midimap.drv drivers. 1999-10-31 02:23:49 +00:00
Eric Pouech d2344fbbcd Fix loading of modules: now search key is module's filename, not
module's name.
1999-10-13 15:59:26 +00:00
Eric Pouech 2b4102e459 Added WINEOSS descriptor. 1999-09-22 16:53:54 +00:00
Juergen Schmied 1e5f0fea9f New internal dll, exporting already existing path functions. 1999-08-15 17:03:37 +00:00
Eric Pouech 0147eedeff Added WINMM resources. 1999-07-24 10:46:21 +00:00
Ulrich Weigand cd6f599743 Share the HMODULE of built-in modules over all processes.
Use the cached HMODULE to speed up relay debugging.
Display the multi-instantiation warning only for 'dangerous' DLLs.
1999-06-22 19:13:08 +00:00
Alexandre Julliard 06b978991b Win32 register functions can now have arguments.
Simplified relay debugging for register functions.
1999-05-13 16:13:17 +00:00
Alexandre Julliard 936d663b03 Fixed bug I introduced in relay debugging. 1999-05-12 16:10:53 +00:00
Alexandre Julliard e4177e67cf Added import declaration for Win32 built-ins. 1999-05-12 09:57:37 +00:00
Alexandre Julliard 3eb441c7c4 Added support for forwarded ordinals in built-in dlls. 1999-05-10 14:44:47 +00:00
Eric Pouech 9caedbd948 Fixed typo. 1999-05-08 09:29:00 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Eric Pouech 281c927317 - got rid of all the internal MM tweaks to load builtin MCI
drivers. They are all seen as drivers, loaded as DLLs and standard
  module loadorder is used to know which type to use (builtin vs
  native).
- first full working implementation of mmThread??? functions (to
  support gracefully native MCI drivers).
- support of mmShowMMCPLPropertySheet.
- fix of some heap validate bugs (thanks to Ulrich for reporting them).
1999-05-02 10:21:49 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Marcus Meissner 12323e4fca Include debug.h last (ERR() macro problem on Solaris). 1999-04-22 09:09:18 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Bertho Stultiens c1d1cfe976 Reorganization of the loader to correctly load and free libraries and
implementation of load order to load different types of libraries.
1999-04-18 12:14:06 +00:00
Marcus Meissner 461ded42ac Added -dll option for winelib programs. (Note: will not print warnings
on failure currently).
1999-03-22 14:54:05 +00:00