Article View: borland.public.cppbuilder.nativeapi
Article #2952Re: OnDeviceChange Problem
From: Michel Leunen
Date: Thu, 19 Oct 2006 08:20
Date: Thu, 19 Oct 2006 08:20
26 lines
1939 bytes
1939 bytes
Uri wrote: > From where do I take the defenition for 'GUID_DEVCLASS_USB' ? Hmm, re-read my post :-) *You* have: > #include <windows.h> > #include <dbt.h> // for DEV_BROADCAST_DEVICEINTERFACE > #include <initguid.h> // defines the guid macros And *I* wrote: >> I forgot to mention that you have to include: >> >> #include <dbt.h> >> #include <devguid.h> Do you see the #include <devguid.h>? Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: http://www.leunen.com/ ----------------------------------------
Technical Details
Message-ID:
<45373521@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news.taunusstein.net!news.soft-gems.net!open-news-network.org!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<4534d31d$1@newsgroups.borland.com> <45350f17@newsgroups.borland.com> <453620dd$1@newsgroups.borland.com> <4536288b@newsgroups.borland.com> <45362fb9$1@newsgroups.borland.com> <45366845@newsgroups.borland.com> <45367277$1@newsgroups.borland.com> <45373112$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a72a1c41eec7e70f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 19 Oct 2006 10:20:31 +0200 From: Michel Leunen <nospam@noreply.be> Organization: www.leunen.com User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: OnDeviceChange Problem References: <4534d31d$1@newsgroups.borland.com> <45350f17@newsgroups.borland.com> <453620dd$1@newsgroups.borland.com> <4536288b@newsgroups.borland.com> <45362fb9$1@newsgroups.borland.com> <45366845@newsgroups.borland.com> <45367277$1@newsgroups.borland.com> <45373112$1@newsgroups.borland.com> In-Reply-To: <45373112$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.242.173.253 Message-ID: <45373521@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1161245985 81.242.173.253 (19 Oct 2006 01:19:45 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news.taunusstein.net!news.soft-gems.net!open-news-network.org!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail