latigo
January 18th, 2001, 22:37
It all depends on what you want to do and how.
If you want to break when icq LOADS that specific dll then you could try this:
Before launching icq set a breakpoint on 'LoadlibraryA'. This API is used for dll loading. Of course softice will pop up many times. But after you f12 from that breakpoint ,check the parameters pushed looking for the name of the dll you are interested in.
Another thing to do is to disasm the dll, search for some interesting exported functions and then breakpoint them with softice. To do this, launch icq and when in softice do a 'mod icq'. This will show all loaded modules in memory and their respective base addresses. Take note of the base address of the desired dll, add the offset belonging to the piece of code you want to breakpoint and put a bpx there.
Thats two of the many options you got.
Hope i did not get it wrong

Cya mate.
Latigo