Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DoB

Pages: [1]
1
Hi,

I wrote a small plugin (in C#) that does some simple operations on EA repositories. It works fine on Windows XP.

However, it hangs up in unpredicted moments while executed on Windows Vista. For instance the call to
Code: [Select]
Repository.OpenFile(FileName);causes the plugin to hang.
The FileName is a path to EAP file. From the status line I can guess that the opening process starts, but hangs on some package.

What is more interesting, this EAP file opens successfully in EA when opened via GUI. Moreover... it also opens via another
Code: [Select]
Repository.OpenFile(FileName);in a different place in the code (of the same plugin)!  :o

What can be done about it? Has anybody else noticed such a strange behaviour?

2
Automation Interface, Add-Ins and Tools / Plugin version dependency
« on: December 11, 2008, 12:07:29 am »
Hi,

I have developed an EA plugin and distributed it to users along with the EA interop dll. The plugin crashes ocassionally for users that use different versions of EA than I use.

The problem is that I cannot effectively force all the supposed users to use my version od EA.

I guess that the problem might be solved if I did not didtribute the interop dll and use the actual dll on the user's machine instead. But the actual dll should be in the Global Assembly Cache. I browsed my GAC and could not find the EA interop dll there.

The questions are:
- does EA register its Interop in GAC on install?
- if not... could it? ;-)
- maybe there is another way of solving the addressed issue?

Regards,
DoB

Pages: [1]