Antonio,
Do I need to include the oleWEvents0.c and oLeWEvents.prg to my App?
Thanks,
Jose
Search found 52 matches
- Tue Jun 17, 2014 2:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
- Tue Jun 17, 2014 2:27 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Hi Antonio, What is {cIID}? A new syntax? Looks like an array.. Anyway I tried both as shown below and still resulted to the same error Thanks, Jose Method Instantiate_Device(cProgID) class OPOSHardwareInterface local oOle:='',n,cIID ::lDeviceInstantiated:=.f. oOle:=CreateObject(cProgID) if valtype(...
- Mon Jun 16, 2014 7:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Antonio,
What is cIID?
If cIID is the ole program ID (cProgID in my code) then I tried that and my up terminated.
error: WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x473A43C) (B:{|| ... }) (C:OPOS.POSPrinter)
Thanks,
Jose
What is cIID?
If cIID is the ole program ID (cProgID in my code) then I tried that and my up terminated.
error: WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x473A43C) (B:{|| ... }) (C:OPOS.POSPrinter)
Thanks,
Jose
- Mon Jun 16, 2014 2:44 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
The valtype (oOle:__hObj) is P
The value differs as shown below.
OS Error -2147220992 WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x2CDAD04)
OS Error -2147220992 WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x30DA6CC)
The value differs as shown below.
OS Error -2147220992 WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x2CDAD04)
OS Error -2147220992 WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x30DA6CC)
- Mon Jun 16, 2014 8:27 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Antonio, I didn't notice the info on the second page. I tried to follow the code in the prg sample. :) But my application terminated after the Alert("here") :( Error -2147220992 WINOLE/1014 Failed to obtain connection point: __AXREGISTERHANDLER Args: (P:0x484EA9C) (B:{|| ... }) Thanks, Jos...
- Mon Jun 16, 2014 6:14 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Antonio,
The topic was posted sometime in 2008.
Sounds great that it is there, but I'm getting a link error .
What is the library file and where to get the MyInclude.ch?
BTW I used it this way: oOle:=OleWEvent():New(cProgId)
Regards, Saludos
Jose
The topic was posted sometime in 2008.
Sounds great that it is there, but I'm getting a link error .
What is the library file and where to get the MyInclude.ch?
BTW I used it this way: oOle:=OleWEvent():New(cProgId)
Regards, Saludos
Jose
- Mon Jun 16, 2014 12:40 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Hi Antonio,
Is this the topic?
If yes then, do you have idea if this was included in Harbor lib?
http://forums.fivetechsupport.com/viewtopic.php?p=72425
Regards,
Jose
Is this the topic?
If yes then, do you have idea if this was included in Harbor lib?
http://forums.fivetechsupport.com/viewtopic.php?p=72425
Regards,
Jose
- Sun Jun 15, 2014 1:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Antonio, >What object are you using ? it is a "OLE for Retail POS". A standardize interface for POS devices (like Receipt Printer, Magnetic Strip Reader, Cash Drawer etc). Here's the link for details of the OLE. http://www.monroecs.com/opos.htm I can't figure how to create a self contained...
- Sat Jun 14, 2014 4:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ole and Events
- Replies: 2
- Views: 428
Re: Ole and Events
Hi Antonio,
I just posted few more inquiries to related topic below
Thank you for your support. I appreciate it.
Jose
http://fivetechsupport.com/forums/viewt ... 27#p160627
I just posted few more inquiries to related topic below
Thank you for your support. I appreciate it.
Jose
http://fivetechsupport.com/forums/viewt ... 27#p160627
- Sat Jun 14, 2014 4:04 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Hi Antonio, Thank you for responding on this thread. Last thing, is THActiveX object compatible with Createobject object except for the addition of bOnEvent code block? I just want to have rough estimates to the impact to existing prg codes before requesting for new FWH lib. We just released our App...
- Fri Jun 13, 2014 9:55 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Richard,
Thank you for the info.
I have a link error. Is thActiveX class part of Harbor or FiveWin?
What if my activex doesn't require a window, Can I just pass the program ID, I mean the second parameter to ThActivex?
Thanks,
Jose
Thank you for the info.
I have a link error. Is thActiveX class part of Harbor or FiveWin?
What if my activex doesn't require a window, Can I just pass the program ID, I mean the second parameter to ThActivex?
Thanks,
Jose
- Fri Jun 13, 2014 9:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ole and Events
- Replies: 2
- Views: 428
Ole and Events
Dear Antonio and Five Win Support, Greetings! I'm looking ways to handle events of Ole. I used CreateObject(programID) to create the object. I can use methods and properties but I can't figure out how to receive events. My question is how, can I handle events of objects created by function CreateObj...
- Fri Jun 13, 2014 8:51 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Ole With Events
- Replies: 4
- Views: 1062
To: FW/Antonio Linares (Topic: Ole With Events)
Dear Antonio, I'm looking ways to handle events of Ole. I used CreateObject(programID) to create the object. I can use methods and properties but I can't figure to received events. I am not very good in Spanish. My question is how can I handle events of objects created by function CreateObject(progr...
- Fri Jun 13, 2014 6:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
Re: How to receive events from objects?
Hi Richard,
Thank you for the response.
I still have few questions which I hope you have idea.
How's the activex calls back to your application? Is it through the :bOnEvent?
Thank you very much.
Jose
Thank you for the response.
I still have few questions which I hope you have idea.
How's the activex calls back to your application? Is it through the :bOnEvent?
Thank you very much.
Jose
- Fri Jun 13, 2014 1:34 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to receive events from objects?
- Replies: 32
- Views: 8361
How to receive events from objects?
Dear Fivewin users,
We use com/activex objects in our application using the createObject() function. We can access properties and methods but we can't figure how to receive events.
How do we write codes in harbour to received events?
Any help will be highly appreciated.
Thank you very much!
Jose
We use com/activex objects in our application using the createObject() function. We can access properties and methods but we can't figure how to receive events.
How do we write codes in harbour to received events?
Any help will be highly appreciated.
Thank you very much!
Jose