You need to use a function pointer to the callback as a parameter in bbSetBlitz3DEventCallback(). Also the function/pointer needs to be using CDECL calling convention.
More Info:
http://www.newty.de/fpt/index.html
More Info:
http://www.newty.de/fpt/index.html