it was just an interop issue, silly me
I had code like
//---------
[DllImport("coredll")]
public static extern int AMethod();
//---------
which I transform to
//----------
[DllImport("coredll")]
static extern int AMethodCF();
[DllImport("user32")]
static extern int AMethodDT();
public static int AMethod()
{
if(IsDevice)
AMethodCF();
else
AMethodDT();
}
//----------
well, I obviously forgot about the entry point, didn't I ?
the good solution being:
//----------
[DllImport("coredll", EntryPoint="AMethod")]
static extern int AMethodCF();
[DllImport("user32", EntryPoint="AMethod")]
static extern int AMethodDT();
public static int AMethod()
{
if(IsDevice)
AMethodCF();
else
AMethodDT();
}
//----------
"Y. Sivaram" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> It is a hidden file and have a look at the thread
>
>
http://groups.google.com.au/groups?h...dden%26meta%3D
>
> Regarding your MissingMethodException, did you do a dumpbin to check
whether
> the function actually exist?
>
> Best Regards,
> Y. Sivaram
>
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:(E-Mail Removed)...
> > I have an unexpected MissingMethodException in my code using some
interop.
> > I tried to understand.
> >
> > I looked (with the windows explorer of the desktop) in my device\windows
> > and I can't find any coredll.dll !! (just find coredll-dll.sig)
> >
> > is it normal ?
> > (I mean is it one of those invisible dll ?)
> >
> >
> >
>
>