Hi
I am having problems in accessing a static Library of geomedia engine which
is GIS Package.
they have provided the dll with a Type library which can be referenced in
visual basic 6.0 and works. but to use the same dll in C# when i try the
tlbimp tool on this tlb only the enums are exported and no function
signatures. also when i try to access the functions using the P/Invoke
service i am getting all sorts of errors like "Null reference" and "control
id" not found errors.
when i create a wrapper in vb6 and then access these functions in .net it is
working fine.
how to call these libaries directly. all the functions are decorated and i
also tried using their ordinal positions.
Can u help out ??
Mattias Sj?gren - 06 Sep 2003 16:46 GMT
>Can u help out ??
Maybe. I have a tool that outputs DllImport declarations for module
functions in a typelib. It's not fully working yet, so it's not
publicly available. But if you can send me the typelib(s), I'd be
happy to give it a try and see if it outputs something useful.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Santhosh - 08 Sep 2003 05:53 GMT
Hi mattias
Hi please send me your mailid so i can send the typelibs. your mailserver is
rejecting the mail is sent
Santhosh - 09 Sep 2003 06:34 GMT
Hi Mattias
did u check the typelib i sent