FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to receive events from objects?
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to receive events from objects?
Posted: Tue Jun 17, 2014 09:16 PM

Jose,

You said it! :-)

You are using an old Harbour!!!

Please try it with Harbour 3.2. That may solve it. Your version is too old.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 52
Joined: Thu Mar 22, 2012 05:43 PM
Re: How to receive events from objects?
Posted: Tue Jun 17, 2014 10:14 PM

Antonio,

Looks like that's the logical direction now. I think I have now a case to request for upgrade.

I hope it will solve the issue without diving more deeper down to the author of 'Ole for Retail'.

Regards,

Jose :)

Posts: 52
Joined: Thu Mar 22, 2012 05:43 PM
Re: How to receive events from objects?
Posted: Wed Jul 09, 2014 09:26 PM
Antonio,

Good news, the runtime error was resolved by the latest Harbour and FWH. The handler seems successfully registered as shown in the code below. The device is working fine also.

However there is no any event's callback.

Do we need more steps (codes) to catch events?

Please advise. :-)

Thank you,

Jose
Code (fw): Select all Collapse
alert('About to register '+::acProgID[i] + ' Handler')      
__axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') },'{B196B284-BAB4-101A-B69C-00AA00341D07}')
alert(::acProgID[i] + ' Handler registered')

Continue the discussion