There is an error in function InitGLXFromLibrary. The if statement should be
Code:
if not LoadModule( libGLX, dll ) then exit;
not
Code:
 if LoadModule( libGLX, dll ) then exit;
In present form it loads library and exits witout initialising glx functions.