How do I "spy" on COM objects and Variants (Excel + java)?
Posted on 2004-08-30
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.