ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / HASP key functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HaspHLLogin (Function)
In french: HaspHLConnecte
Connects the application with a Hasp key.
Example
// Vendor key provided with the HASP key
VendorKey is string = [
p0AosKZcgvIqHRZwMAK6MqljLvA8fjsYK92+Z4QMib0WKbM/3ljp/
RAHjtNwN4wfy1W8oFXWujbbnEppgxd0vulb/ZTuqIvG5hiAuyjLo
DYl49KmvXGoXL1yWEwFBIDoVYEbMy1x1Q9k0XxcRioqIGKs8Q/xX
8ZqjvQlQyZi2p27biH4GxKvZew2ctfKKxEK87gHBxEC3Pz40bqUn
PUEl5KnjfXwTX674ZG0d8HVNnccAOqdblCHHQN6P5LdRpTOQI6B1
W4+cLWOv30i1rsjCv8yWfiqV7k909pVuE8s2YMHGBb14jKOjE4lm
1FBQ2j8yr7S/jLFBBy1wbDSpThnwT06uzjGgXRhANPVji7lUYdNN
ebK/v5daWpZGN/e1x0H5QhnSOiclsxNRKAS9f4fVv3iLNHYZHi41
W5S87teNkEDG/jkMQchv/Ub/VJTgW03neH44ZzbaAs2Ox+44Zkxd
KtDXQM/e0g2qpafrtfPyu07XaEWifw+IBDq2hCoiyB02OZcHVZXA
yPO5sk/5pFXr0J2rNT5tf09rqHuemgZnSbEO1XkhrKTo/XS3i9Jw
9ST/UgbpSaO5aeiCsWeQ8X5RJ3CIWVDTKC1G2dpadJftEMR2rFS6
N9ixxP/1R7pdT1df79/H/dPTVvzuy76dcpxj0UP7/mF/X6GO8OqU
OxKG8DoEPGMiZxHHm3ZgLib6uljbQ2ewZYKFp69QSVVMAHumT+wC
gWPKg==
]
// Connection
EDT_Session_ID = HaspHLLogin(0, VendorKey)
Syntax
<Result> = HaspHLLogin(<Area identifier> , <Vendor code> [, <Options>])
<Result>: Integer
<Area identifier>: Integer
Name of the area of the Hasp key to which the application must connect.
<Vendor code>: Character string
Vendor code obtained from the supplier of the key.
<Options>: Optional combination of Integer constants
Connection mode to use:
haspCompatibleModeThis constant allows you to use HASP keys of HASP3 and HASP4 type.
haspIgnoreTSEThis constant is used to disable the check of the "Terminal Server" environment.
haspLicensePerProcessThe number of licenses will be decremented for each process that is started. For example, two instances of the same application will use two licenses.
haspLocalLicenseOnly the Hasp keys connected to the computer will be used.
haspNetworkLicenseOnly the network HASP keys accessible from the current computer will be used.

By default, no constant is used.
Caution: You cannot combine the haspLocalLicense + haspNetworkLicense constants.
Component: wd290rtf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help