🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #362

Re: using WTSGetActiveConsoleSessionId()

#362
From: Bob Gonder
Date: Thu, 17 Apr 2008 17:55
11 lines
1393 bytes
Mike Collins wrote:

>Does it matter where you redefine it?

Yes.
It must be defined prior to reading the
header that uses it, or it will do no good.

#define _WIN32_WINNT 0x0501
#include <vcl.h>
#pragma hdrstop
Technical Details
Message-ID: <ei3f04tjjo26foakgluf6tb76nuc0hr4v8@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!feed.xsnews.nl!border-1.ams.xsnews.nl!news.astraweb.com!newsrouter-eu.astraweb.com!newsfeed2.ip.tiscali.net!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <48074a72@newsgroups.borland.com> <48077f50$1@newsgroups.borland.com> <480788ac@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,61b1edc79d66af39
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: using WTSGetActiveConsoleSessionId()
Date: Thu, 17 Apr 2008 10:55:58 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <ei3f04tjjo26foakgluf6tb76nuc0hr4v8@4ax.com>
References: <48074a72@newsgroups.borland.com> <48077f50$1@newsgroups.borland.com> <480788ac@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.145.64
X-Trace: newsgroups.borland.com 1208454955 67.77.145.64 (17 Apr 2008 10:55:55 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!feed.xsnews.nl!border-1.ams.xsnews.nl!news.astraweb.com!newsrouter-eu.astraweb.com!newsfeed2.ip.tiscali.net!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail