🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: using WTSGetActiveConsoleSessionId()

#363
From: Remy Lebeau (TeamB)
Date: Thu, 17 Apr 2008 19:06
16 lines
1571 bytes
"Mike Collins" <its@TheBottomOfThePost> wrote in message 
news:480788ac@newsgroups.borland.com...

> Does it matter where you redefine it?

Do it in the Conditionals area of the Project Options.

> I stuck it at the begining of my DLL's code but it
> makes no difference, it still won't compile...

Because you are defining it too late in the code.  The winbase.h header file 
has already been processed before the compiler sees your define.


Gambit 
Technical Details
Message-ID: <48079fcc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder6.cambrium.nl!feed.tweaknews.nl!feeder.news-service.com!newsfeed.freenet.de!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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <48074a72@newsgroups.borland.com> <48077f50$1@newsgroups.borland.com> <480788ac@newsgroups.borland.com>
Subject: Re: using WTSGetActiveConsoleSessionId()
Date: Thu, 17 Apr 2008 12:06:36 -0700
Lines: 18
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <48079fcc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1208459212 207.178.157.90 (17 Apr 2008 12:06:52 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder6.cambrium.nl!feed.tweaknews.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail