🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Active Console Session

#1978
From: Jeff
Date: Tue, 22 May 2007 20:07
8 lines
1268 bytes
I'm working with a system service that I've built and am attempting to use 
WTSGetActiveConsoleSessionId() to get the session ID of the currently active 
terminal services session.  When I go to compile my program in BCB6, it 
says, "Call to undefined function'WTSGetActiveConsoleSessionId'"  The 
function is prototyped in winbase.h, why is my compilation failing?

Thanks,
Jeff 
Technical Details
Message-ID: <46534dba$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c370922012d5d485,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jeff" <Jeff@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Active Console Session
Date: Tue, 22 May 2007 14:07:07 -0600
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 198.68.195.178
Message-ID: <46534dba$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1179864506 198.68.195.178 (22 May 2007 13:08:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail