Board index » delphi » ===>>> Strange behavior when calling _Release
naji
![]() Delphi Developer |
Sun, 27 Jan 2002 03:00:00 GMT
===>>> Strange behavior when calling _Release
Setup:
OS: NT 4.0 SP 5 Server written with VC++ 6.0 using ATL Client written in Delphi 3.0 prof. -Imported .tlb that was generated by VC++ -Has a form called SomeForm that contains as a private member, m_IStat : IServerStatus; // interface declared in imported .tlb TSomeForm has two buttons: Connect and Disconnect. Here what goes in in method TSomeForm.OnConnect: -edit1.Text := m_ISat.Get_ServerName(); loads the local server fine, gets the name of the server and display it We are supposed to release an interface, are we not? What gives? |