PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 32-bit application operating on a 64-bit system
  • Equivalence
  • Operating mode in GO mode and at run time
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Deletes a sub-key from the Windows registry.
Note: RegistryDeleteKey deletes the sub-key, the values and the descendants of specified key.
Example
Path is string
// Find out the name of "root" key
Path = RegistryFirstSubKey()
// Delete the key for my application
Path = Path + "\MyApp\"
IF RegistryDeleteKey(Path) = False THEN
Error("Error while deleting the key")
RETURN
END
// Deletes the "HKEY_LOCAL_MACHINE\SYSTEM\App" sub-key
ResDelKey = RegistryDeleteKey("HKEY_LOCAL_MACHINE\SYSTEM\App")
Syntax
<Result> = RegistryDeleteKey(<Sub-key Path>)
<Result>: Boolean
  • True if the sub-key was deleted or if the key does not exist,
  • False otherwise.
<Sub-key Path>: Character string (with quotes)
Full path of sub-key to delete.
Windows Mobile This path can contain up to 255 characters and up to 16 levels.
Remarks
WINDEVWEBDEV - Server codeReports and QueriesWindowsUser code (UMC)

32-bit application operating on a 64-bit system

On a 64-bit system, the 32-bit applications write into the registry from the following branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
Windows Mobile

Equivalence

The operating mode of RegistryDeleteKey is equivalent to the operating mode of ceRegistryDeleteKey.
The only difference is:
  • RegistryDeleteKey handles the Mobile Device registry (Pocket PC) from a WINDEV Mobile application.
  • ceRegistryDeleteKey handles the Mobile Device registry (Pocket PC) from a WINDEV application.
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), RegistryDeleteKey handles the registry of development computer.
At run time, RegistryDeleteKey handles the Mobile Device registry (Pocket PC).
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment