🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Screen->MonitorFromPoint(...)

#13241
From: vERUs
Date: Tue, 21 Oct 2003 21:58
17 lines
1723 bytes
> Is that 'x' really in the method name?  If so, then there is the problem.
> The correct method name is MonitorFromPoint(), not xMonitorFromPoint().  I
> would guess that some API header file use a #define statement that messed
up
> the declaration.  That would not be the first time that has happened, many
> #define statements used for API functions conflict with the VCL (and other
> library), since #define statements are global and do not repect
namespaces.

The 'x' is there alright... the declaration is in the "multimon.h" header
file.
It says something about a COMPILE_MULTIMON_STUBS declaration but I
don't know if that has anything to do with it. I'm starting to think it
might be easier
to just get the ProcAddress and dynamically link the function myself.

/ vERUs
Technical Details
Message-ID: <3f95ac40@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f958eed@newsgroups.borland.com> <3f9591d3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ffe68e96065011c7
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-21 15:11:03 PST
From: "vERUs" <-verus-@telia.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f958eed@newsgroups.borland.com> <3f9591d3$1@newsgroups.borland.com>
Subject: Re: Screen->MonitorFromPoint(...)
Date: Tue, 21 Oct 2003 23:58:31 +0200
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
NNTP-Posting-Host: 217.210.229.131
Message-ID: <3f95ac40@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066773568 217.210.229.131 (21 Oct 2003 14:59:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail