Is is possible to call a C# Dll function from an unmanaged DLL on a WinCE 4.1 machine?

R

redrum

Here is the situation...I am in a scenario where one can only call
DLL's through loadlibrary (no control of the program just add-on
scripts) so calling a C# DLL function directly is out of the question
(without decompileing to the idl, hacking it and recompiling the dll).
So I am wondering if there is any way to accomplish writing a "Bridge"
with like eVC++ or another language that will run under WinCE 4.1.
The Bridge DLL would be used to export DLL functions but be able to
call the managed C# DLL functions Directly. Something like this can
be coded in MC++ but since MC++ cannot be run under WinCE I was
wondering if there was anyway to accomplish this in a language that
runs under WinCE (i.e. eVC++)

Nick
 
C

Chris Tacke, eMVP

There is no way to call into a managed DLL from unmanaged code (well no
documented or simple way - I'm sure with enough work it can be done).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top