Groups | Blog | Home
all groups > dotnet compact framework > december 2007 >

dotnet compact framework : HELP: Problem, in C#, receiving window message from a native Win32 dll



BesterOfer@gmail.com
12/23/2007 3:49:37 PM
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.

ctacke/
12/23/2007 7:49:58 PM
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



[quoted text, click to view]

AddThis Social Bookmark Button