Hi Shankari,
I am trying to invoke unmanaged call with a flag as
the first parameter of the call. (Since C doesnt do
parameter matching, I can get away with this).
So, i call f( flag, param1)
The corresponding call that is invoked in the shared
library is f(param1).
I'm not sure if I understand you. You have a
C prototype
void func (foo flag, bar param)
and you want to have a C# prototype that looks like that?
static void func (bar param)
Then you can write:
[DllImport(...)]
static extern void func (foo flag, bar param);
static void func (bar param)
{
func (whatever, param);
}
Rob
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list