🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

shlobj.h problem

#7447
From: mike
Date: Mon, 31 Jan 2005 21:26
33 lines
1723 bytes
Ok this problem is stumping me.

I have included the shlobj.h in a sample application like this;

#define NO_WIN32_LEAN_AND_MEAN
#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
#include <shlobj.h>


And I get the following error ;

[C++ Error] shlobj.h(1786): E2293 ) expected

on the following line of code from the shlobj.h;

    STDMETHOD(Show) (THIS_ LPFVSHOWINFO pvsi) PURE;


So I don't know why I am getting this error when trying to include the 
shlobj.h file.

Can anyone assist me in this, or at least tell me where to look to correct 
the problem.

Thanks

Mike 
Technical Details
Message-ID: <41fd5670$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a022edc1ff673482,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "mike" <mfbrowne@earthlink.nnet>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: shlobj.h problem
Date: Mon, 31 Jan 2005 16:26:53 -0500
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 68.204.189.169
Message-ID: <41fd5670$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107121776 68.204.189.169 (30 Jan 2005 13:49:36 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail