Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

DLL Uninjection Freezes Client #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Inject the dll (by drawing creature text, for example)
2. Close your program so the pipe closes and the DLL uninjects itself

What is the expected output? What do you see instead?

All the text is removed, as usual, but then the client freezes and you must
quit it manually. Further, when you stop the client using normal methods
(not the task manager) only the main window closes, but the process remains
running.

Original issue reported on code.google.com by ian320 on 16 Mar 2009 at 1:00

GoogleCodeExporter commented 9 years ago
I think it has been fixed and no one closed this issue. Can you verify it?

Original comment by geancarl...@gmail.com on 8 Apr 2009 at 10:22

GoogleCodeExporter commented 9 years ago
No it is still broken. For instance, in a test app, add a context menu item, 
test it,
then close the app. A MessageBox will pop up in the client saying Pipe 
Disconnected,
and then the client will freeze.

Original comment by ian320 on 9 Apr 2009 at 1:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
With r636 this problem doesn't occur if you call DisconnectPipe, and I haven't 
been
able to reproduce it by following your steps. I get the MessageBox saying Pipe
Disconnected but my client doesn't freeze.

Original comment by joebingham07@gmail.com on 16 Apr 2009 at 2:42

GoogleCodeExporter commented 9 years ago
Fixed in r639. You never have to call DisconnectPipe. If you shut down your app 
the
DLL will be removed automatically. The problem was that the DLL was closing a 
thread
in Tibia, probably the one that handles IO.

Original comment by ian320 on 20 Apr 2009 at 8:09