Hola amigo Rathi:
Magnífico , muchas gracias por su aportación
Creo que este proyecto suyo tendria que
incluirse en los samples SQlite de HMG para
la proxíma versión.
Quiero comentarle que el sample me daba
error de compilación , le adjunto Error
----- Solución -------------
he añadido al fichero FuelWare.hbp
Sql1.prg.
En fichero "solution.zip" adjunto
sql1.prg
error.log
build.3.4.2.bat
build.3.4.2_64.bat
Todo Ok con los cambios
saludos
Mustafa
*------------------ Google-----------------------*
Hello friend Rathi
Great, thank you very much for your input
I think this project would have to yours
SQlite included in the HMG samples for
The next version.
I want to tell the sample gave me
I attach compilation Error
------ Solution -----
I added to the file FuelWare.hbp
Sql1.prg.
In file "solution.zip" attached
sql1.prg
error.log
build.3.4.2.bat
build.3.4.2_64.bat
Everything Ok with changes
regards
Mustafa
*--------------------------------------------------- Error Compilation ------------------------------------------------*
Harbour 3.2.0dev (r1509031202)
Copyright (c) 1999-2015,
http://harbour-project.org/
hmgleavedate.prg:26:0: warning: ignoring #pragma EMDDUMP [-Wunknown-pragmas]
C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/main.o:main.c:(.data+0x128): undefined reference to `HB_FUN_CONNECT2DB'
C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/main.o:main.c:(.data+0x168): undefined reference to `HB_FUN_SQL'
c:/hmg.3.4.2/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/main.o: bad reloc address 0xf in section `.text.startup'
c:/hmg.3.4.2/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
hbmk2[FuelWare]: Error: Ejecutando enlazador. 1
gcc.exe C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/main.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/createdb.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/fueltxn.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/grid2csv.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/grid2html.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/hmganywhere.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/hmgleavedate.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/report.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/tagmanager.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/vehmast.o C:/Users/jorge/AppData/Local/Temp/hbmk_4xv3la.dir/hbmk_qrh9kf.o c:/Hmg.0_Musta_Total_11_03_2016/Sample_Adordd/FuelWare/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oFuelWare.exe -Lc:/hmg.3.4.2/harbour/lib/win/mingw -Lc:/hmg.3.4.2/lib
hbmk2: Error: Funci¢n(es) referenciada, no encontrada, pero desconocida:
CONNECT2DB(), SQL()