🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Screen->MonitorFromPoint(...)

#13240
From: Remy Lebeau (TeamB)
Date: Tue, 21 Oct 2003 20:07
17 lines
1649 bytes
"Andreas Antonsson" <-verus-@telia.com> wrote in message
news:3f958eed@newsgroups.borland.com...

> [Linker Error] Unresolved external '__fastcall
> Forms::TScreen::xMonitorFromPoint(const Types::TPoint&,
<snip>

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.


Gambit
Technical Details
Message-ID: <3f9591d3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f958eed@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 13:12:45 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f958eed@newsgroups.borland.com>
Subject: Re: Screen->MonitorFromPoint(...)
Date: Tue, 21 Oct 2003 13:07:14 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.137.75
Message-ID: <3f9591d3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066766803 67.22.137.75 (21 Oct 2003 13:06:43 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail