"Name" of TOLE

"Name" of TOLE

Postby Jimmy » Wed Nov 30, 2022 12:39 pm

hi,

when using
Code: Select all  Expand view
  FWLOG hb_valToExp( oObject)

i got
'__itemSetObj( {{"__HOBJ", <pointer>}}, {{"TOLEAUTO",}} )'

how to get "more" Information about it :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: "Name" of TOLE

Postby nageswaragunupudi » Fri Dec 02, 2022 2:20 pm

To know the name
? oObject:cClassName
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: "Name" of TOLE

Postby Antonio Linares » Fri Dec 02, 2022 2:50 pm

Dear Jimmy,

Please use FWH\samples\olebrow.prg to inspect the OLE objects
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: "Name" of TOLE

Postby Jimmy » Fri Dec 02, 2022 3:34 pm

hi,
nageswaragunupudi wrote:To know the name
? oObject:cClassName


thx for Answer.

Code: Select all  Expand view
  xFolder := aSelect[ ID_Folder ]
   xName := aSelect[ ID_Name ]
   xLevel := aSelect[ ID_Level ]

FWLOG xFolder
FWLOG oFolderItem:cClassName
FWLOG oTreeNext

   DoTreeRecursiv( oFolderItem, xLevel + 1, .F., .F., .F., .F.,oTreeNext )

02.12.2022 16:24:51: DOTREEACTION( 0 ) xFolder = TTVITEM
02.12.2022 16:24:51: DOTREEACTION( 0 ) oFolderItem:cClassName =
02.12.2022 16:24:51: DOTREEACTION( 0 ) oTreeNext = TTVITEM


as that CODE is working there must be a "Name" but i got only "empty"
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: "Name" of TOLE

Postby Jimmy » Fri Dec 02, 2022 3:36 pm

hi Antonio,
Antonio Linares wrote:Please use FWH\samples\olebrow.prg to inspect the OLE objects


WOW, all CLSID in XBROWSE :D

but it is not the same as i use

Code: Select all  Expand view
  oShell := CreateObject( "shell.application" )
   IF NIL <> oShell
      oFolder := oShell:NameSpace( CSIDL_DRIVES )

i do work with "virtual Folder" which i get from "shell.application"

p.s. as CODE is working now i do not need to "check" it any more
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: "Name" of TOLE

Postby nageswaragunupudi » Fri Dec 02, 2022 6:14 pm

BTW cClassName is only for OLE objects.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: "Name" of TOLE

Postby Jimmy » Mon Dec 05, 2022 3:14 am

hi,
nageswaragunupudi wrote:BTW cClassName is only for OLE objects.

i understand

my Question for "Name" was wrong, it must be "Interface"

i do use
Code: Select all  Expand view
  oShell := CreateObject( "shell.application" )

so it is not a Fivewin CLASS Object which i can "identify"

but when using wrong Object and crash Errorlog "just" say TOLEAUTO ...

so i ask for Interface-"Name" to understand Errorlog
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests