How to receive events from objects?

Re: How to receive events from objects?

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

Re: How to receive events from objects?

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

Re: How to receive events from objects?

Postby Jose Dolar » Wed Jul 09, 2014 9: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: Select all  Expand view

alert('About to register '+::acProgID[i] + ' Handler')     
__axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') },'{B196B284-BAB4-101A-B69C-00AA00341D07}')
alert(::acProgID[i] + ' Handler registered')
 
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 129 guests

cron