FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour recompiling an oldest application : TPanel error ldrag ?
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
recompiling an oldest application : TPanel error ldrag ?
Posted: Wed Mar 14, 2018 09:10 PM
I not change anything!!!

I Have not words!!!!


:-) :-) :-) :-) :-)

Code (fw): Select all Collapse
Application
===========
   Path and name: C:\Work\Prg\fsdi2006\main.Exe (32 bits)
   Size: 3,891,712 bytes
   Compiler version: Harbour 3.2.0dev (r1703231115)
   FiveWin  version: FWH 17.12
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.1, Build 7600 

   Time from start: 0 hours 0 mins 1 secs 
   Error occurred at: 14-03-2018, 22:02:28
   Error description: Error BASE/44  Assigned value is wrong class: TPANEL:LDRAG
   Args:
     [   1] = N   16777215

Stack Calls
===========
   Called from:  => TPANEL:_LDRAG( 0 )
   Called from: .\source\classes\TPANEL.PRG => TPANEL:NEW( 43 )
   Called from: source\pcustomer2.prg => BUILDEXPLORERBAR( 174 )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: recompiling an oldest application : TPanel error ldrag ?
Posted: Wed Mar 14, 2018 09:27 PM

correct!!

::lDrag = .f.

was remmed .....why?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: recompiling an oldest application : TPanel error ldrag ?
Posted: Thu Mar 15, 2018 12:58 AM

In 2017 July, 6th param lDesign was added to the method New, which defaults to .F. and
::lDrag := .f. was changed to ::lDrag := lDesign.

Any existing programs, if correctly written, should not have any problem with this change.
Prior to this change method New had 5 params, <top>, <left>, <bottom>, <right>, <wnd>. Had you used 5 params only you would not had any issues.

You obviously used a numeric value as 6th parameter. That resulted in this error. Had you used 5 params you would not have had this error.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion