Opened 6 years ago

Closed 6 years ago

#48 closed enhancement (fixed)

xwlan.dll - xcenter widget does not unload when xcenter is closed

Reported by: andib Owned by:
Priority: minor Milestone: v3.20
Component: xcenter widget Version: 3.14
Keywords: Cc:

Description

Comment by Rich W. -

> When you close XCenter, all of the widget dlls should be unloaded
> and become unlocked. However, that isn't the case for xwlan.dll.
> You have to unlock it, move it out of the 'xcenter' directory,
> then restart the wps to be able to remove or replace it.
> 
> I found what I believe is the cause in this comment by Paul Ratcliffe> in the code for the IPMon widget (xworkplace-1-0\src\widgets\w_ipmon.c):
> 
> // V1.0.5 (2006-05-28) [pr]: Add declarations for importing SO32DLL
> // functions dynamically. If this is done statically, the DLL can't
> // be unloaded, which prevents IPMON.DLL from being unloaded.

Change History (2)

comment:1 Changed 6 years ago by andib

Seems all necessary code for dynamic loading was already there (dltcp.c). But when switching to icc365 there were so32dll.lib and tcp32dll.lib added to linker flags. Obviously the dynamic loaded function are not used anymore but the one from the system dlls. Removing these libs leads to an exception in strupr cause called with a const char string (FUNCTION). ICC365 seems to be more picky about such bugs that 3.08. Anyway fixed dltcp.

Needs additional testing before closing this though.

comment:2 Changed 6 years ago by andib

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.