Loading dll when program starts

How to load dll when program starts? For example, I start notepad.exe, then message pops up 'Notepad started'?. I have no idea where to start to :D
Anyone?
Topic archived. No new replies allowed.