FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Events from OLE
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Events from OLE
Posted: Thu Aug 14, 2014 10:17 PM

Jose,

But the events are not being fired, right ?

Could you report it in the Harbour developers list providing an example that does not require FWH ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 52
Joined: Thu Mar 22, 2012 05:43 PM
Re: Events from OLE
Posted: Fri Aug 15, 2014 01:07 AM

Antonio,

I am sure that opening the cover of the printer will fire an event. I had tested this in our older system. The software that bridge the "Harbour Application" and the "Ole for Retail" will display a message box when the printer cover is lifted.
It seems that the Harbour event handler is unable to receive the event.

Do you have a link to the Harbour developers list?

Thank you,

Jose

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Events from OLE
Posted: Fri Aug 15, 2014 01:29 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 52
Joined: Thu Mar 22, 2012 05:43 PM
Re: Events from OLE
Posted: Sat Aug 23, 2014 03:52 AM

Hi Antonio,

I found out that other implementation of the "OLE for Retail POS" was done by attaching it to a Form. So, I tried the FWH THactiveX and so far my App received events. :D

Just want to clarify about the parameters of the code block. bOnevent:={|event,aParams,pParams| }

  1. Is the code block always receive 3 paramters regardless of the Ole?
  2. What is the third parameter (pParams)?

Thank you.

Regards, Saludos,

Jose

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Events from OLE
Posted: Mon Aug 25, 2014 04:08 AM

Jose,

I missed your msg. Glad to know that you are already receiving events.

pParams is the same as aParams. I just used that syntax to keep compatibility with previous FWh Class TActiveX

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion