Alexandre Julliard
9ee9efff1b
Use the standard CreateThread routine to create 16-bit tasks instead
...
of duplicating the code.
2001-02-28 05:29:50 +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
Alexandre Julliard
becb9a353b
Moved all Wine internal definitions out of process.h.
2000-12-11 03:48:15 +00:00
Alexandre Julliard
6170666f25
Moved useful NE format definitions to winbase16.h.
2000-12-01 21:31:02 +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
Andreas Mohr
cabee39f3c
Free the Win16 dummy module and wm->deps.
2000-10-25 21:22:27 +00:00
Alexandre Julliard
0e236a1f37
Removed GetResDirEntryA/W.
2000-10-24 21:35:14 +00:00
Alexandre Julliard
81800b1f6d
Use a binary search to find entries in resource directories.
...
Fixed GetResDirEntryA/W prototypes.
2000-10-19 20:29:53 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Dmitry Timoshkov
05c88fa664
Make FindResource and FindResourceEx fully windows compatible.
2000-08-11 12:50:56 +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
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
Ove Kaaven
660b5105af
Removed DOS task fields from the NE_MODULE structure.
2000-07-31 23:22:55 +00:00
Alexandre Julliard
a37dec0c7e
Pass the main exe name in the CREATE_PROCESS debug event.
2000-06-08 00:57:24 +00:00
Alexandre Julliard
c192ba2468
Exec a separate wine binary for every win32 process so that they run
...
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
Alexandre Julliard
f93eb3e319
Authors: Gavriel State <gavriels@corel.com>, Ulrich Czekalla <ulrichc@corel.com>
...
Added support for memory mapping of 4k aligned PE binaries. This can
speed up load times significantly for some applications.
2000-04-28 20:26:35 +00:00
Alexandre Julliard
e1e75371d9
Implemented on-demand loading of builtin dlls using dlopen().
2000-04-24 17:17:49 +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
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
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
Ulrich Weigand
0106f85e5f
Delay sending debug events until process initialization is complete.
1999-12-08 03:28:14 +00:00
Ulrich Weigand
2149934a2d
Bugfix: Call DllEntryPoint for *every* process that loads the DLL, not
...
just for the first one.
Bypass 32->16->32 transition when calling DllEntryPoint of built-in.
1999-12-05 02:50:38 +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
61206bd8a0
Simplified hInstance creation/handling.
...
Fixes problems with self-loaders creating DGROUP themselves.
1999-11-21 00:50:30 +00:00
Ulrich Weigand
e7957d6b48
Determine expected_version of PE buddies from the SubsystemVersion.
1999-11-10 19:45:56 +00:00
Ulrich Weigand
c50a1d05de
Adapted to new-style Wine thunks.
...
Removed some now unnecessary function pointers.
1999-08-15 12:45:01 +00:00
Ulrich Weigand
8dbffe70fb
Removed MODULE_GetWndProcEntry16().
...
Use 32-bit window procedures in COMMDLG instead.
1999-07-24 10:27:58 +00:00
Uwe Bonnes
e5266e8a44
Add WINAPI for EntryAddrProc.
1999-07-15 16:09:05 +00:00
Ulrich Weigand
3dff7bb842
Modularized CallFrom/To16 routines. Adapted dependent routines,
...
16-bit snoop/relay debugging, and make rules.
1999-07-11 13:58:31 +00:00
Ulrich Weigand
fbea530884
On NE process creation, move major part of NE EXE module loading and
...
NE instance creation into the child process.
1999-07-03 12:26:29 +00:00
Guy Albertelli
0e65b38ff3
Add new "walk" command options to list processes and modref's.
1999-06-12 10:49:36 +00:00
Alexandre Julliard
d131a17ee0
Use the new debug functions to send debug events at appropriate places.
...
Pass the process creation flags to PROCESS_Create.
1999-05-23 20:02:04 +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
Patrik Stridvall
c7a8dde118
#pragma pack(?) changed to #include "*pack*.h"
1999-04-25 12:36:53 +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
Andreas Mohr
dca5e56b90
- Implemented proper ("real", compressed) Win16 entry tables.
...
- Fixed MyAlloc (AKA NE_AllocateSegment).
- Implemented PatchCodeHandle16.
1999-04-16 08:17:17 +00:00
Ulrich Weigand
e469a583ca
Fixed sequence of DLL_PROCESS_DETACH notification calls.
...
Moved PE_MODREF flags to WINE_MODREF level.
Better handling of LoadLibraryEx flags.
PE_InitTls() changed to work only on the current thread.
1999-03-27 16:45:57 +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
Ulrich Weigand
892627b12b
Pass CreateProcess() SECURITY_ATTRIBUTES through to PROCESS_Create().
1999-03-16 16:29:26 +00:00
Jim Aston
2e1cafa288
Renamed wintypes.h to windef.h.
1999-03-14 16:35:05 +00:00
Ulrich Weigand
1442253dfa
Deleted NE_FreePEResource().
1999-03-10 14:04:39 +00:00
Juergen Schmied
3de25095ed
Fix use of wrong prototype from ntdll.h.
1999-03-09 17:44:58 +00:00
Ulrich Weigand
6e0d38603e
Process creation sequence reorganized:
...
- Removed instance data segment for all but NE modules.
- Check binary type in CreateProcess before loading module.
- Unix process creation moved from WinExec to CreateProcess.
- Bugfix: fill in thdb->teb.htask16 member correctly.
1999-02-28 11:14:32 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Ulrich Weigand
1d90d69f08
Modified process creation sequence: call PE_CreateModule in the
...
context of the new process (in TASK_CallToStart).
Changed all PE/Module routines so as to always operate on the current
process; adapted all callers.
1999-02-24 14:27:07 +00:00
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Ulrich Weigand
6d76a209db
Modify NE_FindTypeSection and NE_FindResourceFromType so as to be
...
usable by the VERSION code.
1999-01-31 10:13:44 +00:00
Alexandre Julliard
8da12c43a9
Group commit for recovery after disk crash.
...
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard
f8e741bcbe
Take into account handle inheritance flag.
1999-01-01 16:53:11 +00:00
Ulrich Weigand
ffa2c6f9ba
Reorganized PE module loading to prepare for elf-dll loader.
...
WINE_MODREF creation moved to one central location.
Bugfix: correctly select native/built-in version if .DLL
extension is missing in LoadLibrary call.
1998-12-18 15:38:15 +00:00