🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#13967
From: Bob Gonder
Date: Sun, 31 Aug 2003 21:52
13 lines
2110 bytes
David wrote:
>
>in the same unit and it didn't blow up there!  This makes me think that as the only thing in 
>the add() routine is the SendMessage the compiler is somehow playing games, and if I was to 
>place some dummy code after the SendMessage in the add() routine the problem might also be 
>solved, but I haven't checked this assumption.

I looked at your code, and saw that you didn't declare the interface
type for any of your functions.  I would think that any "external use"
libraries would fully publish the interface so the compiler would
properly handle them, reguardless of compiler setting. In other words,
any and all functions (member or otherwise) should specify _stdcall or
WINAPI (or _fastcall if appropriate).
Technical Details
Message-ID: <40r4lvoh9ocalbkpkl43ns3smi105ik2fc@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3F50A23C.1090706@anonymous_one.com> <3F50C002.901B2CC9@sbcglobal.net> <3F5164FE.8000803@anonymous_one.com> <3F519DFF.B2345F35@sbcglobal.net> <3F51A27B.1A59EF47@sbcglobal.net> <3F51B1EE.50203@anonymous_one.com> <3F51F97D.8F17CCFA@sbcglobal.net> <3F524EF5.8000603@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-31 14:56:06 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Windows wierdness (SendMessage, Win98, Win2000) repeat
Date: Sun, 31 Aug 2003 14:52:59 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <40r4lvoh9ocalbkpkl43ns3smi105ik2fc@4ax.com>
References: <3F50A23C.1090706@anonymous_one.com> <3F50C002.901B2CC9@sbcglobal.net> <3F5164FE.8000803@anonymous_one.com> <3F519DFF.B2345F35@sbcglobal.net> <3F51A27B.1A59EF47@sbcglobal.net> <3F51B1EE.50203@anonymous_one.com> <3F51F97D.8F17CCFA@sbcglobal.net> <3F524EF5.8000603@anonymous_one.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.158.104.31
X-Trace: newsgroups.borland.com 1062366786 64.158.104.31 (31 Aug 2003 14:53:06 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail