Board index » delphi » Threads: Access violation on COM-Server destroing
Alex Penner
![]() Delphi Developer |
Sun, 09 Nov 2003 16:58:10 GMT
Threads: Access violation on COM-Server destroing
Hello all,
I'll try to explain, what I'm trying to do: My program uses COM-Server - say Foo1 procedure TThread.Execute; function Foo1.Connect: boolean; try FFoo2 := CoFoo2.Create; except That works so far. After that the thread goes terminated. destructor Main.Destroy; destrucor Foo1.Destroy; function Foo1.Disconnect; if FFoo2.IsConnected then try except if ComInit then CoUninitialize; inherited; Any Ideas? |