Hi
I have an ActiveX-DLL for validating user-entries from UI-Controls (mostly text-boxes)
The validation-method is very basic.
It validates whether the data entered matches the expected datatype (int, long, double etc)
and optionally minimae and maximae for numeric and date values or length
and pattern for strings.
In order to make a more specific validation i would like to pass a function-pointer
from the client to the the dll, that points to a boolean validation function.
In JavaScript one can pass a func-pointer by simply passing its name (without brackets),
in C/C++ it is similar.
Is there such a thing in VB (Maybe AdressOf, or CallByName)?
Any help appreciated.
--
Gruesse, Christoph