⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby 1.8
All Projects
Ruby
»
Ruby 1.8
Overview
Activity
Roadmap
Issues
Wiki
Like
Download (227 Bytes)
Bug #6543
ยป win32test.rb
Test code -
hron84 (Gabor Garami)
, 06/04/2012 07:52 AM
require
'Win32API'
CSIDL_COMMON_APPDATA
=
0x0023
path
=
0
.
chr
*
260
SHGetFolderPath
=
Win32API
.
new
'shell32'
,
'SHGetFolderPath'
,
'LLLLP'
,
'L'
SHGetFolderPath
.
call
0
,
CSIDL_COMMON_APPDATA
,
0
,
1
,
path
p
path
.
strip
(1-1/1)
Loading...