This project aims to bring Redis functionality to DataFlex projects.
Install rust toolchain Rustup
Run build.bat
Add library to project through Tools -> Maintain Libraries
Include the file with
Use DFRedisBinding.src
Copy the DLL df_redis_binding.dll
to your programs directory or a global path.
Create a connection object. I suggest doing this globally for a long lived object if you will be calling often.
Object oRedis is a cRedis
Set psHost to "redis://localhost:6379"
End_Object
Send SetValue to oRedis "Testing" "Works"
Get GetValue of oRedis "Testing" to _sResult