My understanding is that a preloaded package is one specified in the project options (Packages tab Delphi 5).
Delphi will load these with your EXE at startup. So if they are not in the current directory or on the path startup fails. Never tried to unload one, the idea is that they are global to the app (otherwise why preload them?). Not sure how you could unload it, unless you can find the handle Delphi got when it pre-loaded it. Compare to "not preloaded", meaning you did it yourself inside your program using the LoadPackage routine... and can therefore unload it whenever you want by passing the handle to UnloadPackage. > reynaldi81 wrote: >> i keep getting this error message when trying to unload preloaded >> package. "Exception EAccessViolation in module rtl70.bpl at 00008EEC". >> does anyone know what might caused this problem? > > What is a "preloaded" package? How do you load it? How do you unload it? > > -- > Rob > > >

