🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: change wallpaper gif/jpg

#16733
From: Subliminal
Date: Fri, 25 Apr 2003 21:16
20 lines
2028 bytes
I copy and pasted your code directly and only added a button and TOpenDialog
to the form yet receive the following errors:

Build
  [C++ Error] shobjidl.h(2193): E2238 Multiple declaration for
'FOLDERSETTINGS'
  [C++ Error] shobjidl.h(8095): E2238 Multiple declaration for
'DESKBANDINFO'
  [C++ Error] shlobj.h(1422): E2238 Multiple declaration for 'FVSHOWINFO'
  [C++ Error] shlobj.h(3457): E2238 Multiple declaration for
'SHELLFLAGSTATE'
  [C++ Error] Unit1.cpp(25): E2015 Ambiguity between 'CLSID_ActiveDesktop'
and 'Shlobj::CLSID_ActiveDesktop'

using C++Builder v6, I assume the active desktop is declared somewere else
(obviously) but I am unsure of where, if I commecnt out shlobj.h then
IActiveDesktop is called an undefined symbol and therefore there are other
errors. When I click an error it opens up shobjidl.h btw. Hope you can
locate the problem
--Sub
Technical Details
Message-ID: <3ea9a584@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!dimensional.com!pulsar.dimensional.com!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ea2c223$1@newsgroups.borland.com> <3ea3164d$1@newsgroups.borland.com> <3ea7f5ab@newsgroups.borland.com> <3ea82555$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,fd7225d99dc4b60f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-25 14:17:51 PST
From: "Subliminal" <doug@cowie3.fsnet.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ea2c223$1@newsgroups.borland.com> <3ea3164d$1@newsgroups.borland.com> <3ea7f5ab@newsgroups.borland.com> <3ea82555$1@newsgroups.borland.com>
Subject: Re: change wallpaper gif/jpg
Date: Fri, 25 Apr 2003 22:16:06 +0100
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 81.76.144.31
Message-ID: <3ea9a584@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051305348 81.76.144.31 (25 Apr 2003 14:15:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!dimensional.com!pulsar.dimensional.com!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail