Subject Re: gsec and stdout on Windows 7 - the same problem
Author Zsolt
Hi,

Any news on this issue? I am having the very same problem on Windows 7 64 bit, FB 2.5. I have been searching through the net to no avail. The only solution link to some similar behaviour brings me to http://support.microsoft.com/kb/971163, but I'm not sure if it is really related.

I have observed that only stdout is affected, stderr seems to work.

There is some kind of connection between the phenomenon and my user profile, because logging in with another domain user makes the redirection work for him.

It might also worth mentioning that the issue can also be observed in my case in Delphi 7 as well. If the utility is started from CreateProcess, providing the correct StartupInfo.hStdOutput etc. handles the file represented by the hStdOutput handle remains empty.

Regards

Zsolt


--- In firebird-support@yahoogroups.com, "Slawomir" <scabaj@...> wrote:
>
>
>
> --- In firebird-support@yahoogroups.com, "weind@" <weind@> wrote:
> >
> >
> >
> > Here is some new information regarding this problem:
> > - I now have a Windows 7 Professional 32 bit PC which has the same problem
> > - The problem also occurs if I install Firebird to another directory
> > - The problem also occurs if I run the Firebird Server under a normal user
> > - The problem also occurs when using Firebird 2.5 RC2
> > - The problem also occurs if I a define an alias for security2.fdb as Helen proposed
> >
> > And, may be, the most important information:
> > The problem only occurs if using TCP/IP.
> > gsec -user SYSDBA -pass masterkey -database "c:\program files\firebird\firebird_2_1\security2.fdb" -display > out.txt
> > is okay but
> > gsec -user SYSDBA -pass masterkey -database "localhost:c:\program files\firebird\firebird_2_1\security2.fdb" -display > out.txt
> > creates an empty file out.txt
> >
> > Can you reproduce it using localhost?
> >
>
> Did anybody find the reason ? I have the same problem on Win 7 64bit.
>
> Slaw
>