Re: InitDB Failure on install

Andreas Pflug <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Dave Page wrote:
>  
> 
> 
>>-----Original Message-----
>>From: [email protected] 
>>[mailto:[email protected]] On Behalf 
>>Of Dave Page
>>Sent: 20 August 2004 12:08
>>To: Andreas Pflug
>>Cc: [email protected]
>>Subject: Re: [pgsql-hackers-win32] InitDB Failure on install
>>
>>
>>>The official way to detect a terminal service session according to 
>>>MSDN is
>>>
>>>bool IsRemoteSession() { return 
>>
>>GetSystemMetrics(SM_REMOTESESSION); }
>>
>>Hmm, too much time playing with Citrix recently! I'll change 
>>it shortly
>>- thanks.
> 
> 
> Actually I'm going to leave it as it is for now - that won't work on NT4
> (even with TS afaict), and as it's possible the installer may be fixed
> for NT in the future, I'd rather not introduce any further
> incompatibilities.

No, it's NT4SP4 or later.
We definitely should require NT4SP4 or later anyway.

BTW, GetSystemMetrics would return 0 for unsupported SM_ values.

Regards,
Andreas



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.