![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Identifying OLE types Topic Summary: OLE Created On: 27-Nov-2006 17:22 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Try this. | |
![]() |
|
|
|
![]() |
|
![]() |
|
Try this.
------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com |
|
![]() |
|
![]() |
|
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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.
|
|
![]() |
|
![]() |
|
Is it just me or are Kevin's posts blank?
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Not just you...They're blank.
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Identifying OLE types
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.