Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use Objects from main app in dll

Status
Not open for further replies.

octavian1979

Programmer
Jun 30, 2004
1
RO
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 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top