Page 3 of 3

Re: How to receive events from objects?

PostPosted: Tue Jun 17, 2014 9:16 pm
by Antonio Linares
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.

Re: How to receive events from objects?

PostPosted: Tue Jun 17, 2014 10:14 pm
by Jose Dolar
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 :)

Re: How to receive events from objects?

PostPosted: Wed Jul 09, 2014 9:26 pm
by Jose Dolar
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')