Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
Topic Title: Changes to COM interface from 10.1 to 10.4
Topic Summary: What the COM interface exposes and where has changed.
Created On: 24-May-2006 23:48
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 24-May-2006 23:48
User is offline View Users Profile Print this message


Jonathan Burlingame

Posts: 52
Joined: 1-Aug-2005

Has anyone else run into problems with their custom macro code or COM code in the migration from <=10.1 to >=v10.3? I just upgraded from v10.1.11 of SA (with the C4ISR, Simulator, and XML add-ins) to v10.4.13 and have run into some issues with my custom code. I have written numerous applications to enhance the SA application and to interface SA with other applications by utilizing both the built-in VBA and the exposed COM interface. It seems that in the move from v10.1 to either v10.3 (which I skipped) or v10.4 they changed the COM interface. I have not yet found out to what extent and whether or not functionality has been removed, added, or just moved. I certainly hope that functionality has not been removed but I wanted to know if anyone else has a jump on this so far. I've filed a ticket and will try and update this thread with my findings in the coming weeks.

Edited: 24-May-2006 at 23:50 by Jonathan Burlingame
Report this to a Moderator Report this to a Moderator
 25-May-2006 00:26
User is offline View Users Profile Print this message


Duane Hennessy

Posts: 112
Joined: 18-May-2006

My team is currently working with 10.22 and will be moving to 10.3. We have a lot of VBA enhancements and reports but started accessing the database directly instead of using the object model. Our plan is to move over to .Net or some other framework and rely as little as possible upon the actual application.

I'm not sure what you will do with the actual SA Macro.mac files though but if you are using VBA outside of there I would suggest a plan to port your code to something else because Microsoft is going to officially stop supporting VBA under their 64 bit environment.

I'm a VBA programmer and certainly not a .net fan :-/

Report this to a Moderator Report this to a Moderator
 25-May-2006 01:13
User is offline View Users Profile Print this message


Jonathan Burlingame

Posts: 52
Joined: 1-Aug-2005

Thanks for the reply Duane. I currently only one truly VBA based enhancement. For all the other macros I just use VBA to add an icon to the toolbar and make a call to the external application. I have written the enhancements on the .NET 1.1 Framework using C#. I was told not to access the database directly for a couple of reasons a) it's not stable - they can (and do) change it's layout b) there is no support from Telelogic if you do this The reason I have been using the COM interface is because it allows me to free myself from VBA and work in a more powerful language - whether it be C/C++, C#, or VB6/.NET. Also, the COM interface uses most of the same parts of the API that are exposed in the VBA interface so it should be more stable than the database. Additionally, there are a lot of routines in SA that I would have to duplicate the functionality for which has both an upfront cost and a maintenance cost.
Report this to a Moderator Report this to a Moderator
 26-May-2006 01:18
User is offline View Users Profile Print this message


Duane Hennessy

Posts: 112
Joined: 18-May-2006

We have just experimented using .Net to produce an XML word document report in Word 2003. We reduced the speed from 10 minutes of walking through the object model to less than one second. Highly recommend it :-)

I guess we are avoiding COMs and so on to create a portable reporting service divorced from reliance upon SA by reading data from the database to XML word, excel or a powerpoint document.
Report this to a Moderator Report this to a Moderator
 30-May-2006 11:58
User is offline View Users Profile Print this message


Ed Fletcher

Posts: 4
Joined: 13-Jan-2004

Hi Duane

this is something we are considering as a future reporting route.

Are you able to export diagrams from the repository using this method or are your reports text based only?

Thanks

Ed
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.