"MissingMethodException" when function from third party dll called

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I'm using iPAQ Pocket PC as target PDA and NET Compact framework for
development. When I call a method from a third party dll, it gives me
"MissingMethodException", even when the function is exported by the
dll, I checked this using "dumpbin /exports" utility.
I keep the dll in \windows folder. I'm using the following code:
public static extern sbyte Read();

sbyte a = Read(); //throws MissingMethodException

What can be the reason for the exception?
Can anybody pls. help me on this?


Site Timeline