Integration question

  • Thread starter Thread starter Eduardo Pavinato Klein
  • Start date Start date
E

Eduardo Pavinato Klein

Hi.

Ok, I'm sure I can call unmanaged code from my .NET CF application.

But my company product is a mobile middleware, implemented on the .NET CF.
On this middleware our customers can easily develop integrated applications,
like using our complete replication system and many other features.

But if my customer develops in Embedded VB or Embedded VC, how can he use my
..NET CF middleware?
Is there a way to call my .NET CF libraries from Embedded applications?

Thanks,
Eduardo Klein
 
There is no way to call into .NETCF code from native code. One method of
interoperability is to use the MessageWindow class and pass windows messages
between your native application and your managed application. You will need
a method of discovering the window handle (hwnd) of your managed application
from your native code, one such method is to send a custom message as a
broadcast (to all windows) containing a hwnd value. There is an article with
an example of the messagewindow class here:-
http://smartdevices.microsoftdev.com/Learn/Articles/515.aspx

Peter
 
Back
Top