[Win32utils-devel] More on etc and other stuff

win32utils-devel at rubyforge.org win32utils-devel at rubyforge.org
Wed Feb 25 23:48:12 EST 2004

> I seem to have gotten the bugs worked out of win32-etc.  It seems it had
> to do with using WCHAR vs LPWSTR.  Once I used AllocWideLString() vs
> AllocWideString() everything seemed to work ok.
> One question I have now is this - should I always use AllocWideLString()
> instead of casting like (LPCWSTR)STR2CSTR(rbVal); ?  It would seem so,
> but I'm not sure.
You should use AllocWideLString .

> Also, I've committed the "add_group" function, but on my box at home I
> got "access denied" when I tried to actually add a group.  Any help on
> that appreciated.
I have no idea :)


Park Heesob

More information about the win32utils-devel mailing list