🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: shellapi and obsolete style

#12977
From: Bob Gonder
Date: Sat, 01 Nov 2003 19:43
15 lines
1454 bytes
Michael Powell wrote:

>build it using C++Builder 6. The code does appear to be including the

>#include <shellapi>
>
>[C++ Warning] shellapi.h(55): W8054 Style of function definition is now
>obsolete
>[C++ Error] shellapi.h(55): E2275 { expected

>Any ideas how to overcome this noise?

It looks like (from the B5 includes) that you are missing the macro
definition for  STDAPI_(type)  which is in BASETYPS.H
So, including <basetyps> before <shellapi> might fix it.
Technical Details
Message-ID: <dq28qv8f779tbfgqc8dvq9rtg1r7ss7djm@4ax.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: <3fa3e01e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5c9d306c5a29fa92
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-01 12:09:13 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: shellapi and obsolete style
Date: Sat, 01 Nov 2003 11:43:51 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <dq28qv8f779tbfgqc8dvq9rtg1r7ss7djm@4ax.com>
References: <3fa3e01e$1@newsgroups.borland.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: 67.31.165.177
X-Trace: newsgroups.borland.com 1067715832 67.31.165.177 (1 Nov 2003 11:43:52 -0700)
Lines: 17
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