M
Marco [Stinger]
Hi
Sorry if this has been asked before but I'm VERY new to the
compact framework.
Here's my problem
I'm writing a program for a WinCE.NET 5 device using Visual Studio 2003
and C#.
This program needs to call a few DLL writen in EmbeddedC++.
I already know that the dll's work since I've tested them with
[DllImport("Name of the Dll")]
extern static int NameOfTheDllFunction( ...parameters ... );
Unfotunately NOT all the DLLs will be installed (they work like plugins).
So I need to choose dynamically the name(s) of the dll I will be calling.
THe idea is that my app must not know the name of the DLLs
All DLLs have the same functions with the same parameters and return type.
I searched the net for some answers but I'm having a hard time.
Look at
www.codeprojects.com/useritems/dynamicinvokedll.asp
That seems like a solution (even thou I think I need to do something
SIMPLER)
but the namespace System.Reflection.Emit seems to be missing from the
compact framework
Any help will be highly appreciated (free coffee if you come to Milan )
Ciao
Marco
Sorry if this has been asked before but I'm VERY new to the
compact framework.
Here's my problem
I'm writing a program for a WinCE.NET 5 device using Visual Studio 2003
and C#.
This program needs to call a few DLL writen in EmbeddedC++.
I already know that the dll's work since I've tested them with
[DllImport("Name of the Dll")]
extern static int NameOfTheDllFunction( ...parameters ... );
Unfotunately NOT all the DLLs will be installed (they work like plugins).
So I need to choose dynamically the name(s) of the dll I will be calling.
THe idea is that my app must not know the name of the DLLs
All DLLs have the same functions with the same parameters and return type.
I searched the net for some answers but I'm having a hard time.
Look at
www.codeprojects.com/useritems/dynamicinvokedll.asp
That seems like a solution (even thou I think I need to do something
SIMPLER)
but the namespace System.Reflection.Emit seems to be missing from the
compact framework
Any help will be highly appreciated (free coffee if you come to Milan )
Ciao
Marco