🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Still having problems linking to WTSQueryUserToken & CreateEnvironmentBlock

#385
From: Mike Collins
Date: Sat, 19 Apr 2008 00:58
12 lines
1253 bytes
I'm being a nugget - i'm assuming that because the function appears in the 
header, then it must be accessible.

No, I hadn't included the lib files, i've just used LoadLibrary / 
GetProcAddress instead - all seems to work - which is a very refreshing 
change.

Cheers

Mike C

"Remy 
Technical Details
Message-ID: <4809333a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <4808addc@newsgroups.borland.com> <4808cdd4$1@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: "Mike Collins" <its@TheBottomOfThePost>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4808addc@newsgroups.borland.com> <4808cdd4$1@newsgroups.borland.com>
Subject: Re: Still having problems linking to WTSQueryUserToken & CreateEnvironmentBlock
Date: Sat, 19 Apr 2008 00:58:51 -0000
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.3959
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 89.241.69.122
Message-ID: <4809333a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1208562490 89.241.69.122 (18 Apr 2008 16:48:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail