This is a good article to get you started… It’s written for C++ but it will at least teach you the concepts required.
(Edit: Basically, you can use a windows hook on WH_GETMESSAGE and then use SetWindowLong to set the message proc to your own. You MUST subclass from within the Paltalk process – hence the necessary hook. I dont know much about vb, so I have no idea if a) you can compile shared memory segments, and b) if it’s possible to dll inject.)
Good luck 🙂