Re: Re[2]: windows version in .h files
Soroush Jam <[email protected]> Fri, 10 Feb 2006 01:50:31 -0800 (PST)
| Newsgroups | gmane.comp.lang.delphi.jedi |
|---|---|
| Message-ID | <[email protected]> |
ba salam khastam bebinam ke ba che narmafzari mitavan barnameh hai DELPHI ra pack kard va chera dar bazi windows ha kar nemikonad manzooram narmafzar hai pack shode mibashad mamnon montazeram Soroush Jam soya protein <[email protected]> wrote: Hello Rudy, Tuesday, February 7, 2006, 1:40:29 PM, you wrote: > Robert Marquardt wrote: >>>As you say $0401 does not seem to be anywhere, perhaps its an error for >>>$0410. >> >> >> Probably. The MS .h files do contain such typos. >> > Not necessarily. Usually they are used in conjunction with a >=, so 4.01 > excludes 4.00 and all below. I've found the following info at http://bbs.edu-edu.com/archiver/?tid-620.html [QUOTE] WINVER = 0x400 Indicates that your RAS application is targeted for Windows 95, Windows 98, or Windows NT 4.0 with no service pack WINVER = 0x401 Indicates that your RAS application is targeted for Windows NT 4 with any service pack WINVER = 0x500 Indicates that your RAS application is targeted for Windows 2000 WINVER = 0x501 Indicates that your RAS application is targeted for Windows XP and Windows .NET Server [/QUOTE] I'm tinkering with RAS and while googling for the "WINVER >= 0x401" ALL references pointed to RAS, no other header file uses this. I've found a number of sources that show how to use RAS, both in C/C++ and Delphi. One of them contains RAS-related .h files translated into Delphi, but since i'm trying to make a version-independent executable, i'm creating 3 different record types. Each record is used relative to detected version of windows (i'm typecasting it as needed and call the same function). As for the functions, i'll use runtime DLL loading and then get required function pointers. This will help me use RNAPH.DLL that contains RAS management functions missing in Win95/98 (please correct me if i'm wrong). -- Best regards, soya SPONSORED LINKS Basic programming language C programming language Computer programming languages The c programming language C programming language List of programming languages --------------------------------- YAHOO! GROUPS LINKS Visit your group "Delphi-JEDI" on the web. To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- --------------------------------- Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Delphi-JEDI/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/