Re: Automatic gc of COM objects & stubs

Roger I Martin PhD <[email protected]> Tue, 9 May 2006 18:45:40 -0400
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <[email protected]>
Brian Knorr wrote:

>I saw the below news item on sourceforge, but there doesn't seem to be a
>Jawin release available with this new functionality.  Any idea on when the
>next release will be out that has automatic gc of com objects and stubs?
>
>
Do you have cvs client capability? Easiest way to get it.  If you have
Ant and the cvs executable you can readily get jawin.  You only need to
compile the Java code; not the native code.  To checkout jawin module:
......
    <target depends="init" name="get-source-code">
    <cvspass
cvsroot=":pserver:[email protected]:/cvsroot/jawinproject"
        password=""
    />
    <cvs
cvsRoot=":pserver:[email protected]:/cvsroot/jawinproject"
           package="jawin"
           dest="."
      />
......

>Posted By: martin3
>Date: 2006-01-04 13:30
>Summary: Automatic gc of COM objects & stubs
>The calling java thread release COM objects automatically, after the JVM
>garbage collector collects them. There is no longer a need to call
>COMPtr.close() from the application code. Change works with existing code,
>close() can still be called. (contrbuted by Claude Eisenhut).
>
>
>