SendMessage and OnMessage

I have an application which does a sendmessage to a VB application
which I developed to pass along the telephone number sent over a
serial port.  Everything works fine there.  I am converting my VB app
to Delphi 1.0 and in my AppMessage function I do not receive the
sendmessage from the other app.  Anyone know why?

Thanks
Rick Fox