🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Accessing Registry

#9661
From: Bob Gonder
Date: Mon, 28 Jun 2004 21:33
16 lines
1721 bytes
Brian Lonnon wrote:

>What I want to do is while my program is running, it deletes various data
>files. This means they go to the confounded recycle bin and stay there. I
>want them to be deleted completely. If the program can't temporarily change
>the NukeOnDelete key value to achieve this, is there another way to delete
>files without sending them to the recycle bin?

Yes, just delete them.
See:
	BOOL   DeleteFile( filename );

I forget what the delete-to-recycle-bin function is called.

And, even doing it your way, I would think you would change the
HKEY_CURRENT_USER  instead of the secured HKEY_LOCAL_MACHINE
Technical Details
Message-ID: <2631e0l1imvuq0gg3t1l0r90r16h0tisf6@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40dde673$1@newsgroups.borland.com> <40de0478$1@newsgroups.borland.com> <40de8f93$1@newsgroups.borland.com> <40df75c1$1@newsgroups.borland.com> <40e08911@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d95394da9c6bddf4
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Accessing Registry
Date: Mon, 28 Jun 2004 14:33:09 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <2631e0l1imvuq0gg3t1l0r90r16h0tisf6@4ax.com>
References: <40dde673$1@newsgroups.borland.com> <40de0478$1@newsgroups.borland.com> <40de8f93$1@newsgroups.borland.com> <40df75c1$1@newsgroups.borland.com> <40e08911@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.99.248
X-Trace: newsgroups.borland.com 1088458386 69.69.99.248 (28 Jun 2004 14:33:06 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail