Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Identifying OLE types
Topic Summary: OLE
Created On: 27-Nov-2006 17:22
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
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.
Answer This question was answered by Shawn Stepper, on Monday, November 27, 2006 5:55 PM

Answer:
Try this.
 27-Nov-2006 17:22
User is offline View Users Profile Print this message


Kevin Tarling

Posts: 9
Joined: 8-Nov-2006

Report this to a Moderator Report this to a Moderator
 27-Nov-2006 17:40
User is offline View Users Profile Print this message


Shawn Stepper

Posts: 96
Joined: 6-Aug-2004

Answer Answer
Try this.

-------------------------
Shawn Stepper
shawn.e.stepper@wellsfargo.com
Report this to a Moderator Report this to a Moderator
 27-Nov-2006 17:57
User is offline View Users Profile Print this message


Kevin Tarling

Posts: 9
Joined: 8-Nov-2006

Report this to a Moderator Report this to a Moderator
 30-Jul-2007 20:32
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Very nice.  I was just looking for something like this.  However, it seems to be very memory intensive, I' was trying to use this to identify any OLE objects that contains Excel spreadsheets in our database.  Basically opening each module and scanning each OLE object.  However, I keep running out of memory.  I did change the string gotClass to a buffer and returned (stringOf (gotClass)) which helped a little, but I'm still dying on some of the larger modules.

Any ideas?


-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 30-Jul-2007 23:37
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Got as far as attached, but could find no way to determine if the 'eoo' was of type Excel or not. Not sure the attached will help, but it does find the OLE in the Object Text.

- Louie
Report this to a Moderator Report this to a Moderator
 8-May-2008 14:46
User is offline View Users Profile Print this message


David Bond

Posts: 5
Joined: 2-Mar-2006

With regard to running out of memory, my experience with Buffers and Regular Expressions is that if they are used in a subroutine that is called a lot of times it is best to define them globally. Otherwise the script will create and destroy them again and again, allocating new memory for them each time. Windows does not do a good job of cleaning up freed memory, so eventually the memory is used up. If the memory is restored by windows, execution is still slowed down while garbage collection is performed. By defining once and using setempty at the beginning of the function or subroutine, this garbage collection is avoided.
Report this to a Moderator Report this to a Moderator
 8-May-2008 17:29
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Is it just me or are Kevin's posts blank?

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 8-May-2008 17:32
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Not just you...They're blank.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 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.