Events from OLE

Re: Events from OLE

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Events from OLE

Postby Jose Dolar » Fri Aug 15, 2014 1: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
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: Events from OLE

Postby Antonio Linares » Fri Aug 15, 2014 1:29 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Events from OLE

Postby Jose Dolar » Sat Aug 23, 2014 3: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
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: Events from OLE

Postby Antonio Linares » Mon Aug 25, 2014 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 71 guests