MissingMethodException

  • Thread starter Thread starter saima
  • Start date Start date
S

saima

Hi,
I am having this MissingMethodException from a managed dll
which i am callign from a VB.NET application.
The thing is that One of the classes of the dll is working
fine.It gives no error while calling the methods .That
means i am placing the dll in right location.
But when i call the methods of a different class of the
dll it gives this MissingMethodException. The problem is
that my dll is a third party dll so i can not see the code
in it. What could be the solution to this problem.
I get no error on compile time so this means that the
mehtod names and paramters are the right type.Even if i
call the methods which take no parameters, this exception
occurs. Can anybody plz help!.
regards,Saima.
 
Are you sure the names aren't decorated? Are they publicly expoted? Have
you run depends.exe to see what exactly the DLL is expecting?
 
Hi Saima,

The following FAQ entry provides some common mistakes that can cause this
exception:

6.15. Why do I get a MissingMethodException when I call a function from a
native DLL?
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx#6.15

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
 
ok o, i got it working now. The dll whhich i was calling had some
dependency dlls which the thrid party forgot to send me ... so now i
have got them and they are working fien now.. thanks a lot for the
replies, Cris and geoff.
Saima.
 
Back
Top