TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JOHN DUMAS
from: ADAM MAJER
date: 1998-02-03 20:33:00
subject: more dll mischief

JD>How do you stop, unload, or whatever the term, a dll.
JD>When I rerun a program without rebooting the computer it says:
JD>"Cannot create process : an instance of the module is already
running"
There shouldn't be a problem with when two or more apps use the same DLL
since it's suppose to be shared code. All windows application use the
GDI.EXE and other DLLs all the time.
To load a DLL that's not linked into an exe or another dll ie. including
a lib file created from a dll (the lib file replaces the imports section
of the def file and also loads the dll automatically). If a dll is not
included as a lib, then you can load it
  HINSTANCE hInst = LoadLibrary(LPSTR Path);
then free it as
  FreeLibrary(HINSTANCE hInst);
 * SLMR 2.1a * Back Up My Hard Drive? I Can't Find The Reverse Switch!
--- FMail 0.92
---------------
* Origin: The Programmer's Oasis on FIDONET! (1:348/203)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.