Here's something interesting, creating a custom extension for the constants you need
this is set for FxBox, but it should be easy to modify - source and build tools included.
I've found this is a real speed-up in high demand code, saves variable buffer memory and speeds up FindVar and all procedures that use variables.