Writing Sybase Open Server Component

Hello all,

We are trying to write a component which interacts with a Sybase Open
server. We do not seem
to get the part with the callback routines working (access violation etc..).
Does anyone of you have an example of how to do this.

Any help will be very much appreciated,

Misha Beek
The Netherlands