It must be a regular DLL because
This is how it is used in declare statement:
DECLARE INTEGER ym_connectionstate IN YMBG32.DLL INTEGER, STRING, STRING, STRING, STRING, INTEGER
then in code it's used like so:
result = ym_connectionstate(0, 'www.somecompany.com','' ,'' ,'' ,15)
It takes up to...