Article View: borland.public.cppbuilder.nativeapi
Article #11057Re: Problems writing boot record to removable media under WinME
From: Remy Lebeau (TeamB)
Date: Mon, 01 Mar 2004 20:05
Date: Mon, 01 Mar 2004 20:05
29 lines
2219 bytes
2219 bytes
"Walt Morrey" <dadinc@bellsouth.net> wrote in message
news:4043852a$1@newsgroups.borland.com...
> In any case, neither (Int 21h Function 7305h) nor (Int 26h) worked
> correctly.
Just saying "it doesn't work" says nothing about the actual problem you are
experiencing. You need to always be very specific.
Your current code is using Int 26h, which it should only be using for Win 95
prior to OSR2. Everything else (Win95 OSR2+,Win98, Win Me) should be using
Int 21h Function 7305h instead. That is not an old API, thus the OS should
not be complaining about it. If it is, then you need to show your
uncommented and trimmed code that is producing the error.
> If the article is correct, what should I try next?
You are not doing any kind of OS version testing. If you read that article
again, not only do you have to detect Win9x/Me vs. WinNT/2K/XP, but you also
have to detect Win95 OSR2 vs non-OSR2 as well. Have a look at the following
article for information about detecting the specific OS version being used:
Getting the System Version
http://msdn.microsoft.com/library/en-us/sysinfo/base/getting_the_system_version.asp
Gambit
Technical Details
Message-ID:
<40439587$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40437604@newsgroups.borland.com> <404380f3$1@newsgroups.borland.com> <4043852a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5a57fca3b977b3f5 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-01 12:10:40 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40437604@newsgroups.borland.com> <404380f3$1@newsgroups.borland.com> <4043852a$1@newsgroups.borland.com> Subject: Re: Problems writing boot record to removable media under WinME Date: Mon, 1 Mar 2004 12:05:20 -0800 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.138.253 Message-ID: <40439587$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078171015 67.22.138.253 (1 Mar 2004 11:56:55 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail