🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

BDS2006

#2128
From: nilemosley
Date: Tue, 10 Apr 2007 03:59
28 lines
2094 bytes
Hi,
I've just installed a trial version of this software, and i have to
say, first impressions are not favorable. 3 immediate issues spring to
mind.

1. I could not get the IDE to run an elevated app. in Vista.
(Previously i've tried elevating the ide itself with a resource
hacker, but again no joy).
2. The compiler could not locate GetModuleHandleEx in the supplied
Kernel32.dll and TokenElevation in winnt.h
3. No 64bit compiler for vista/xp.

(for 2), i tried to import from the vista kernel32.dll using imlib and
impdef, but i didn't seem to do to well, as even with the new .lib
and .def files, the compiler couldn't see GetModuleHandleEx, which in
this instance is needed for the following:

::GetModuleHandleEx(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS |
GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
				(LPCTSTR)Vista_HookProc_MsgRet,
				&hModule ) )

where Vista_HookProc_MsgRet is a callback func.

Anyone got any suggestions for the above (except using ms sdk of
course).

Cheers, nsm
Technical Details
Message-ID: <1176177567.920346.325390@p77g2000hsh.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!p77g2000hsh.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,def42f6f79066bef,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!p77g2000hsh.googlegroups.com!not-for-mail
From: nilemosley@gmail.com
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: BDS2006
Date: 9 Apr 2007 20:59:27 -0700
Organization: http://groups.google.com
Lines: 29
Message-ID: <1176177567.920346.325390@p77g2000hsh.googlegroups.com>
NNTP-Posting-Host: 203.109.245.20
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1176177568 27899 127.0.0.1 (10 Apr 2007 03:59:28 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 10 Apr 2007 03:59:28 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: p77g2000hsh.googlegroups.com; posting-host=203.109.245.20;
   posting-account=kvkfhQ0AAACrBOMlrffYws0EZzE_OFES