Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> mirc.exe process remains when ac.dll is loaded
Who_knows
post Aug 30 2007, 06:52 PM
Post #1


Member
**

Group: Members
Posts: 13
Joined: 27-March 06
Member No.: 24



Hi!

I've the following bug:

Mirc 6.3
foobar 0.9.4.4
amip 2.61
ac.dll 1.2

If the ac.dll is loaded when exit mirc, the mirc process stay in system.

Doing an on *:EXIT: /dll ac.dll unload works fine now.

Please check.

BR
Who_Knows
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Aug 30 2007, 07:03 PM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Please check if this version works for you: http://amip.tools-for.net/files/test/ac_mirc.zip .
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Who_knows
post Aug 30 2007, 07:13 PM
Post #3


Member
**

Group: Members
Posts: 13
Joined: 27-March 06
Member No.: 24



Hi Serge!

no, still the same with that version. I see the mirc process in ProcessExplorer after exiting mirc.


BR
Who_Knows
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Aug 30 2007, 08:21 PM
Post #4


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Me and another AMIP user are not able to reproduce this issue. Is there anything specific about your OS and environment?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Markus -voks- Henn
post Aug 30 2007, 08:26 PM
Post #5


Advanced Member
***

Group: Members
Posts: 40
Joined: 13-March 06
From: Germany
Member No.: 3



can't reproduce it with:
foobar2000 0.9.4.4
mIRC 6.21/6.3
AMIP 2.61
ac.dll 1.3
WinXP SP2
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Who_knows
post Aug 30 2007, 08:37 PM
Post #6


Member
**

Group: Members
Posts: 13
Joined: 27-March 06
Member No.: 24



Hi!

I'm using Win2K, but it works fine with mirc 6.21

when i unload the ac.dll in on exit mirc closes normally.

Could it have something to do with that?

Mirc changelog:
4.Fixed custom DLL delay-unload feature so that it is only applied when mIRC exits. In other cases, the DLL is unloaded immediately.

BR
who_knows

see also:

http://trout.snt.utwente.nl/ubbthreads/ubb...e=1&gonew=1
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Markus -voks- Henn
post Aug 30 2007, 08:47 PM
Post #7


Advanced Member
***

Group: Members
Posts: 40
Joined: 13-March 06
From: Germany
Member No.: 3



Ok, nnscript 4.1 unloads all dlls on exit. That's why it's working here.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Aug 30 2007, 08:52 PM
Post #8


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Ok, looks like I've fixed it, try http://amip.tools-for.net/files/test/ac_mirc.zip .
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Who_knows
post Aug 30 2007, 08:57 PM
Post #9


Member
**

Group: Members
Posts: 13
Joined: 27-March 06
Member No.: 24



Hi Serge!

Great, that's it!!! Works fine for me :-)


BR
who_knows
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Who_knows
post Aug 31 2007, 04:40 PM
Post #10


Member
**

Group: Members
Posts: 13
Joined: 27-March 06
Member No.: 24



Hi!

The exit of mirc is working fine with this solution, but the AMIP Server/Client is unloaded in ten minutes with no function and must be reloaded again then. This must be done manually in the script, so i think the version to manually unload the dll in the on exit is the better way for now.


BR
who_knows
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Aug 31 2007, 05:02 PM
Post #11


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Thanks for the input, I'll investigate it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Aug 31 2007, 05:58 PM
Post #12


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



UPDATE:
Fuck Khaled. He changed the API without any notice. So now UnloadDll is called with parameter 2 on exit, 1 on timeout and 0 on manual unload (before mIRC 6.3 it was called with 0 on exit).

I've modified ac.dll to reflect this change and it should work correctly now (will not unload on timeout, but will unload on exit).

Please test: http://amip.tools-for.net/files/test/ac_mirc.zip
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Who_knows
post Aug 31 2007, 06:48 PM
Post #13


Member
**

Group: Members
Posts: 13
Joined: 27-March 06
Member No.: 24



Hi Serge!

I've tested your updated version now.

Here the results:

Loading with on start, OK
Showing music title, OK
Not unloading after ten minutes, OK
Unloading when exit mirc, OK
Mirc really ends, OK

I think this version is working correctly and in the same manner as it did before 6.3


Many thanks!!!

who_knows
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: