SERIOUS bug with /dll - 13/06/04 05:44 PM
My mirc version: 6.15
My windows version: 98se (portuguese-brazil)
Today i noticed a crash (Ilegal Operation) with my script, so i started to check dlls ands scripts to find the bug. At the end, that's the conclusion:
- If i load the dll on mirc startup (on start), then unload, and load again, it crashes
- If i load the dll after mirc startup, then unload, and load again, it doesnt crashes
Then i put a 1ms timer on "on start" to load the dll, then unloaded and loaded it again, and it crashed, so i tried with a 5s timer and it didn't crash!
So, after this confuse history, the conclusion is:
* If you load a dll during or just after the mirc startup, then unload and load again, it crashes
BUT, i sent the same code to my friend and he tested and he didn't got a crash (he uses windows XP)
i think it only occurs on windows 9x/me
My windows version: 98se (portuguese-brazil)
Today i noticed a crash (Ilegal Operation) with my script, so i started to check dlls ands scripts to find the bug. At the end, that's the conclusion:
- If i load the dll on mirc startup (on start), then unload, and load again, it crashes
- If i load the dll after mirc startup, then unload, and load again, it doesnt crashes
Then i put a 1ms timer on "on start" to load the dll, then unloaded and loaded it again, and it crashed, so i tried with a 5s timer and it didn't crash!
So, after this confuse history, the conclusion is:
* If you load a dll during or just after the mirc startup, then unload and load again, it crashes
BUT, i sent the same code to my friend and he tested and he didn't got a crash (he uses windows XP)
i think it only occurs on windows 9x/me