octavian1979
Programmer
Hy,
I have the following problem
I have an aplication witch loads dinamicaly dlls. The application is a MIDIForm and in the DLL are MIDIChilds The loading and unloading of dlls gose OK until I use object from main application (object are tranfered from application to dll as pointer to object). The loading and using te object gose ok but when I close the application an EAccessViolation apears.
Question: What I miss in the close routine of the DLLs to detach the objects ?
I have the following problem
I have an aplication witch loads dinamicaly dlls. The application is a MIDIForm and in the DLL are MIDIChilds The loading and unloading of dlls gose OK until I use object from main application (object are tranfered from application to dll as pointer to object). The loading and using te object gose ok but when I close the application an EAccessViolation apears.
Question: What I miss in the close routine of the DLLs to detach the objects ?