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
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 (with quotes)
Vendor code obtained from the supplier of the key.
<Options>: Optional combination of Integer constants
Connection mode to use:
haspIgnoreTSEThis constant is used to disable the check of the "Terminal Server" environment.
haspLocalLicenseOnly the Hasp keys connected to the computer will be used.
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.
haspNetworkLicenseOnly the network HASP keys accessible from the current computer will be used.
haspCompatibleModeThis constant allows you to use HASP keys of HASP3 and HASP4 type.

By default, no constant is used.
Caution: You cannot combine the haspLocalLicense + haspNetworkLicense constants.
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