Finding entry points in an unmanaged dll
Posted on 2006-04-04
I'm looking for some help trying to call methods from the mozilla XPCOM dll. Mozilla say it has a method called "NS_InitEmbedding", but when I use this code (C#):
public static extern IntPtr NS_InitEmbedding(object aMozBinDirectory, object aAppFileLocProvider);
I get the error:
System.EntryPointNotFoundException was unhandled
Message="Unable to find an entry point named 'NS_InitEmbedding' in DLL 'xpcom.dll'."
Is there a way I can scan the dll for all entry points?
Is what i'm trying to do even possible?