Article View: borland.public.cppbuilder.nativeapi
Article #4219Re: Create a shortcut
From: Remy Lebeau (TeamB)
Date: Tue, 07 Mar 2006 18:51
Date: Tue, 07 Mar 2006 18:51
23 lines
1762 bytes
1762 bytes
"Michel Corbin" <"Michel Corbin"> wrote in message
news:440d9ed3$1@newsgroups.borland.com...
> > I would like to programmatically create a shortcut to
> C:\windows\System32\command.com (is it a PIF file ?)
> and I'd like to be able to check the boxes "use HMA" or
> "Protected" in the memory tabsheet.
The PIF format is not documented by Microsoft, and there are no API
functions or objects available to work with PIF files programmably (well,
actually there are, but they are too limited in functionality for what you
are asking for).
You can find third-party documentation on the PIF format here:
http://lu0s1.3322.org/SPEC/PifFormat.htm
With that, you can create .pif files manually. The "WINDOWS 386 3.0"
section contains the two values you are asking for.
Gambit
Technical Details
Message-ID:
<440dd613$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news.netcologne.de!nhp.netcologne.de!news.schnuerpel.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<440d9ed3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eeceba04e5246d72 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <440d9ed3$1@newsgroups.borland.com> Subject: Re: Create a shortcut Date: Tue, 7 Mar 2006 10:51:58 -0800 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <440dd613$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141757459 68.69.17.41 (7 Mar 2006 10:50:59 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news.netcologne.de!nhp.netcologne.de!news.schnuerpel.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail