Solved

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

Posted on 2004-08-30
3
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
printf performancy 11 101
learn programming 8 94
DTD and JAVA versions 1 55
listing all the respondents to a twitter feed - Java 5 44
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

737 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