🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

was ShellExecute - crash on NT4

#16850
From: Murray Nelson
Date: Tue, 22 Apr 2003 07:37
11 lines
1671 bytes
Well now I have some further queries.
  Actually I have been using ShellExecuteInfo
I am trying to write a registry key to the registry with a file suffixed 
.reg previously prepared. ShellExecuteInfo works great except I get "Are 
you sure ..." and then I get "...successfuly entered into registry". So 
I have to complete a carriage return twice or a space bar twice to get 
the final result. What can I put into the ExecInfo.lpParameters = ""; to 
complete the spacebar strokes?

ExecInfo.lpFile = "C:\\New Folder\\ViaPref.reg";
ExecInfo.lpParameters = "";
Technical Details
Message-ID: <3EA4F142.2040002@agt.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ea04c39$1@newsgroups.borland.com> <3EA47744.4010906@agt.net> <3ea4809d$1@newsgroups.borland.com> <3EA4C5ED.5050505@agt.net> <3ea4e282$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5c247afc24d17dcf
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-22 00:47:29 PST
Message-ID: <3EA4F142.2040002@agt.net>
Date: Tue, 22 Apr 2003 01:37:38 -0600
From: Murray Nelson <mnpicker@agt.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: was  ShellExecute - crash on NT4
References: <3ea04c39$1@newsgroups.borland.com> <3EA47744.4010906@agt.net> <3ea4809d$1@newsgroups.borland.com> <3EA4C5ED.5050505@agt.net> <3ea4e282$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 142.173.166.192
X-Trace: newsgroups.borland.com 1050997062 142.173.166.192 (22 Apr 2003 00:37:42 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail