Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: DoB on July 02, 2009, 11:33:06 pm
-
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
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
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?