🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Still having problems linking to WTSQueryUserToken & CreateEnvironmentBlock

#386
From: Remy Lebeau (TeamB)
Date: Fri, 18 Apr 2008 23:53
12 lines
1410 bytes
"Mike Collins" <its@TheBottomOfThePost> wrote in message 
news:4809333a@newsgroups.borland.com...

> I'm being a nugget - i'm assuming that because the function appears
> in the header, then it must be accessible.

To the compiler, yes.  Not to the linker.  You need import .lib files for 
that.


Gambit 
Technical Details
Message-ID: <48093476$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <4808addc@newsgroups.borland.com> <4808cdd4$1@newsgroups.borland.com> <4809333a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,141e3acd14538db2
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: <4808addc@newsgroups.borland.com> <4808cdd4$1@newsgroups.borland.com> <4809333a@newsgroups.borland.com>
Subject: Re: Still having problems linking to WTSQueryUserToken & CreateEnvironmentBlock
Date: Fri, 18 Apr 2008 16:53:04 -0700
Lines: 14
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: <48093476$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1208562806 207.178.157.90 (18 Apr 2008 16:53:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.isoc.lu!newsgroups.borland.com!not-for-mail