The Sybase CEP SDK in C/C++ programming language includes the following:
Libraries of functions that you can call.
Header (.h) files that your source code can #include.
Source code for some of the adapters that Sybase CEP supplies.
Sample source code for other purposes, including:
An out-of-process input adapter (example_input_adapter.c) and output adapter (example_output_adapter.c).
Registering a query (example_register_query.c).
A user-defined function (weightedAverage3).
A user-defined aggregate function (runningAverage).
You will need to supply a C/C++ compiler.
If you have a .dll file that was generated with a previous version of Microsoft Visual Studio, that .dll file will not work reliably with version 5.1 and later of Sybase CEP Server. You should re-compile the code. This applies to all .dll files that are intended to be linked in with Sybase CEP Server, including:
In-process adapters.
UDFs. Note that, throughout this chapter, when we refer to UDFs, we are referring to UDFs written in C/C++, not CCL UDFs, unless explicitly stated otherwise.
RPC plugins.
User-defined plugins.
The only C compiler that Sybase CEP supports on Microsoft Windows is the Microsoft Visual Studio .NET 2005 C/C++ compiler with Visual Studio Service Pack 1.