🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4214

Create a shortcut

#4214
From: Michel Corbin
Date: Tue, 07 Mar 2006 14:54
13 lines
1359 bytes
Hi everybody,

I'm working with BCB3, my PC runs with Windows XP (home edition)
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.
I think I should use  CoIninialize and then CoCreateInstance, but
I don't know exactly. Any help would be appreciated.
Thanks.

Michel.
Technical Details
Message-ID: <440d9ed3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.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

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eeceba04e5246d72,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 07 Mar 2006 15:54:46 +0100
From: "Michel Corbin" <"Michel Corbin">
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: fr-fr, fr, en, en-us, es, it, p
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Create a shortcut
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.5.0.22
Message-ID: <440d9ed3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1141743315 84.5.0.22 (7 Mar 2006 06:55:15 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.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