You can use any compiler that can produce the required DLL on your server platform.
For general information about compiling and linking a function that uses the Open Server API, see the Open Client/Server Supplement.