HI, i am evaluating the demo and i am trying to interface the COM library (SterlingAPI.tlb) with C#. My problem is that i cannot figure out how to handle events dispatched by the STIEvents object...I can instanciate it but after i am really lost. Someone have an idea?
I found my solution... stiEvents.SetOrderEventsAsStructs(true); // Add STI event handlers stiEvents.OnSTIOrderReject += new SterlingLib._ISTIEventsEvents_OnSTIOrderRejectEventHandler(OnSTIOrderReject);