Article View: borland.public.cppbuilder.nativeapi
Article #2956Re: OnDeviceChange Problem
From: Michel Leunen
Date: Thu, 19 Oct 2006 09:38
Date: Thu, 19 Oct 2006 09:38
25 lines
1982 bytes
1982 bytes
Uri wrote:
> I work with Builder 4.0
Your header includes probably les classes then a more recent one.
> Undefined symbol 'GUID_DEVCLASS_USB'
Here is how it is defined in mine:
DEFINE_GUID( GUID_DEVCLASS_USB, 0x36fc9e60L, 0xc465,
0x11cf, 0x80, 0x56, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00 );
You can define it like this in your code:
GUID GUID_DEVCLASS_USB = {0x36fc9e60, 0xc465, 0x11cf, {0x80, 0x56,
0x44, 0x45, 0x53, 0x54, 0x00, 0x00}};
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Technical Details
Message-ID:
<4537475c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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> <4537345e$1@newsgroups.borland.com> <45373844@newsgroups.borland.com> <453741d8$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 11:38:19 +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> <4537345e$1@newsgroups.borland.com> <45373844@newsgroups.borland.com> <453741d8$1@newsgroups.borland.com> In-Reply-To: <453741d8$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: <4537475c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1161250652 81.242.173.253 (19 Oct 2006 02:37:32 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail