I have an OCX and I use it in a Service and There is no visible form. It needs a form as a parent otherwise it's events is not fired How can I make the ocx to process messages and fire the event ?
Here is my code :
public AxKylixSMS SMS;
SMS = new AxKylixSMS();
SMS.CreateControl();
SMS.NewDeliveryReport += new _DKylixSMSEvents_NewDeliveryReportEventHandler(OnDeliveryReport);
OnDeliveryReport Event is not fired. How can I solve this problem ?