Re: collections
Morten Andersen <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Hi Heiko
Heiko Selber wrote:
> Please forgive my ignorance, but where can I find SafeArray?
>
> It seems to be part of Microsoft's J++.
>
> Does it mean I cannot use Sun's JDK with Jawin?
No, Jawin works only with JRE1.3+ (and I assume MS J++ is something like
JRE 1.1?). Standard Sun JDK's work, and there have been reports of
developers using Jawin successfully with IBM JRE's too.
Now back to your problem on the Scripting.FileSystemObject and "Drives".
It is a little tricky, as you have to use the "hidden" "_NewEnum"
property to enumerate the drives.
I have this evening added a new demo DemoWSH.java showing how to do
this. You can find the source in the CVS repository viewer:
http://cvs.sourceforge.net/viewcvs.py/jawinproject/jawin/demos/src/demos/
(note, there is some lack between the "public" CVS server, and the
developers CVS server which I have commit'et it to. It should be
accessible on the public server Saturday morning (CET) I assume).
Hope this helps you
Best Regards
Morten