[Vm-dev] [BUG] Security plugin

Vagelis Savvas vagy at freemail.gr
Sun Dec 30 14:54:34 UTC 2007


Hi,

as a response to my previous message i spent some time
to find a solution to the problem. Googling around
for a cross-Windows way to find the system drive letter
reveals that the best approach is to query the 'windir' environment
variable and extract the system drive letter from that.
The good thing is that it can be done using standard C lib calls
and the attached tiny C program demonstrates just that.

Vagelis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 321 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20071230/bf2fa555/main.c


More information about the Vm-dev mailing list