Page 1 of 1

sample compilation error

Posted: Mon Jun 12, 2006 11:49 pm
by Ehab Samir Aziz
the sample dbf03.prg has error of missing RDD . Can any body tell me what libraries it needs to be created from the buildhd.bat

Error: Unresolved external '_HB_FUN__ADS' referenced from E:\PROGRAMS\CLIPPER\CL
PFWH\SAMPLES\DBF03.OBJ
* There are errors
E:\programs\clipper\clpfwh\SAMPLES>

Posted: Tue Jun 13, 2006 7:58 am
by Antonio Linares
Ehab,

Please make this change into samples\Dbf03.prg:

Code: Select all

#ifndef __HARBOUR__
   REQUEST _ADS
#else
   REQUEST ADS
#endif

Posted: Fri Jun 16, 2006 9:29 pm
by Ehab Samir Aziz
Though the file is exist (Clients.dbf)
Application
===========
Path and name: E:\COMPILER\clipper\FWH\SAMPLES\dbf03.exe (32 bits)
Size: 1,230,848 bytes
Time from start: 0 hours 0 mins 2 secs
Error occurred at: 06/17/06, 00:29:13
Error description: Error ADSCDX/5025 Open error: Clients

Stack Calls
===========
Called from: => DBUSEAREA(0)
Called from: => CLIENTSBROWSE(191)
Called from: => (b)BUILDMENU(46)
Called from: => TMENU:COMMAND(0)
Called from: => TWINDOW:COMMAND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => _FWH(0)
Called from: => WINRUN(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: => MAIN(29)

Posted: Sat Jun 17, 2006 11:22 am
by Antonio Linares
Ehab,

5025 AE_INVALID_TABLETYPE
Advantage Error Guide

An invalid table type was specified. Valid choices are ADS_CDX, ADS_NTX or ADS_ADT. The table type must support the memo file type to be opened, if applicable. The ADS_ADT table type supports ADT tables, ADI indexes, and ADM memos. The ADS_CDX table type supports DBF tables, CDX and IDX indexes, and FPT memos. The ADS_NTX table type supports DBF tables, NTX indexes, and DBT memos.