How to apply C++ in C# Projects on Smart Devices

Hi,

In my current project I'm performing a set of very time consuming operations. Unfortunately even employing pointers doesn't yield a significant advantage in this C# project.
My idea is, to outsource this piece of code to a C++ class library. During this attempt I was confronted with new problems:
  • To use C++ methods in C#, the DLL has to contain a Manifest, which is only possible with managed extensions (/clr-compiler option)
  • C++ managed extensions are not enabled in Smart Device class libraries
  • PInvoke on Smart Devices can only be performed with Winapi-DLLs
A possible resolution would be to create a Winapi-like DLL, which I don't know how to accomplish.
Does anybody know an approach to this problem

Thank you!


Answer this question

How to apply C++ in C# Projects on Smart Devices