[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2004-08-30
3
Medium Priority
?
183 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

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

650 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