PC Review


Reply
 
 
Lloyd Dupont
Guest
Posts: n/a
 
      4th Mar 2004
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 ?)



 
Reply With Quote
 
 
 
 
Lloyd Dupont
Guest
Posts: n/a
 
      4th Mar 2004
my mistake, don't worry !

"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 ?)
>
>
>



 
Reply With Quote
 
Y. Sivaram
Guest
Posts: n/a
 
      4th Mar 2004
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 ?)
>
>
>



 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      4th Mar 2004
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 ?)
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
coredll.dll Cindy Windows XP General 1 15th Apr 2008 05:41 PM
coredll.dll Cindy Windows XP General 1 15th Apr 2008 04:25 PM
coredll.dll =?Utf-8?B?Sm9hY2hpbQ==?= Microsoft VC .NET 9 28th Mar 2007 11:18 PM
CoreDll.dll knit16379 Windows XP General 0 10th Sep 2004 02:40 PM
.net cf and the coredll Mark Microsoft Dot NET Compact Framework 2 6th Apr 2004 04:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:39 AM.