FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Why is this code produce an error?
Posts: 99
Joined: Wed Nov 02, 2005 10:40 AM

Why is this code produce an error?

Posted: Wed Apr 18, 2007 08:58 AM
I have xharbour 0.99.60 and Fivewin 2.7. The following code produce an error :
Harbour Exception
Called from CDLG2CHR(0)
Called from TDIALOG:CTOCHAR(0)
Called from TDIALOG:ACTIVATE(0)

This has something to do with the length of the title string

Thank you
A.S.K


#include "fivewin.ch"



function main()
local oDlg

define dialog oDlg pixel ;
from 90,142 to 648,863 ;
title 'test'+replicate('0',190)



activate dialog oDlg


return nil
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Why is this code produce an error?

Posted: Wed Apr 18, 2007 02:22 PM

The string seems too long for the DIALOG's title.

EMG

Continue the discussion