HELP: Problem, in C#, receiving window message from a native Win32dll

  • Thread starter Thread starter BesterOfer
  • Start date Start date
B

BesterOfer

Hello everyone.

I am trying to apply a simple IPC between C# and a native Win32 dll,
on a WinCE 5.0 device.
The C# application is a GUI application using TabControl with three
TabPages.

On dll initiation [the first called function] i pass it a handle to a
C# MessageWindow.
The Dll on it's turn post window message [0x401] to notify the C#
code, using the wParam, on various events.

My problem is that messages invoked only after i change the TabPage,
The dll post the message but the C# application get it only after i
selected a different TabPage.

Does anyone has an idea what am i doing wrong?
 
With what we know, it's difficult to say what might be going wrong - your
description of the code sounds like you have it right, but the behavior sure
doesn't match up. Without seeing actual code I don't think we're going to
be able to tell what you did wrong.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
Back
Top