A new style of udf is available which should allow people to write UDF's in most any language they want. This results in a new function called WINUDF which has the same function parameters as the UDF function. The major difference is how R:BASE communicates with the WINUDF function. The exe program that WINUDF calls is passed one parameter which is the name of a file. This file has the parameters that should be passed to the WINUDF program. When the WINUDF program is completed, it is expected to write its results to the file that passed the original parameters.
Here are simple batch files that allow you to create WINUDF programs with at least 3 different C/C++ compilers. You could also use Visual Basic to create these new WINUDF's.