Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CallHASPMBS(service as Integer, seed as Integer, lptnum as Integer, pass1 as Integer, pass2 as Integer, byref p1 as Integer, byref p2 as Integer, byref p3 as Integer, byref p4 as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Dongle MBS Dongle Plugin 3.3 Yes Yes Yes Yes No
Function: Calls the HASP API.
Notes:
You may need drivers from Aladdin Knowledge Systems for your HASP keys, but the plugin should run and compile even without.

Linux added for plugin v7.0
Please check the HASP documentation from Aladdin for the list of error codes.
If you need a plugin for HASP SRM, please contact us.

With plugin version 14.2 we see problems on Windows with Xojo, but works with Real Studio.

Please use HASPHLDMBS for newer projects.

Some examples using this method:

Feedback, Comments & Corrections

CallHASPMemMBS(service as Integer, seed as Integer, lptnum as Integer, pass1 as Integer, pass2 as Integer, byref p1 as Integer, byref p2 as Integer, byref p3 as Integer, byref p4 as Integer, mem as memoryblock)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Dongle MBS Dongle Plugin 3.3 Yes Yes Yes Yes No
Function: Calls the HASP API.
Notes:
This version of the Call will pass in the p3 and p4 parameters the address of the memoryblock to the function.

Linux added for plugin v7.0

Please check the HASP documentation from Aladdin for the list of error codes.

Some examples using this method:

Feedback, Comments & Corrections

GetHASPErrorStrMBS(error as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Dongle MBS Dongle Plugin 3.3 Yes Yes Yes Yes No
Function: Returns a human readable error string for the given error code.
Notes:
May return "" on low memory.

Please check the HASP documentation from Aladdin for the list of error codes.

Some examples using this method:

Feedback, Comments & Corrections

GetNetHaspWarningStrMBS(error as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Dongle MBS Dongle Plugin 3.3 Yes Yes Yes Yes No
Function: Returns a human readable string for the given error code.
Notes:
May return nil on low memory.

Please check the HASP documentation from Aladdin for the list of error codes.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Dongle Plugin.




Links
MBS Xojo Plugins