Ove Kaaven <[EMAIL PROTECTED]> writes: > It puts the usual "lpDosTask" pointer into the Win32 PDB, then it's going > to be removed from the NE module structure. Then MZ_Current() will just > return PROCESS_Current()->dos_task, instead of having the module code > messing with Win16 task and module structures... You could use a global variable, that would be even cleaner than messing with the PDB structure (now that we have separate address spaces we no longer need to stuff per-process data in the PDB). -- Alexandre Julliard [EMAIL PROTECTED]