🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows wierdness (SendMessage, Win98, Win2000) repeat

#13950
From: Keith
Date: Sat, 30 Aug 2003 15:42
13 lines
1495 bytes
BTW, David,

It appears that __stdcall is the generated call sequence  (parameters pushed right to left, and
it is expected that the called function pops the stack), whereas in fact, the called function is
not __stdcall, but is a form which expects the caller to clean the stacked parameters, such as
__pascal call sequence.

See section in Borland Help entitled "Calling convention options".

There is likely a Compiler Option Define, #include, or #define that is missing or needs
alteration, in order for this to be set up correctly in your generated code.

keith
Technical Details
Message-ID: <3F50C5EC.60769C5D@sbcglobal.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3F50A23C.1090706@anonymous_one.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d5c2d7b43b5c1d37
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-30 08:46:35 PST
Message-ID: <3F50C5EC.60769C5D@sbcglobal.net>
Date: Sat, 30 Aug 2003 10:42:36 -0500
From: Keith <kdopson@sbcglobal.net>
X-Mailer: Mozilla 4.79 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Windows wierdness (SendMessage, Win98, Win2000) repeat
References: <3F50A23C.1090706@anonymous_one.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.71.227.85
X-Trace: newsgroups.borland.com 1062258152 65.71.227.85 (30 Aug 2003 08:42:32 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail