#Engine_library isn't assigned a number, plus its in a function. I find using #PB_Any is better, which a generates a number instead.Don't really see the point of "Init_Engine_Enum()" it doesn't do anything and just contains the constants and structs.
Macro _leInitialize(le_dll)
le_lib=OpenLibrary(#PB_Any,le_dll)
If le_lib
_leInitAllFuncs()
Else
lePrint(le_dll+" can't be loaded.")
EndIf
EndMacro