Shouldn't IEUnLoadIOPlugins be made public or maybe consider
function IEUnloadIOPlugin(APlugin: string): Boolean; be developed to unload a plugin when the developer is done using a plugin?
procedure IEUnLoadIOPlugins;
var
i: integer;
p: PIEIOPlugin;
begin
for i:=0 to ioplugins.Count-1 do
begin
p := ioplugins[i];
IEFileFormatRemove( p^.FileType );
if (p^.Capability and IEX_MULTITHREAD) = 0 then
DeleteCriticalSection(p^.PluginsCS);
FreeLibrary( p^.libhandle );
dispose( p );
end;
ioplugins.Clear();
end;
William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html