FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour samples\inspect.prg doesn't work
Posts: 274
Joined: Fri Apr 04, 2008 01:25 PM
samples\inspect.prg doesn't work
Posted: Fri Sep 19, 2008 11:14 AM
Hi,

when I compile samples\inspect.prg, I get following error:


Application
===========
Path and name: D:\fw809\fwh\samples\inspect.exe (32 bits)
Size: 1,570,304 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 09/19/08, 13:08:05
Error description: Error BASE/1108 Argument error: AT
Args:
[ 1] = C \rtf
[ 2] = N 32

Stack Calls
===========
Called from: => AT(0)
Called from: .\source\function\GTF.PRG => ISRTF(0)
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTDATA(0)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT(0)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY(0)
Called from: .\source\classes\CONTROL.PRG => TXBROWSE:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE(0)
Called from: inspect.prg => MAIN(18)
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Xbrowse sample
Posted: Fri Sep 19, 2008 11:31 AM

Hello Gilbert,

The same error.
For the moment, i changed back to FWH 8.08,
because after intensitive xBrowse-testing,
there have been strange behaviours, i didn't have with
version 8.08.

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
samples\inspect.prg doesn't work
Posted: Fri Sep 19, 2008 01:54 PM
This fix is required in Class TXBrowse:

line 5857:
      if ValType( cData ) == "C" .and. IsRtf( cData )
         cData := "<RichText>"
      endif

With such change, samples\Inspect.prg is working fine.

A new FWH build with this fix will be available in just some minutes, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion