Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FreeLibrary

1 view
Skip to first unread message

Andy

unread,
Sep 8, 2003, 6:24:40 AM9/8/03
to
Hi,
I've written my own keyboard IM and it goes fine, but I
have a problem when I try to unistall it.
The DLL file is loaded by the system and remain in memory
until the device is "warn-booted".
So I need to reboot my device when I want to unistall my
keyboard.
Does anyone know how to unload (free) the DLL loaded by
another process?
I've tried FreeLibrary but obviously doesn't work as the
DLL is not loaded by my process, it is loaded
by "device.exe" process.
Regards,


Udara W Gunawardane

unread,
Sep 9, 2003, 1:49:58 AM9/9/03
to
I am afraid you cannot avoid a soft-reset here!
The only way to cause the "Device.exe", the host for all device driver DLLs,
to release the lock on your IM dll is a soft-reset.

A similar situation arises when installing/uninstalling the HTTP Server on
Pocket PC. See topic "Deploying the HTTP Server on Pocket PC 2" in eVC 3.0
books online.

UG

"Andy" <andy...@yahoo.com> wrote in message
news:439c01c375f3$69c49720$a501...@phx.gbl...

0 new messages