Hi Bruce,
If you had a Visual Basic that could be used with the same code and with the same assembly on EVERY platform like, Linux, MacOS, Windows...
wouldn't you say better goodbye to good old well known API-dll-hell under Windows?
Try to give it a chance
Possible very easy solution to your drive letters problem without WinAPI:
|
Jabaco Source
|
1
2
3
4
5
6
|
Dim roots() As java#io#File
roots = java#io#File.listRoots
Dim i As Integer
For i = 0 To Ubound(roots)
Debug.Print roots(i)
Next
|
greetings
OlimilO
P.S.: as already said on different other postings (dig the forum), Jabaco until now is not able of mashalling ByRef-Out parameters.
Stefan Schnell has a very cool solution (dig the forum for Varptr.dll) that could be helpful for other problems that are not covered by the Java-Framework. I hope that sometimes he maybe finds the time to implement a function where strings could be read one by one char via function return values.