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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDI in DLL, with Datamodule

Status
Not open for further replies.

rvcat

Instructor
May 18, 2001
1
FR
Hello,
When a attach DLL, i save Screen and Application of DLL.
Next, i initialise th datamodule of DLL
.....
procedure InitDataModuleDLL(AScreen : TScreen; AAppl : TApplication); export;
Screen := AScreen; // AScreen = Screen Main Application
AAppl.CreateForm(TDataMod, DataMod);
....
Its OK.

When i free DLL, i destroy DataMod, and restore Screen of DLL, Application of DLL.
It's result of "Invalid error pointer ....".
Help.
 
I could be wrong apout this but you may need to close the tables in your data module
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top