English
Forum

Entry /. Entry structures from Registry Remove

 

Torsten
Rümker
Hi,

i want gladly one Program that I written have of .ini Files on The Registry adjust,
therefore have I time with the Opportunities of XProfan engage, and here in the Forum something red.

now position itself for me only another question.
How can I, for unwahrscheinlichen drop the someone my Program again uninstalling wants to of me begot Entries again delete?

is Yes still important possible none Garbage To leave behind, haven't we?

MfG
Torsten

PS: [...]  know I, but me interested a Possibility the whole with Profan-mitteln To make.

PPS: i'm straight noticed (Yes has long gedauert) the it with supra genannter Solution Yes only possible is values To delete, not but the sprigs, is means only a Teillösung.
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
04/04/06  
 




Matthias
Arlt
How wärs so: (yet only under 2000/XP tested)

Reg-Key with Unterschlüsseln delete

[box:afe8f959d2]
declare RHandle#,RSubKey#,RResult#,RDummy#

proc RegDelKeyEx Key (with Unterschlüsseln) Remove
parameters HKEY&,KEY$
declare counter%,ERROR%
dim RHandle#,4
dim RSubKey#,255
dim RResult#,100
dim RDummy#,1
string RDummy#,0=
external(ADVAPI32,RegOpenKeyExA,HKEY&,addr(KEY$),0,$F003F,RHandle#)
whilenot equ(ERROR%,259)
ERROR%=external(ADVAPI32,RegEnumKeyA,long(RHandle#,0),0,RResult#,100)
case ERROR% : break
string RSubKey#,0=@string$(RResult#,0)
external(SHLWAPI,SHDeleteKeyA,long(RHandle#,0),RSubKey#)
wend
external(SHLWAPI,SHDeleteKeyA,long(RHandle#,0),RDummy#)
external(ADVAPI32,RegCloseKey,long(RHandle#,0))
dispose RHandle#
dispose RSubKey#
dispose RResult#
dispose RDummy#
endproc

Bsp.: RegDelKeyEx($80000001,SoftwareTestsoft)
[/box:afe8f959d2]
because of Abwärtskompatibilität bzgl. SHDeleteKeyA Related MSDN...
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/05/06  
 




Torsten
Rümker
Jep very something like ought to it his.

means is it so How I it me thought, It's all right not Profaneigenen command.
Schade.

OK, I thanks you.
now can I me Yes good conscience on it make The Registry To using.

MfG
Torsten Rümker
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
04/05/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.620 Views

Themeninformationen

this Topic has 2 subscriber:

Torsten Rümker (2x)
Matthias Arlt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie