Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: floerio on January 26, 2010, 06:59:01 pm

Title: Problem with DLL usage
Post by: floerio on January 26, 2010, 06:59:01 pm
Hi!

I am encountering a problem with DLL usage: We have a project that works as a plugin within EA. This worked without any problems so far.

Since yesterday, I always get the error message "Missing" when looking at the Add-In dialog.

The registration of the dll is done via regasm /codebase /tlb (already tried w/o tlb or codebase).

Looking in Proc Mon one can see that EA seems to access the DLL correctly: "RegQueryValue" returns SUCCESS on getting the correct path of the DLL.

And when I first start a "stand alone" EA and then, while this instance is running, recompile the DLL VS will fail in copying the DLL to the output dir because "another process is using the file". So it seems to me EA opens the DLL but then fails. Only after closing the first EA instance the build will succeed.

What else can cause this "Missing" message? I did not change any code of the project. Are there any more log messages I can look into?

Cheers,
   Oliver

Title: Re: Problem with DLL usage
Post by: floerio on January 26, 2010, 08:19:03 pm
Problem found.

An unhandled exception in the initialization part of the dll was the error.