Article View: borland.public.cppbuilder.nativeapi
Article #1364Re: How to deal with DDK header files not included in Builder 2007 ?
From: David M
Date: Tue, 04 Sep 2007 06:37
Date: Tue, 04 Sep 2007 06:37
33 lines
2541 bytes
2541 bytes
FYI, I just tried these switches in BDS2006's ilink32 and it happily accepts them. I've never tried building a driver with BCC though. I would love to see this as an official feature though, even if just for the bragging rights (it's not a real compiler until you can use it for a kernel driver!) At least with MS tools it is technically possible to write a driver using C++, but it's a bit dodgy because of what areas the compiler / linker places particular bits of code in. It's been a long time since I wrote a device driver, and I never researched this much since I only ever used C, but I gather it was to do with some its of code being placed in sections that were loaded by the kernel into swappable memory by default... or something... that makes sense as a potential problem though if you expected your code to be able to run at any IRQL! Ed, when you used BCB did you use C or C++? Cheers, David "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> wrote in message news:46d0a754@newsgroups.borland.com... > If I remember correctly the ilink32 option was /aa for GUI, /ap for > console mode and /ad for device driver. > > . Ed > >> Jonathan Benedicto wrote in message >> news:46d0901d$1@newsgroups.borland.com... >> >> Very interesting, thanks for the information. I'll have to remember that >> when I ever need to write a device driver. > >
Technical Details
Message-ID:
<46dcfd29@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46d05592@newsgroups.borland.com> <46d073e6$1@newsgroups.borland.com> <46d07a66$1@newsgroups.borland.com> <46d0901d$1@newsgroups.borland.com> <46d0a754@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e9c910c4ee30f0b3 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "David M" <vintagedave@gmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <46d05592@newsgroups.borland.com> <46d073e6$1@newsgroups.borland.com> <46d07a66$1@newsgroups.borland.com> <46d0901d$1@newsgroups.borland.com> <46d0a754@newsgroups.borland.com> Subject: Re: How to deal with DDK header files not included in Builder 2007 ? Date: Tue, 4 Sep 2007 16:37:32 +1000 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 NNTP-Posting-Host: 203.24.135.146 Message-ID: <46dcfd29@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1188887849 203.24.135.146 (3 Sep 2007 23:37:29 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail