Opened 17 years ago

Closed 17 years ago

#7 closed defect (fixed)

Registering of some DLLs with the GC fails

Reported by: cinc Owned by: cinc
Priority: major Milestone:
Component: component1 Version:
Keywords: GC Cc:

Description

nomRegisterDLLByName() fails to register NOBJTK.DLL with the GC if the DLL was not preloaded by hand. Reason is that the DLL searching only finds system DLLs (Loaded modules in kTaskMgr). The imports of these system DLLs are also searched but of course only OS/2 native DLLs will be found. kTaskMgr shows all DLLs btw.

Change History (1)

comment:1 Changed 17 years ago by cinc

Resolution: fixed
Status: newclosed

The list of imports in the process record given back from DosQuerySysState?() for a process does not contain the direct apps imports as one may think. These are specified in the executables (exe file) record to be found in the global list of all lib records.

When building the list of known DLLs the executable itself wasn't added to the list of records. Subsequently imports directly from the executable weren't added to the list.

See http://svn.netlabs.org/v_nom/changeset/286 for the fix.

Note: See TracTickets for help on using tickets.