Solved

How do I "spy" on COM objects and Variants (Excel + java)?

Posted on 2004-08-30
3
155 Views
Last Modified: 2010-05-18
Hi,

I'm accessing Excel via COM in my java application. Eventually my java app crashes. I'm pretty sure this is due to not releasing all the COM objects, Variants that I've referenced. Problem is my code is very complex so it is hard to track down.

Do any of you know if there is a way to "spy" on these allocations either from Java or from Excel?

I'm using Eclipse 3.0 as my IDE.

also, I'm using jacozoom for the COM. It's just a wrapper for Excel using JNI.

even if you can't think of complete solutions, any pointers would help.

Thanks!
0
Comment
Question by:ycomp
  • 2
3 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 250 total points
ID: 11934120
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 11938200
lots of stuff at:
http://www.relevancellc.com/halloway/JavaWin32.html

though it may be a windows tool you're after.
MS provides various tools for inspecting COMS, have you tried them?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11945175
8-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
json example 39 114
HashMap Vs TreeMap 12 49
create a gui in perl 3 45
JDeveloper 12c for 32 bit 4 35
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues undeā€¦
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilationā€¦
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now