by vilian » Wed Mar 28, 2007 8:23 pm
Hi,
I need to unload a DLL of which I know only the name. I have as?
-
vilian
-
- Posts: 975
- Joined: Wed Nov 09, 2005 2:17 am
- Location: Brazil
-
by Antonio Linares » Wed Mar 28, 2007 8:41 pm
Vilian,
FreeLibrary( GetModuleHandle( cDllName ) )
-
Antonio Linares
- Site Admin
-
- Posts: 42078
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
-
by vilian » Wed Mar 28, 2007 9:02 pm
Antonio,
It did not function. I need to unload the ACE32.DLL.
-
vilian
-
- Posts: 975
- Joined: Wed Nov 09, 2005 2:17 am
- Location: Brazil
-
by Antonio Linares » Wed Mar 28, 2007 9:43 pm
Vilian,
Try this:
- Code: Select all Expand view
while GetModuleHandle( cDllName ) ) != 0
FreeLibrary( GetModuleHandle( cDllName ) )
SysRefresh()
end
-
Antonio Linares
- Site Admin
-
- Posts: 42078
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
-
Return to FiveWin for Harbour/xHarbour
Who is online
Users browsing this forum: cmsoft, Natter and 59 guests