?
Solved

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

Posted on 2004-08-30
3
Medium Priority
?
175 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 750 total points
ID: 11934120
0
 
LVL 92

Accepted Solution

by:
objects earned 750 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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 video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 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