Displaying 3 results from an estimated 3 matches for "csidl_admintool".
Did you mean:
csidl_admintools
2005 May 02
1
Possible win32-dir mods
...d like you to try is replacing
"#include <shlobj.h>" with "#include <shfolder.h>".
That, or try including both.
If that doesn''t do the trick, the next thing I''d like
to try is commenting out all the rb_define_const lines
that were undefined except CSIDL_ADMINTOOLS. Then put
this somewhere near the top of dir.c:
#ifndef CSIDL_ADMINTOOLS
#define CSIDL_ADMINTOOLS 0x0030
#endif
Then recompile. Assuming it works, then try "put
Dir::ADMINTOOLS" and see if it prints out anything.
If it doesn''t print anything out, then I''ll know it&...
2005 May 04
0
New win32-dir
...o All Users OEM
specific apps
# USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning
CSIDL_CDBURN_AREA = 0x003b
# All Users\Start Menu\Programs\Administrative Tools
CSIDL_COMMON_ADMINTOOLS = 0x002f
# <user name>\Start Menu\Programs\Administrative Tools
CSIDL_ADMINTOOLS = 0x0030
def cget(const)
path = " " * 255
if SHGetFolderPath
result = SHGetFolderPath.call(0, const, 0, 1, path)
else
result = SHGetSpecialFolderPath.call(0, path, const, 0)
end
if result != 0
path = n...
2005 May 01
3
win32-dir 0.1.0 compile problems
...ht (C) Microsoft Corp 1988-1998. All rights reserved.
cl -nologo -MD -Zi -O2b2xg- -G6 -I.
-Ic:/ruby/lib/ruby/1.8/i386-mswin32
-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -I. -I./.. -I./../missing
-D_WIN32_WINN
T=0x0500 -D_WIN32_IE=0x0500 -c -Tcdir.c
dir.c
dir.c(36) : error C2065: ''CSIDL_ADMINTOOLS'' : undeclared identifier
dir.c(40) : error C2065: ''CSIDL_CDBURN_AREA'' : undeclared identifier
dir.c(41) : error C2065: ''CSIDL_COMMON_ADMINTOOLS'' : undeclared identifier
dir.c(43) : error C2065: ''CSIDL_COMMON_APPDATA'' : undeclared ident...