Search found 94 matches: pattern

Return to advanced search

Re: ActiveX - CREATEOBJECT and singleton pattern

prg: //////////////////////////////////////////// o1 := CREATEOBJECT("PaymentService.BluetoothConnector") // ok MsgInfo( ValType( o1 ) ) // -> "O" o2 := o1:GetInstance() // error MsgInfo( ValType( o2 ) ) //////////////////////////////////////////// error.log Application ======...
by metro2
Wed Sep 29, 2021 10:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

Also please try:

local o2 := o1:Invoke( "GetInstance" )
by Antonio Linares
Wed Sep 29, 2021 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

Please try this:

local o1 := CreateObject( "PaymentService.BuetoothConnector" )
local o2 := o1:GetInstance()

MsgInfo( ValType( o1 ) )
MsgInfo( ValType( o2 ) )
by Antonio Linares
Wed Sep 29, 2021 9:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

Yes, invoke is the last entry in the list

Image
by metro2
Wed Sep 29, 2021 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

metro2 wrote:Image


Is Invoke() the latest entry in the list ? The scrollbar seems to have more to show
by Antonio Linares
Wed Sep 29, 2021 7:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

Download this utility to see the registered classes of activex and olecom components.

https://www.mitec.cz/Downloads/OLExp.zip
by Giovany Vecchi
Wed Sep 29, 2021 1:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

We need the complete list

Please click on Print or Excel to get it
by Antonio Linares
Tue Sep 28, 2021 4:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

Please double click on the highligthed (blue) line to show its info
by Antonio Linares
Tue Sep 28, 2021 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

Thank you for the quick response

I hope that's what you were looking for

Image


Registry
Image
by metro2
Tue Sep 28, 2021 12:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: ActiveX - CREATEOBJECT and singleton pattern

Please build FWH\samples\olebrow.prg and inspect the DLL OLE class that you want to use and paste here what you get

Example:
Image
by Antonio Linares
Tue Sep 28, 2021 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

ActiveX - CREATEOBJECT and singleton pattern

...           //==========================================  I received an email from the equipment supplier saying that they use a singleton pattern to manage and control instances of Bluetooth connections and suggest that I use the factory method BluetoothConnector.GetInstance (string serviceGuid) ...
by metro2
Tue Sep 28, 2021 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1682

Re: patternlock

Hello friends,
You can now log in to the mod harbour web app with a password or pattern lock.
Best regards,
Otto

Image
by Otto
Wed Sep 15, 2021 4:35 pm
 
Forum: mod_harbour
Topic: patternlock
Replies: 11
Views: 1390
PreviousNext

Return to advanced search