Solved

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

Posted on 2004-08-30
3
162 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

773 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