When using Firebird, I get "unable to load GDS32.DLL" even though it's in my System32 directory. What Can I do?

Copy fbudf.dll, fbudf.sql, ib_udf.dll, and ib_udf.sql from the Firebird LIB directory to SYSTEM32.