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

Object Reference for EXE and BPL

Status
Not open for further replies.

heecm

Programmer
Dec 3, 2003
10
0
0
JP
Hi All,

My application has an EXE and several BPLs.
I have a unit implementing FormManager to keep track of all the opened forms in EXE. And this FormManager class implements SINGLETON pattern, which means only has ONE instance, and provide a global point of access to it. And this FormManager is created only ONCE in EXE and NEVER in BPLs.

BPLs can access this FormManager object perfectly, BUT whatever data BPLs insert, the EXE cannot see it and vice versa.

Seems like EXE and BPLs have different copy of FormManager. But I did not create FormManager object in any of the BPLs. I just "uses" it only in BPLs.

Any idea?

Thanks.

regards,
CM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top