Mike,
A "better" solution is .NET remoting. ;-)
However to get what you have to work, you can override the Control.WndProc
method to process Windows messages sent to your app.
http://msdn.microsoft.com/library/de...dProcTopic.asp
To send a message to the C++ app, you will need to declare the SendMessage
Win32 API. (I don't have a sample handy.)
Hope this helps
Jay
"Mike Bulava" <(E-Mail Removed)> wrote in message
news:eJZAw%(E-Mail Removed)...
> I'm creating a Custom Plug-in for an ATI Remote, I downloaded there SDK
but
> the damn thing is all in Unmanaged C++. In there example they are posting
> messages to a Window to get the command to execute.. So that I don't have
> to change much of the C++ code, I want to post message for my application
> just like the what is done in the Example. My question is though How can
I
> retrieve the messages in my VB.Net Application posted from the C++ dll?
> I've looked and the MessageQueue object but that isn't going to work
because
> I don't have messagequeuing installed. Does anyone know how I can know
when
> the message is posted or have a better suggestion, I'd Like to stay away
> from changing too much of the C++ code cause I'm finding out that I don't
> know nearly as much about it as i thought I did..
>
>