sample compilation error

Post Reply
Ehab Samir Aziz
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

sample compilation error

Post 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>
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Ehab,

Please make this change into samples\Dbf03.prg:

Code: Select all

#ifndef __HARBOUR__
   REQUEST _ADS
#else
   REQUEST ADS
#endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Ehab Samir Aziz
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Post 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)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply