How to run WndProc?

Blitz3D Forums/Blitz3D Programming/How to run WndProc?

Hello, I tried to embed a blitz3d program I wrote, in a c# program I wrote. I've done that by using the SetParent API, and giving the handle of a panel/other control. Now, I want the two program to send some text to each other, using the SendMessage API, but to recieve it, I need to catch it through the WndProc function. I know how to do that in c#, but I dont know how to do it blitz3d?
Please Help, Thanks in advance.