Eric Pouech
71e6a40607
BUILTIN32_LoadLibraryExA: set larger size for internal buffer names.
2003-09-15 20:05:29 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
8ca7e0af78
Added a file_exists argument to wine_dll_load to allow checking
...
whether a failed dll load is because the file didn't exist; more
robust than trying to guess the contents of the error string...
Get rid of BUILTIN32_dlopen.
2003-07-03 18:23:10 +00:00
Alexandre Julliard
f130f8099a
Added possibility to filter relay traces based on the module that
...
called the function. Cleaned up a few traces.
2003-04-07 23:27:54 +00:00
Eric Pouech
1c7afd87f6
- no longer using kernel32's APIs but ntdll's
...
- BUILTIN32_dlopen now properly returns NTDLL style status codes
2003-03-26 01:25:19 +00:00
Eric Pouech
f94c8b85b9
Move some fields (refCount, tls_index and module) from WINE_MODREF to
...
LDR_MODULE.
2003-03-20 22:05:26 +00:00
Eric Pouech
32872b1a57
- implementation of LdrLoadDll out of loader/module.c
...
- in impacted functions, ensure that we only use ntdll functions
- for internal loading, start using NTDLL style for error reporting
- making use of new LdrLoadDll
2003-03-14 05:01:20 +00:00
Andrew John Hughes
ed800c69c8
Build ntdll with -DSTRICT.
2002-11-21 03:45:01 +00:00
Patrik Stridvall
9aab47ed24
MSVC compatibility fixes.
2002-08-28 23:42:34 +00:00
Alexandre Julliard
a5dea216cc
Implemented the RtlImage* functions, and use them to replace the
...
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Alexandre Julliard
7f6ecdc2ef
Return ERROR_BAD_EXE_FORMAT when builtin dll still not found, since we
...
most likely loaded a 16-bit builtin.
2002-07-05 01:26:41 +00:00
Alexandre Julliard
9c6ba05436
Make builtins pretend to be loaded from the system directory.
2002-06-13 21:54:56 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr
f16b401e28
Various cosmetic changes.
2002-02-27 21:34:54 +00:00
François Gouget
85a663f3ae
Recognize the FreeBSD dlopen equivalent of "cannot open".
2001-11-09 19:17:35 +00:00
Francois Gouget
2905e0fb36
Recognize the Solaris dlopen equivalent of "cannot open".
2001-10-14 16:06:54 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Andreas Mohr
4022ae07da
Print all problems as ERR() except for "could not open" library, which
...
is WARN().
2000-12-22 01:55:50 +00:00
James Abbatiello
e675887129
Work around glibc 2.1.x dlopen bug (again).
2000-12-13 21:32:55 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
751625e089
Got rid of main.h.
2000-12-12 00:50:19 +00:00
Alexandre Julliard
886604c715
Always pass lower-case filenames to wine_dll_load().
...
Clear dlerror() before and after calls to dlopen/dlsym to work around
a glibc bug (thanks to James Abbatiello for tracking the bug).
2000-12-05 21:17:59 +00:00
Andreas Mohr
5f48ff3cf8
Fixed dlerror() check to use strstr().
2000-12-05 04:00:54 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Alexandre Julliard
32fcfc24ae
Removed "elfdll" load order option and updated documentation.
2000-11-30 01:15:30 +00:00
Alexandre Julliard
99b25c50c5
Repaired relay debugging.
2000-11-10 20:49:07 +00:00
Alexandre Julliard
db4c45671f
Do builtin modules fixups in library/loader.c before calling the
...
load_dll callback.
2000-11-08 23:02:48 +00:00
Alexandre Julliard
e087508f57
Moved builtin dll registration to libwine.
...
Changed process initialization to not load imported dlls too early.
2000-11-08 04:33:20 +00:00
Alexandre Julliard
94613ab03e
New debug channel mechanism allowing decentralized channel
...
declarations.
2000-11-05 04:51:34 +00:00
Alexandre Julliard
634824be58
Raise an exception when a stub entry point is called.
2000-10-26 22:03:34 +00:00
Alexandre Julliard
cae289cbe4
Removed no longer used structure definition.
2000-10-25 20:32:25 +00:00
Alexandre Julliard
21ec006fc1
Build Win32 resources as .res files and dump them into the .spec.c file.
2000-10-23 21:39:39 +00:00
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