PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
HaspHLRead (Function)
In French: HaspHLLit
Reads some data (character strings or buffers) in the internal memory of the Hasp key.
Example
// Retrieves the initial activation key in the memory of the Hasp key
InitialKey is string
InitialKey = HaspHLRead(EDT_Session_ID, haspMainFile, 0, 30)

// Compares the initial key to the activation key that was received
KeyCompareKey(InitialKey, ActivationKey)
Syntax
<Result> = HaspHLRead(<Session Identifier> , <File Identifier> , <Position> , <Size>)
<Result>: Character string
Information read in the memory of the Hasp key.
<Session Identifier>: Integer
Identifier of the Hasp session, returned by HaspHLLogin.
<File Identifier>: Integer or Integer constant
Identifier of the file in which the data must be read. This identifier can correspond to:
  • an integer.
  • one of the following constants:
    haspLicenseFileReads in the "license area" file of the key.
    haspMainFileReads in the "main memory area" file of the key.
<Position>: Integer
Position (in bytes) where the data will be read in the file.
Caution: The beginning of the file starts from position 0.
<Size>: Integer
Size (in bytes) of the data to read.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230rtf.dll
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment