Hi Mattias,

I did that allready as it was my first suspicion. Everything is there.
fuslogvw doesn't show any entries at all. very strange.

I posted two small idl files in DOTNET-CLR 2 minutes ago. Along with a small
explanation, 
they reproduce the problem I'm facing. Care to take a look? :-)

cheers
Frederic

-----Original Message-----
From: Mattias Sj�gren [mailto:mattias@;MVPS.ORG]
Sent: Friday, November 08, 2002 11:59 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Implementing a COM interface, returning
an interface pointer from method


Frederic,

>The compiling goes fine but when regasm is called on the produced assembly,
>i get a strange error as shown in the next paragraph:
>
>COM Interop registration failed. Type library exporter encountered an error
>while processing 'DotNetPlugin'.  -Error: Type library exporter can not
load
>type DotNetPlugin.DotNetPlugin (error: System.TypeLoadException: Method
>GetAddFormForTab in type DotNetPlugin.DotNetPlugin from assembly
>GetAddFormForTab does not have an implementation.).
[...]
>Has anyone faced the same problem? If so, what's the plan here?


You can get this error if one of the interop assemblies your own assembly 
depends on can't be found. Make sure all related interop assemblies 
(COMPOSITEEMISSARYLib etc) are in the local directory, or in the GAC, when 
you run RegAsm. Fuslogvw can probably help you figure out which assembly it 
fails on.


Mattias

===
Mattias Sj�gren
[EMAIL PROTECTED]

You can read messages from the Advanced DOTNET archive, unsubscribe from
Advanced DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to