DDE and IE problem?

How to register echo on IE window and receive URL changes?