emit blitz event from C

BlitzMax Forums/BlitzMax Programming/emit blitz event from C

Chris C(Posted 2005) [#1]
does anyone happen to know how to emit a blitz event from C

specifically in custom components windows message handler I want to be able to inform blitz that say a mousemove / down etc event has happened.


Chris C(Posted 2005) [#2]
i'm using

bbSystemEmitEvent( BBEVENT_MOUSEMOVE,&bbNullObject,0,0,xPos,yPos,&bbNullObject );

to send an event, but I want to send the address of a c++ object as the event source how do I cast it to a BBObject?

or am I going wrong somewhere?


Chris C(Posted 2005) [#3]
managed to solve it by storing a reference to an object of a dummy type in my C object and passing that.