🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reset and restarting

#5194
From: Remy Lebeau (TeamB)
Date: Fri, 26 Aug 2005 18:02
16 lines
1366 bytes
"Nerio" <ne_serzanti@tin.it> wrote in message
news:430f53c8@newsgroups.borland.com...

> I have, under some conditions, to reset and restart Windows so
> that my program autoruns. I'm thinking to use ExitExecRestart()
> and related functions but they are not known by C++Builder 6 at
> compiling time (missing an include file? which?)

ExitExecRestart() is not a Win32 API function.  It is a script function for
Microsoft's Installer technology.

What you are looking for is ExitWindows/Ex() instead.


Gambit
Technical Details
Message-ID: <430f5986$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <430f53c8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,80ad1a985aff130b
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: <430f53c8@newsgroups.borland.com>
Subject: Re: Reset and restarting
Date: Fri, 26 Aug 2005 11:02:59 -0700
Lines: 18
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: <430f5986$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1125079430 68.69.17.41 (26 Aug 2005 11:03:50 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail