How do I send/receive windows messages between VB6 and c#?
Posted
by
cabgef
on Stack Overflow
See other posts from Stack Overflow
or by cabgef
Published on 2009-10-29T17:07:11Z
Indexed on
2012/11/22
23:00 UTC
Read the original article
Hit count: 212
I know I can receive messages with the code below in c#, how do I send to vb6, and receive in vb6, and send from vb6?
[System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")]
protected override void WndProc(ref Message m)
{
int _iWParam = (int)m.WParam;
int _iLParam = (int)m.LParam;
switch ((ECGCardioCard.APIMessage)m.WParam)
{
// handling code goes here
}
base.WndProc(ref m);
}
© Stack Overflow or respective owner