Avoid the Error Message of UEStudio.

Avoid the Error Message of UEStudio.

Postby dutch » Sat Apr 11, 2009 8: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: Select all  Expand view

D:\V5\EZ4FO\ez4.prg(50) Warning W0001  Ambiguous reference: 'HMAIN'
 


How can I avoid this message?

Best regards,
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Avoid the Error Message of UEStudio.

Postby hua » Sun Apr 12, 2009 6: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
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Avoid the Error Message of UEStudio.

Postby dutch » Sun Apr 12, 2009 3:01 pm

Dear Hua,

It means every memvar (public or private), it must declare on top of every prg file as following
Code: Select all  Expand view

#include 'fivewin.ch'

memvar hMain, TopWin, LeftWin
 

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Avoid the Error Message of UEStudio.

Postby dutch » Sun Apr 12, 2009 4:10 pm

Dear Hua,

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

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 90 guests