Magnus Hagander wrote:
> > > There is a fixed buffer of 1024 bytes. I have a feeling
> > ythat one has
> > > to be changed to dynamic.
> > >
> > You're quite right. The 'InfoBufferSize' denotes 1122 bytes
> > after this call.
> >
> > if(!GetTokenInformation(AccessToken,TokenGroups,InfoBuffer,1
> > There is a fixed buffer of 1024 bytes. I have a feeling
> ythat one has
> > to be changed to dynamic.
> >
> You're quite right. The 'InfoBufferSize' denotes 1122 bytes
> after this call.
>
> if(!GetTokenInformation(AccessToken,TokenGroups,InfoBuffer,102
> 4,&InfoBufferSize))
Ah.
Your st
Magnus,
There is a fixed buffer of 1024 bytes. I have a feeling ythat one has to
be changed to dynamic.
You're quite right. The 'InfoBufferSize' denotes 1122 bytes after this call.
if(!GetTokenInformation(AccessToken,TokenGroups,InfoBuffer,1024,&InfoBufferSize))
Regards,
Thomas Hallgren
-
t: den 17 augusti 2004 20:27
>To: [EMAIL PROTECTED]
>Subject: [HACKERS] initdb failure on win32
>
>
>I'm trying to run initdb on win32, freshly compiled from CVS
>HEAD, but I
>get the following error:
>
>creating template1 database in data/base/1 ... failed to
I'm trying to run initdb on win32, freshly compiled from CVS HEAD, but I
get the following error:
creating template1 database in data/base/1 ... failed to get token
information: 122
Any ideas?
Regards,
Thomas Hallgren
---(end of broadcast)---
TIP