FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Avoid the Error Message of UEStudio.
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Avoid the Error Message of UEStudio.
Posted: Sat Apr 11, 2009 08:17 PM
Dear All,

I try to use UES for Project Manager but when I compile the PUBLIC and PRIVATE Variable will show the warning message as following.
Code (fw): Select all Collapse
D:\V5\EZ4FO\ez4.prg(50) Warning W0001  Ambiguous reference: 'HMAIN'


How can I avoid this message?

Best regards,
Dutch
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Avoid the Error Message of UEStudio.
Posted: Sun Apr 12, 2009 06:08 AM
Just declare it either as local, public or private. If it's a public or private var, declare it as file-wide memvar at the very top of the prg memvar hMain
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Avoid the Error Message of UEStudio.
Posted: Sun Apr 12, 2009 03:01 PM
Dear Hua,

It means every memvar (public or private), it must declare on top of every prg file as following
Code (fw): Select all Collapse
#include 'fivewin.ch'

memvar hMain, TopWin, LeftWin

Regards,
Dutch
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Avoid the Error Message of UEStudio.
Posted: Sun Apr 12, 2009 04:10 PM

Dear Hua,

I got the option in UES. It has fixed.
Automatic Memvar Declaration = yes

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion