Search found 64 matches: undeclared

Searched query: undeclared

by jvtecheto
Sat Sep 21, 2024 5:07 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error al abrir archivos .rc con Resedit en entorno MSVC 64
Replies: 17
Views: 2455

Re: Error al abrir archivos .rc con Resedit en entorno MSVC 64

... which include paths I have to use.
since I simply go fwh64\samples and I cannot open any .rc file, not even yours.

Errors that it gives me, if I do not use the windows.h include I get an undeclared identifier.
and if I use it. The error in the photo that I posted above

It is frustrating but..

Jose
by nageswaragunupudi
Sun Mar 24, 2024 10:18 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 3888

Re: Problema super raro

I get this error

Error description: (DOS Error -2147352567) WINOLE/1007 [MySQL][ODBC 5.1 Driver][mysqld-5.1.53-community]Undeclared variable: oRsWrk (0x80004005): Microsoft OLE DB Provider for ODBC Drivers
Args:
[ 1] = C SELECT * INTO oRsWrk FROM oRsDet

oRsWrk and oRsDet are RecordSets.
You should ...
by Armando
Sun Mar 24, 2024 6:10 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 3888

Re: Problema super raro

... FROM oRsDet" )


I get this error

Error description: (DOS Error -2147352567) WINOLE/1007 [MySQL][ODBC 5.1 Driver][mysqld-5.1.53-community]Undeclared variable: oRsWrk (0x80004005): Microsoft OLE DB Provider for ODBC Drivers
Args:
[ 1] = C SELECT * INTO oRsWrk FROM oRsDet


with this code ...
by nageswaragunupudi
Tue Jun 08, 2021 2:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: Print Problem with FWH2104
Replies: 27
Views: 3827

Re: Print Problem with FWH2104

... 125;

The above variables are not used anywhere else in this sample. So, I commented out those 4 lines and added local declaration for the undeclared variable oFont017V and then built the exe both with FWH1909 and FWH2104.

The results are identical between FWH1909 and FWH2104. No difference is ...
by nageswaragunupudi
Thu May 09, 2019 10:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 11084

Re: Rpreview issues - PDF

... emf files. Therefore I modified this line
for each f in aMetas// hMeta := GetEnhMetaFile(f[1]) hMeta := GetEnhMetaFile(f)
4) Got two undeclared symbols and so I added these two local variable declarations
(i)
static proc pdf_Header(pdf,pRecord,pTable) local page // GNR
(ii ...
by TimStone
Fri Jan 25, 2019 8:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ereport.rc - how to open
Replies: 11
Views: 2852

Re: ereport.rc - how to open

I'm trying to open an existing .rc file and it tells me WS_POPUP is an undeclared identifier.
by gabo
Tue Dec 04, 2018 8:10 pm
Forum: FiveWin para Harbour/xHarbour
Topic: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Replies: 4
Views: 1235

Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?

... function.c:572:4: error: unknown type name 'UINT'
UINT ui, uiNumFields;
^
E:\ToolsDeveloper\tdolphin\source\c\function.c:578:7: error: use of undeclared identifier 'uiNumFields'
uiNumFields = hb_parnl( 2 );
^
E:\ToolsDeveloper\tdolphin\source\c\function.c:580:7: error: use of undeclared ...
by luisduque
Sun Aug 28, 2016 4:19 am
Forum: FiveWin para Harbour/xHarbour
Topic: Tomando fotos con la webcam
Replies: 77
Views: 21576

Re: Tomando fotos con la webcam

... x86)\Windows Kits\10\include\10.0.14393.0\um\strmif.h(2321): note: see declaration of 'IBaseFilter'
dshow.prg(196): error C2065: 'DexterLib': undeclared identifier
dshow.prg(196): error C2143: syntax error: missing ')' before ':'
dshow.prg(202): error C2065: 'pSampleGrabber': undeclared identifier ...
by TimStone
Fri Jan 08, 2016 5:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: 15.10 Browse problem
Replies: 27
Views: 9604

Re: 15.10 Browse problem

... oLbxo:nHeadStrAlign := AL_CENTER

Using the IIF clause for the last column, at runtime, the program has an error with nHeadStrAlign as an undeclared method.
If I comment out the IIF clause, no error. If I comment out the nHeadStrAlign everything displays correctly. However with this last ...
by James Bott
Wed Oct 14, 2015 9:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 524398

Re: ADO RDD xHarbour

Antonio,

It also seems that your TRYADORDD.PRG file has not been updated as it is erroring out with 3 errors. And there are undeclared vars too.

If would really help if you could provide in this test PRG, tests of all the new functions also. Otherwise each of us has to create test programs.

James
by Carlos Mora
Tue Sep 01, 2015 11:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 7689

Re: PUBLIC var declaration issue


I am trying to get warnings for every undeclared variable used in every function. This forces me to declare all of them at the top of the function.

May be it's not so easy. It depends on how vars are being used: a LOCAL can't replace a PRIVATE, because the scope of PRIVATEs go beyond the current ...
by Enrico Maria Giordano
Mon Aug 31, 2015 2:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 7689

Re: PUBLIC var declaration issue

James,

I am trying to get warnings for every undeclared variable used in every function.

This is what I've used for decades: don't use MEMVAR and compile with /a, so that you get a warning for each public or private variable not prefixed with M ->. As an example:

FUNCTION MAIN()&nbsp ...
by James Bott
Mon Aug 31, 2015 2:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 7689

Re: PUBLIC var declaration issue

... yet, but it appears that it won't solve the issue I am trying to solve. Moving the MEMVAR to the top of everything will prevent warnings for undeclared PUBLICs, but that is not what I need.

I am trying to get warnings for every undeclared variable used in every function. This forces me to ...
by James Bott
Sat Aug 29, 2015 6:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 7689

Re: PUBLIC var declaration issue

Enrico,

Well, the point is that I need the warnings to find undeclared locals and privates. So, I am compiling with the /w switch.

But what I don't want to see is thousands of warnings for already declared PUBLICs.

James
by nageswaragunupudi
Fri Jan 23, 2015 2:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp error on 15.01
Replies: 12
Views: 4015

Re: btnbmp error on 15.01

... your statement has syntax error.
There is no ROUND clause. Should be NOROUND or nothing.
I can also understand that you did not enable warnings for undeclared variables while compiling. That is the reason you did not notice this.

Please remove ROUND clause and it is always desirable to have "OF oDlg"