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.
How to receive events from objects?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 52
- Joined: Thu Mar 22, 2012 5:43 pm
- Location: USA
Re: How to receive events from objects?
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
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 5:43 pm
- Location: USA
Re: How to receive events from objects?
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
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
alert('About to register '+::acProgID[i] + ' Handler')
__axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') },'{B196B284-BAB4-101A-B69C-00AA00341D07}')
alert(::acProgID[i] + ' Handler registered')