Error in dc_arrayview() in build 255?

This forum is for eXpress++ general support.
Post Reply
Message
Author
reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Error in dc_arrayview() in build 255?

#1 Post by reganc »

On calling dc_arrayview I get the following error:

------------------------------------------------------------------------------
ERROR LOG of "H:\XBprog\rbawin\prog\RBA32.EXE" Date: 29/07/2011 11:23:52

Xbase++ version:Xbase++ (R) Version 1.90.355
Operating system:Windows Vista 06.01 Build 07601 Service Pack 1
------------------------------------------------------------------------------
oError:args :-> VALTYPE: C - VALUE: Caption
oError:canDefault :.T.
oError:canRetry :.F.
oError:canSubstitute:.T.
oError:cargo :NIL
oError:description :Unknown name.
Object has no member with this name
oError:filename :NIL
oError:genCode :NIL
oError:operation :getProperty
oError:osCode :-2147352570 (Unknown name.)
oError:severity :2
oError:subCode :6500
oError:subSystem :Automation
oError:thread :5
oError:tries :NIL
------------------------------------------------------------------------------
CURRENT DATABASE:
------------------------------------------------------------------------------
Alias(): WEB_CTRL Record: 1 Index: None
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------

Called from _ARRAYVIEW(1015)
Called from DC_ARRAYVIEW(676)
Called from (B)FULL_PRODUCT_ENTRY(1354)
...etc
------------------------------------------------------------------------------

This has only started happening since I added a DCHTMLVIEWER item to the getlist, so I guess it cannot interrogate the object correctly if it's an ActiveX object.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

John Hohensee
Posts: 26
Joined: Fri Mar 04, 2011 7:35 am
Location: San Bernardino, CA USA
Contact:

Re: Error in dc_arrayview() in build 255?

#2 Post by John Hohensee »

Silly question did you forget the array you wanted to view? DC_ArrayView( aData ) ?

User avatar
rdonnay
Site Admin
Posts: 4745
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Error in dc_arrayview() in build 255?

#3 Post by rdonnay »

Regan -

I dealt with this issue with Automatic objects in Xcodejock by creating a bunch of .DEF files (one for each class group).
I had never noticed this to be a problem with DCHTMLVIEWER because it uses an Xbase class.

I will look into this and fix it.

Roger
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4745
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Error in dc_arrayview() in build 255?

#4 Post by rdonnay »

Here is a fix. This is a bug in Xbase++ because IsMemberVar( oHtml, 'caption' ) returns a .TRUE. and there is no 'caption' memvar in the XbpHtmlViewer() class.

Copy the attached file to your \exp19\source\dclipx directory and run build19_sl1.bat to rebuild dclipx.dll.
This fix will be in build 256.
Attachments
_dcarray.zip
(11.17 KiB) Downloaded 693 times
The eXpress train is coming - and it has more cars.

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Error in dc_arrayview() in build 255?

#5 Post by reganc »

Many thanks for the quick fix. I will put it into use straight away...
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

Post Reply