[Harbour] hbmk2 + msvc

2009-12-18 Thread Fernando Athayde
if the file exe is already opened, 
you forgot and try compile,
hbmk2 invoque link, it should stop after error, isn´t it?

LINK : fatal error LNK1104: cannot open file 'fjfrigo.exe'
hbmk2: Erro: Executando linkeditor. 1104
link.exe -nologo -out:fjfrigo.exe .hbmk\win\msvc\busca.obj 
.hbmk\win\msvc\database.obj .hbmk\win\msvc\errorsys.obj 
.hbmk\win\msvc\fj_printsetup.obj .hbmk\win\msvc\funcoes.obj 
.hbmk\win\msvc\hbrowse.obj .hbmk\win\msvc\hbvpdf.obj .hbmk\win\msvc\hbvpdft.obj 
.hbmk\win\msvc\hbvpsup.obj .hbmk\win\msvc\hprinter.obj .hbmk\win\msvc\login.obj 
.hbmk\win\msvc\menu0.obj .hbmk\win\msvc\menu11.obj .hbmk\win\msvc\menu12.obj 
.hbmk\win\msvc\menu13.obj .hbmk\win\msvc\menu14.obj .hbmk\win\msvc\menu15.obj 
.hbmk\win\msvc\menu16.obj .hbmk\win\msvc\menu171.obj .hbmk\win\msvc\menu172.obj 
.hbmk\win\msvc\menu173.obj .hbmk\win\msvc\menu174.obj 
.hbmk\win\msvc\menu175.obj .hbmk\win\msvc\menu176.obj 
.hbmk\win\msvc\menu177.obj .hbmk\win\msvc\menu178.obj 
.hbmk\win\msvc\menu179.obj .hbmk\win\msvc\menu181.obj .hbmk\win\msvc
\menu182.obj .hbmk\win\msvc\menu183.obj .hbmk\win\msvc\menu184.obj 
.hbmk\win\msvc\menu185.obj .hbmk\win\msvc\menu187.obj 
.hbmk\win\msvc\menu188.obj .hbmk\win\msvc\menu189.obj 
.hbmk\win\msvc\menu18a.obj .hbmk\win\msvc\menu18b.obj 
.hbmk\win\msvc\menu191.obj .hbmk\win\msvc\menu192.obj 
.hbmk\win\msvc\menu193.obj .hbmk\win\
msvc\menu194.obj .hbmk\win\msvc\menu21.obj .hbmk\win\msvc\menu221.obj 
.hbmk\win\msvc\menu222.obj .hbmk\win\msvc\menu223.obj 
.hbmk\win\msvc\menu224.obj .hbmk\win\msvc\menu225.obj 
.hbmk\win\msvc\menu226.obj .hbmk\win\msvc\menu227.obj 
.hbmk\win\msvc\menu2312.obj .hbmk\win\msvc\menu2322.obj 
.hbmk\win\msvc\menu2332.obj .hbm
k\win\msvc\menu2333.obj .hbmk\win\msvc\menu2334.obj .hbmk\win\msvc\menu234.obj 
.hbmk\win\msvc\menu241.obj .hbmk\win\msvc\menu242.obj 
.hbmk\win\msvc\menu243.obj.hbmk\win\msvc\menu244.obj .hbmk\win\msvc\menu245.obj 
.hbmk\win\msvc\menu246.obj .hbmk\win\msvc\menu311.obj 
.hbmk\win\msvc\menu312.obj .hbmk\win\msvc\menu313.ob
j .hbmk\win\msvc\menu314.obj .hbmk\win\msvc\menu315.obj 
.hbmk\win\msvc\menu3171.obj .hbmk\win\msvc\menu3172.obj 
.hbmk\win\msvc\menu3174.obj .hbmk\win\msvc\menu3181.obj 
.hbmk\win\msvc\menu3182.obj .hbmk\win\msvc\menu3183.obj 
.hbmk\win\msvc\menu3185.obj .hbmk\win\msvc\menu3193.obj 
.hbmk\win\msvc\menu3197.obj .hbmk\win\ms
vc\menu3198.obj .hbmk\win\msvc\menu3199.obj .hbmk\win\msvc\menu3211.obj 
.hbmk\win\msvc\menu3213.obj .hbmk\win\msvc\menu3214.obj 
.hbmk\win\msvc\menu3215.obj .hbmk\win\msvc\menu3221.obj 
.hbmk\win\msvc\menu3222.obj 
.hbmk\win\msvc\menu3231.obj.hbmk\win\msvc\menu3311.obj 
.hbmk\win\msvc\menu3321.obj .hbmk\win\msvc\menu3332.
obj .hbmk\win\msvc\menu3334.obj .hbmk\win\msvc\menu41.obj 
.hbmk\win\msvc\menu421.obj .hbmk\win\msvc\menu422.obj 
.hbmk\win\msvc\menu423.obj .hbmk\win\msvc\menu424.obj 
.hbmk\win\msvc\menu442.obj .hbmk\win\msvc\menu443.obj 
.hbmk\win\msvc\menu444.obj .hbmk\win\msvc\menu445.obj .hbmk\win\msvc\menu45.obj 
.hbmk\win\msvc\menuc
adpadrao.obj .hbmk\win\msvc\menulanpadrao.obj .hbmk\win\msvc\menu_f.obj 
.hbmk\win\msvc\parametros.obj .hbmk\win\msvc\printdos.obj 
.hbmk\win\msvc\rede.obj .hbmk\win\msvc\sockets.obj 
.hbmk\win\msvc\translator.obj .hbmk\win\msvc\_hbmkaut.obj 
-libpath:E:\harbour_vc\lib\win\msvc -libpath:lib -libpath:\hwguivc\lib  
-subsystem:windows hwgui.lib procmisc.lib hbct.lib hbtip.lib hbwin.lib xhb.lib 
hbhpdf.lib libhpdf.lib libpng.lib hbmysql.lib libmysql.lib hbmemio.lib 
hbextern.lib hbdebug.lib hbvmmt.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib 
gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbuddall.lib 
hbusrrdd.lib rddntx.lib rddcdx.lib rddnsx.lib rddfpt.lib hbrdd.lib hbhsx.lib 
hbsix.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib kernel32.lib user32.lib 
gdi32.lib advapi32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib 
shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib 
imm32.lib msimg32.lib wininet.lib
 hbpcre.libhbzlib.lib  .hbmk\win\msvc\fjfrigo.res

Best Regards,
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] hbmk2 + msvc

2009-12-18 Thread Fernando Athayde
with bcc, not happens this, not invoce ex: ilink32

Best Regards
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 18 de Dezembro de 2009 11:06:44
Assunto: Re: [Harbour] hbmk2 + msvc

> if the file exe is already opened, 
> you forgot and try compile,
> hbmk2 invoque link, it should stop after error, isn´t it?

That's exactly what it did.

Brgds,
Viktor

> 
> LINK : fatal error LNK1104: cannot open file 'fjfrigo.exe'
> hbmk2: Erro: Executando linkeditor. 1104
> link.exe -nologo -out:fjfrigo.exe .hbmk\win\msvc\busca.obj 
> .hbmk\win\msvc\database.obj .hbmk\win\msvc\errorsys.obj 
> .hbmk\win\msvc\fj_printsetup.obj .hbmk\win\msvc\funcoes.obj 
> .hbmk\win\msvc\hbrowse.obj .hbmk\win\msvc\hbvpdf.obj 
> .hbmk\win\msvc\hbvpdft.obj .hbmk\win\msvc\hbvpsup.obj 
> .hbmk\win\msvc\hprinter.obj .hbmk\win\msvc\login.obj .hbmk\win\msvc\menu0.obj 
> .hbmk\win\msvc\menu11.obj .hbmk\win\msvc\menu12.obj .hbmk\win\msvc\menu13.obj 
> .hbmk\win\msvc\menu14.obj .hbmk\win\msvc\menu15.obj .hbmk\win\msvc\menu16.obj 
> .hbmk\win\msvc\menu171.obj .hbmk\win\msvc\menu172.obj 
> .hbmk\win\msvc\menu173.obj .hbmk\win\msvc\menu174.obj 
> .hbmk\win\msvc\menu175.obj .hbmk\win\msvc\menu176.obj 
> .hbmk\win\msvc\menu177.obj .hbmk\win\msvc\menu178.obj 
> .hbmk\win\msvc\menu179.obj .hbmk\win\msvc\menu181.obj .hbmk\win\msvc
> \menu182.obj .hbmk\win\msvc\menu183.obj .hbmk\win\msvc\menu184.obj 
> .hbmk\win\msvc\menu185.obj .hbmk\win\msvc\menu187.obj 
> .hbmk\win\msvc\menu188.obj .hbmk\win\msvc\menu189.obj 
> .hbmk\win\msvc\menu18a.obj .hbmk\win\msvc\menu18b.obj 
> .hbmk\win\msvc\menu191.obj .hbmk\win\msvc\menu192.obj 
> .hbmk\win\msvc\menu193.obj .hbmk\win\
> msvc\menu194.obj .hbmk\win\msvc\menu21.obj .hbmk\win\msvc\menu221.obj 
> .hbmk\win\msvc\menu222.obj .hbmk\win\msvc\menu223.obj 
> .hbmk\win\msvc\menu224.obj .hbmk\win\msvc\menu225.obj 
> .hbmk\win\msvc\menu226.obj .hbmk\win\msvc\menu227.obj 
> .hbmk\win\msvc\menu2312.obj .hbmk\win\msvc\menu2322.obj 
> .hbmk\win\msvc\menu2332.obj .hbm
> k\win\msvc\menu2333.obj .hbmk\win\msvc\menu2334.obj 
> .hbmk\win\msvc\menu234.obj .hbmk\win\msvc\menu241.obj 
> .hbmk\win\msvc\menu242.obj 
> .hbmk\win\msvc\menu243.obj.hbmk\win\msvc\menu244.obj 
> .hbmk\win\msvc\menu245.obj .hbmk\win\msvc\menu246.obj 
> .hbmk\win\msvc\menu311.obj .hbmk\win\msvc\menu312.obj 
> .hbmk\win\msvc\menu313.ob
> j .hbmk\win\msvc\menu314.obj .hbmk\win\msvc\menu315.obj 
> .hbmk\win\msvc\menu3171.obj .hbmk\win\msvc\menu3172.obj 
> .hbmk\win\msvc\menu3174.obj .hbmk\win\msvc\menu3181.obj 
> .hbmk\win\msvc\menu3182.obj .hbmk\win\msvc\menu3183.obj 
> .hbmk\win\msvc\menu3185.obj .hbmk\win\msvc\menu3193.obj 
> .hbmk\win\msvc\menu3197.obj .hbmk\win\ms
> vc\menu3198.obj .hbmk\win\msvc\menu3199.obj .hbmk\win\msvc\menu3211.obj 
> .hbmk\win\msvc\menu3213.obj .hbmk\win\msvc\menu3214.obj 
> .hbmk\win\msvc\menu3215.obj .hbmk\win\msvc\menu3221.obj 
> .hbmk\win\msvc\menu3222.obj 
> .hbmk\win\msvc\menu3231.obj.hbmk\win\msvc\menu3311.obj 
> .hbmk\win\msvc\menu3321.obj .hbmk\win\msvc\menu3332.
> obj .hbmk\win\msvc\menu3334.obj .hbmk\win\msvc\menu41.obj 
> .hbmk\win\msvc\menu421.obj .hbmk\win\msvc\menu422.obj 
> .hbmk\win\msvc\menu423.obj .hbmk\win\msvc\menu424.obj 
> .hbmk\win\msvc\menu442.obj .hbmk\win\msvc\menu443.obj 
> .hbmk\win\msvc\menu444.obj .hbmk\win\msvc\menu445.obj 
> .hbmk\win\msvc\menu45.obj .hbmk\win\msvc\menuc
> adpadrao.obj .hbmk\win\msvc\menulanpadrao.obj .hbmk\win\msvc\menu_f.obj 
> .hbmk\win\msvc\parametros.obj .hbmk\win\msvc\printdos.obj 
> .hbmk\win\msvc\rede.obj .hbmk\win\msvc\sockets.obj 
> .hbmk\win\msvc\translator.obj .hbmk\win\msvc\_hbmkaut.obj 
> -libpath:E:\harbour_vc\lib\win\msvc -libpath:lib -libpath:\hwguivc\lib  
> -subsystem:windows hwgui.lib procmisc.lib hbct.lib hbtip.lib hbwin.lib 
> xhb.lib hbhpdf.lib libhpdf.lib libpng.lib hbmysql.lib libmysql.lib 
> hbmemio.lib hbextern.lib hbdebug.lib hbvmmt.lib hbrtl.lib hblang.lib 
> hbcpage.lib gtcgi.lib gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib 
> hbrdd.lib hbuddall.lib hbusrrdd.lib rddntx.lib rddcdx.lib rddnsx.lib 
> rddfpt.lib hbrdd.lib hbhsx.lib hbsix.lib hbmacro.lib hbcplr.lib hbpp.lib 
> hbcommon.lib kernel32.lib user32.lib gdi32.lib advapi32.lib ws2_32.lib 
> winspool.lib comctl32.lib comdlg32.lib shell32.lib uuid.lib ole32.lib 
> oleaut32.lib mpr.lib winmm.lib mapi32.lib imm32.lib msimg32.lib wininet.lib
 hbpcre.libhbzlib.lib  .hbmk\win\msvc\fjfrigo.res
> 
> Best Regards,
> Fernando
> 
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - 
> Celebridades - Música -Esportes___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  
___

Res: [Harbour] hbmk2 + msvc

2009-12-18 Thread Fernando Athayde
i didn´t was specified
ex: bcc, it shows error in the end, take a look above, is better to see if 
happens any error

hbmk2: Linkando... fjfrigo.exe
hbmk2: Comando do Linkeditor:
ilink32.exe @C:\Users\athayde\AppData\Local\Temp\bt3rrj.lnk
hbmk2: Script do linkeditor:
-Gn -Tpe 
-L\harbour\bcc55\Lib;\harbour\bcc55\Lib\PSDK;e:\harbour\lib\win\bcc;lib;\hwguihb\lib
  -aa c0w32.obj .hbmk\win\bcc\busca.obj 
.hbmk\win\bcc\database.obj.hbmk\win\bcc\fj_printsetup.obj 
.hbmk\win\bcc\funcoes.obj .hbmk\win\bcc\hbrowse.obj .hbmk\win\bcc\hbvpdf.obj 
.hbmk\win\bcc\hbvpdft.obj .hbmk\win\bcc\hbvpsup.obj .hbmk\win\bcc\hprinter.obj 
.hbmk\win\bcc\login.obj .hbmk\win\bcc\menu0.obj .hbmk\win\bcc\menu11.obj 
.hbmk\win\bcc\menu12.obj .hbmk\win\bcc\menu13.obj .hbmk\win\bcc\menu14.obj 
.hbmk\win\bcc\menu15.obj .hbmk\win\bcc\menu16.obj .hbmk\win\bcc\menu171.obj 
.hbmk\win\bcc\menu172.obj .hbmk\win\bcc\menu173.obj .hbmk\win\bcc\menu174.obj 
.hbmk\win\bcc\menu175.obj .hbmk\win\bcc\menu176.obj .hbmk\win\bcc\menu177.obj 
.hbmk\win\bcc\menu178.obj .hbmk\win\bcc\menu179.obj .hbmk\win\bcc\menu181.obj 
.hbmk\win\bcc\menu182.obj .hbmk\win\bcc\menu183.obj .hbmk\win\bcc\menu185.obj 
.hbmk\win\bcc\menu187.obj .hbmk\win\bcc\menu188.obj .hbmk\win\bcc\menu189.obj
 .hbmk\win\bcc\menu18a.obj .hbmk\win\bcc\menu18b.obj 
.hbmk\win\bcc\menu191.obj.hbmk\win\bcc\menu192.obj .hbmk\win\bcc\menu193.obj 
.hbmk\win\bcc\menu194.obj .hbmk\win\bcc\menu21.obj .hbmk\win\bcc\menu221.obj 
.hbmk\win\bcc\menu222.obj .hbmk\win\bcc\menu223.obj .hbmk\win\bcc\menu224.obj 
.hbmk\win\bcc\menu225.obj .hbmk\win\bcc\menu226.obj .hbmk\win\bcc\menu227.obj 
.hbmk\win\bcc\menu2312.obj .hbmk\win\bcc\menu2322.obj 
.hbmk\win\bcc\menu2332.obj .hbmk\win\bcc\menu2333.obj 
.hbmk\win\bcc\menu2334.obj .hbmk\win\bcc\menu234.obj .hbmk\win\bcc\menu241.obj 
.hbmk\win\bcc\menu242.obj .hbmk\win\bcc\menu243.obj .hbmk\win\bcc\menu244.obj 
.hbmk\win\bcc\menu245.obj .hbmk\win\bcc\menu246.obj .hbmk\win\bcc\menu311.obj 
.hbmk\win\bcc\menu312.obj .hbmk\win\bcc\menu313.obj .hbmk\win\bcc\menu314.obj 
.hbmk\win\bcc\menu315.obj .hbmk\win\bcc\menu3171.obj .hbmk\win\bcc\menu3172.obj 
.hbmk\win\bcc\menu3174.obj .hbmk\win\bcc\menu3181.obj .hbmk\win\bcc\menu3182.obj
 .hbmk\win\bcc\menu3183.obj .hbmk\win\bcc\menu3185.obj 
.hbmk\win\bcc\menu3193.obj .hbmk\win\bcc\menu3197.obj 
.hbmk\win\bcc\menu3198.obj .hbmk\win\bcc\menu3199.obj 
.hbmk\win\bcc\menu3211.obj .hbmk\win\bcc\menu3213.obj 
.hbmk\win\bcc\menu3214.obj .hbmk\win\bcc\menu3215.obj 
.hbmk\win\bcc\menu3221.obj .hbmk\win\bcc\menu3222.obj 
.hbmk\win\bcc\menu3231.obj .hbmk\win\bcc\menu3311.obj 
.hbmk\win\bcc\menu3321.obj .hbmk\win\bcc\menu3332.obj 
.hbmk\win\bcc\menu3334.obj .hbmk\win\bcc\menu41.obj .hbmk\win\bcc\menu421.obj 
.hbmk\win\bcc\menu422.obj .hbmk\win\bcc\menu423.obj .hbmk\win\bcc\menu424.obj 
.hbmk\win\bcc\menu442.obj .hbmk\win\bcc\menu443.obj .hbmk\win\bcc\menu444.obj 
.hbmk\win\bcc\menu445.obj .hbmk\win\bcc\menu45.obj 
.hbmk\win\bcc\menucadpadrao.obj .hbmk\win\bcc\menulanpadrao.obj 
.hbmk\win\bcc\menu_f.obj .hbmk\win\bcc\parametros.obj 
.hbmk\win\bcc\printdos.obj .hbmk\win\bcc\rede.obj .hbmk\win\bcc\sockets.obj 
.hbmk\win\bcc\translator.obj .hbmk\win\bcc\_hbmkaut.obj,
 fjfrigo.exe, nul, hwguimt.lib procmisc.lib hbct.lib hbtip.lib hbwin.lib 
xhb.lib hbhpdf.lib libhpdf.lib libpng.lib hbmysql.lib libmysql.lib hbmemio.lib 
hbextern.lib hbdebug.lib hbvmmt.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib 
gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbuddall.lib 
hbusrrdd.lib rddntx.lib rddcdx.lib rddnsx.lib rddfpt.lib hbrdd.lib hbhsx.lib 
hbsix.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib kernel32.lib user32.lib 
gdi32.lib advapi32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib 
shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib 
imm32.lib msimg32.lib wininet.lib hbpcre.lib hbzlib.lib  cw32mt.lib 
import32.lib,, .hbmk\win\bcc\fjfrigo.res
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Could not open fjfrigo.exe (program still running?)
hbmk2: Erro: Executando linkeditor. 2
ilink32.exe @C:\Users\athayde\AppData\Local\Temp\bt3rrj.lnk

Best Regards
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 18 de Dezembro de 2009 11:06:44
Assunto: Re: [Harbour] hbmk2 + msvc

> if the file exe is already opened, 
> you forgot and try compile,
> hbmk2 invoque link, it should stop after error, isn´t it?

That's exactly what it did.

Brgds,
Viktor

> 
> LINK : fatal error LNK1104: cannot open file 'fjfrigo.exe'
> hbmk2: Erro: Executando linkeditor. 1104
> link.exe -nologo -out:fjfrigo.exe .hbmk\win\msvc\busca.obj 
> .hbmk\win\msvc\database.obj .hbmk\win\msvc\errorsys.obj 
> .hbmk\win\msvc\fj_printsetup.obj .hbmk\win\msvc\funcoes.obj 
> .hbmk\win\msvc\hbrowse.obj .hbmk\win\msvc\hbvpdf.obj 
> .hbmk\win\msvc\hbvpdft.obj .hbmk\win\msvc\hbvpsup.obj 
> .hbmk\win\msvc\hprinter.obj .hbmk\win\msvc\login.obj .hbmk\win\msvc\menu0.obj 

Res: Res: [Harbour] hbmk2 + msvc

2009-12-18 Thread Fernando Athayde
ok, thanks a lot

Best Regards,
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 18 de Dezembro de 2009 13:25:09
Assunto: Re: Res: [Harbour] hbmk2 + msvc

> with bcc, not happens this, not invoce ex: ilink32

All compilers are treated exactly the same way by hbmk2.
The only difference you can see is how they interpret 
this sort of error.

Brgds,
Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] hbmk2 + msvc

2009-12-18 Thread Fernando Athayde
seems ok now
with the option -quiet

i´ll test sometime, and report to group

Thanks a lot

Best Regards
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 18 de Dezembro de 2009 15:24:16
Assunto: Re: Res: [Harbour] hbmk2 + msvc

Forgot to suggest to try -quiet option which suppresses 
output of executed command in case of errors, you can see 
better the output of the command themselves.

Brgds,
Viktor

On 2009 Dec 18, at 17:50, Viktor Szakáts wrote:

> There is nothing unusual here, in case of error, only the 
> command line is printed after having been called, not the 
> content of any script files which was used. In case of bcc, 
> this results in a one liner, since most options are inside 
> the script, while with msvc, everything is on command-line.
> 
> Brgds,
> Viktor
> 
> On 2009 Dec 18, at 16:29, Fernando Athayde wrote:
> 
>> i didn´t was specified
>> ex: bcc, it shows error in the end, take a look above, is better to see if 
>> happens any error
>> 
>> hbmk2: Linkando... fjfrigo.exe
>> hbmk2: Comando do Linkeditor:
>> ilink32.exe @C:\Users\athayde\AppData\Local\Temp\bt3rrj.lnk
>> hbmk2: Script do linkeditor:
>> -Gn -Tpe 
>> -L\harbour\bcc55\Lib;\harbour\bcc55\Lib\PSDK;e:\harbour\lib\win\bcc;lib;\hwguihb\lib
>>   -aa c0w32.obj .hbmk\win\bcc\busca.obj 
>> .hbmk\win\bcc\database.obj.hbmk\win\bcc\fj_printsetup.obj 
>> .hbmk\win\bcc\funcoes.obj .hbmk\win\bcc\hbrowse.obj .hbmk\win\bcc\hbvpdf.obj 
>> .hbmk\win\bcc\hbvpdft.obj .hbmk\win\bcc\hbvpsup.obj 
>> .hbmk\win\bcc\hprinter.obj .hbmk\win\bcc\login.obj .hbmk\win\bcc\menu0.obj 
>> .hbmk\win\bcc\menu11.obj .hbmk\win\bcc\menu12.obj .hbmk\win\bcc\menu13.obj 
>> .hbmk\win\bcc\menu14.obj .hbmk\win\bcc\menu15.obj .hbmk\win\bcc\menu16.obj 
>> .hbmk\win\bcc\menu171.obj .hbmk\win\bcc\menu172.obj 
>> .hbmk\win\bcc\menu173.obj .hbmk\win\bcc\menu174.obj 
>> .hbmk\win\bcc\menu175.obj .hbmk\win\bcc\menu176.obj 
>> .hbmk\win\bcc\menu177.obj .hbmk\win\bcc\menu178.obj 
>> .hbmk\win\bcc\menu179.obj .hbmk\win\bcc\menu181.obj 
>> .hbmk\win\bcc\menu182.obj .hbmk\win\bcc\menu183.obj 
>> .hbmk\win\bcc\menu185.obj .hbmk\win\bcc\menu187.obj 
>> .hbmk\win\bcc\menu188.obj .hbmk\win\bcc\menu189.obj
 .hbmk\win\bcc\menu18a.obj .hbmk\win\bcc\menu18b.obj 
.hbmk\win\bcc\menu191.obj.hbmk\win\bcc\menu192.obj .hbmk\win\bcc\menu193.obj 
.hbmk\win\bcc\menu194.obj .hbmk\win\bcc\menu21.obj .hbmk\win\bcc\menu221.obj 
.hbmk\win\bcc\menu222.obj .hbmk\win\bcc\menu223.obj .hbmk\win\bcc\menu224.obj 
.hbmk\win\bcc\menu225.obj .hbmk\win\bcc\menu226.obj .hbmk\win\bcc\menu227.obj 
.hbmk\win\bcc\menu2312.obj .hbmk\win\bcc\menu2322.obj 
.hbmk\win\bcc\menu2332.obj .hbmk\win\bcc\menu2333.obj 
.hbmk\win\bcc\menu2334.obj .hbmk\win\bcc\menu234.obj .hbmk\win\bcc\menu241.obj 
.hbmk\win\bcc\menu242.obj .hbmk\win\bcc\menu243.obj .hbmk\win\bcc\menu244.obj 
.hbmk\win\bcc\menu245.obj .hbmk\win\bcc\menu246.obj .hbmk\win\bcc\menu311.obj 
.hbmk\win\bcc\menu312.obj .hbmk\win\bcc\menu313.obj .hbmk\win\bcc\menu314.obj 
.hbmk\win\bcc\menu315.obj .hbmk\win\bcc\menu3171.obj .hbmk\win\bcc\menu3172.obj 
.hbmk\win\bcc\menu3174.obj .hbmk\win\bcc\menu3181.obj .hbmk\win\bcc\menu3182.obj
 .hbmk\win\bcc\menu3183.obj .hbmk\win\bcc\menu3185.obj 
.hbmk\win\bcc\menu3193.obj .hbmk\win\bcc\menu3197.obj 
.hbmk\win\bcc\menu3198.obj .hbmk\win\bcc\menu3199.obj 
.hbmk\win\bcc\menu3211.obj .hbmk\win\bcc\menu3213.obj 
.hbmk\win\bcc\menu3214.obj .hbmk\win\bcc\menu3215.obj 
.hbmk\win\bcc\menu3221.obj .hbmk\win\bcc\menu3222.obj 
.hbmk\win\bcc\menu3231.obj .hbmk\win\bcc\menu3311.obj 
.hbmk\win\bcc\menu3321.obj .hbmk\win\bcc\menu3332.obj 
.hbmk\win\bcc\menu3334.obj .hbmk\win\bcc\menu41.obj .hbmk\win\bcc\menu421.obj 
.hbmk\win\bcc\menu422.obj .hbmk\win\bcc\menu423.obj .hbmk\win\bcc\menu424.obj 
.hbmk\win\bcc\menu442.obj .hbmk\win\bcc\menu443.obj .hbmk\win\bcc\menu444.obj 
.hbmk\win\bcc\menu445.obj .hbmk\win\bcc\menu45.obj 
.hbmk\win\bcc\menucadpadrao.obj .hbmk\win\bcc\menulanpadrao.obj 
.hbmk\win\bcc\menu_f.obj .hbmk\win\bcc\parametros.obj 
.hbmk\win\bcc\printdos.obj .hbmk\win\bcc\rede.obj .hbmk\win\bcc\sockets.obj 
.hbmk\win\bcc\translator.obj .hbmk\win\bcc\_hbmkaut.obj,
 fjfrigo.exe, nul, hwguimt.lib procmisc.lib hbct.lib hbtip.lib hbwin.lib 
xhb.lib hbhpdf.lib libhpdf.lib libpng.lib hbmysql.lib libmysql.lib hbmemio.lib 
hbextern.lib hbdebug.lib hbvmmt.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib 
gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbuddall.lib 
hbusrrdd.lib rddntx.lib rddcdx.lib rddnsx.lib rddfpt.lib hbrdd.lib hbhsx.lib 
hbsix.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib kernel32.lib user32.lib 
gdi32.lib advapi32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib 
shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib 
imm32.

Res: [Harbour] HAPPY NEW YEAR !!!

2009-12-31 Thread Fernando Athayde
happy new year,
thanks everybody that help maintaining this tool so strong
you guys are the best

Best Regards,
Fernando Athayde





De: Przemysław Czerpak 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 31 de Dezembro de 2009 15:22:30
Assunto: [Harbour] HAPPY NEW YEAR !!!

Hi All,

I want to wish all of you HAPPY NEW YEAR !!!

It's time to turn off the computer.
My next message will be in year 2010 :-)

best regards,
Przemek
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] about hbqt features

2010-01-05 Thread Fernando Athayde
I like to see features about hbqt
i don´t see about window mdichild, is there it?
printing seems not finish yet
if someone had got any list about hbqt, i will be glad

Best regards,
Fernando Athayde



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] HBIDE

2010-01-15 Thread Fernando Athayde
Pritpal,
do you have any roadmap about libqt
MDICHILD don´t have this ?
can use hbqt in production?

Best regards,
Fernando Athayde





De: Rodrigo Machado 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 15 de Janeiro de 2010 21:13:41
Assunto: Re: [Harbour] HBIDE

Scrolling problem when the mouse scroll's button is used.
Please. See this screen cast.
http://www.teleguia.com.py/hbide/scrolling.ogv


¿Estas buscando algún número telefónico?
Visite: www.teleguia.com.py

*:-.,_,.-:*'``'*:-.,_,.-:*:-.,_,.-:*'``'*:-.,_,.-:
   :: Rodrigo Machado ::
   FlaRo Sistemas
www.flaro.net

   Telef:  0673 221 480
*:-.,_,.-:*'``'*:-.,_,.-:*:-.,_,.-:*'``'*:-.,_,.-:
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Re[Harbour] s: HBIDE

2010-01-15 Thread Fernando Athayde
sorry you don´t understand me
a roadmap, only for know where this tool go
ex: the functions that you´ll implement
mdichild is a window stuck on main window

i have got compile hbqt with vailton´s help
i saw some functions about hbqt and i am impressioned

sorry, i don´t wanted hurt you
i only quant to know when you think hbqt is ready to produce anything with hbqt

one more time, i am sorry

Best Regards,
Fernando Athayde





De: Pritpal Bedi 
Para: harbour@harbour-project.org
Enviadas: Sexta-feira, 15 de Janeiro de 2010 22:20:35
Assunto: Re: Re[Harbour] s: HBIDE


Hi


Fernando Athayde wrote:
> 
> do you have any roadmap about libqt
> MDICHILD don´t have this ?
> can use hbqt in production?
> 

What kind of a roadmap you are expecting ?
Things are coming as is being learned, and also 
there is a least support from any other corners.
And a human-being always have limitations.

Why do not you try to contribute something, 
say MDICHILD ?

Regards
Pritpal Bedi


-- 
View this message in context: 
http://old.nabble.com/HBIDE-tp27132880p27185875.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Re[Harbour] s: HBIDE

2010-01-15 Thread Fernando Athayde
i use mdichild in my systems, this propriet is all for me
i am start some tests with hbqt, i hope be helpful

Best Regards,
Fernando Athayde





De: Pritpal Bedi 
Para: harbour@harbour-project.org
Enviadas: Sexta-feira, 15 de Janeiro de 2010 22:30:53
Assunto: Re: Re[Harbour] s: HBIDE


Hi


Fernando Athayde wrote:
> 
> MDICHILD don´t have this ?
> 

I looked into QMdiArea documentation and it seems preety simple.
In what way you want  to see MDI window? Give me an example 
what you want to see as MDI application in context of hbIDE ?

Regards
Pritpal Bedi

-- 
View this message in context: 
http://old.nabble.com/HBIDE-tp27132880p27185924.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Re[Harbour] s: HBIDE

2010-01-16 Thread Fernando Athayde
tabbed is good too
only oinformation excel uses mdi child.
i like tabbed forms, is elegant, i´ve got try this way
hbqt can be to use in production?

Best Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 16 de Janeiro de 2010 6:09:40
Assunto: Re: Re[Harbour] s: HBIDE

>> MDICHILD don´t have this ?
>> 
> 
> I looked into QMdiArea documentation and it seems preety simple.
> In what way you want  to see MDI window? Give me an example 
> what you want to see as MDI application in context of hbIDE ?

My 2cents: MDI windows seem to be a thing of the past, 
at least I can't see them anymore in any application, 
including MS ones. Either tabbed interfaces replaced it, 
or independent document windows.

As for HBIDE, current tabbed one seem to be good, so 
I'd personally vote to keep it.

Of course MDI support can be added to HBQT for those 
who need it anyway in their apps.

Brgds,
Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] SET PRINTER TO

2010-01-18 Thread Fernando Athayde
great, i´ll report this
i´ll try

Thanks,
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Segunda-feira, 18 de Janeiro de 2010 11:44:40
Assunto: [Harbour] SET PRINTER TO 

Hi All,

Above extension works in xhb but is not supported 
in Harbour. Actually for good reason, so my intent 
is not to propose it for inclusion, but I still wonder 
what is the easiest way (least code change) to achieve 
the same result in Harbour.

[ NOTICE: This feature can only work if printer 
controls codes match those supported by the printer, 
and it's easily possible the printer doesn't support 
raw input _at all_. Plus it makes SET PRINTER TO 
incompatible. ]

---
SET PRINTER TO ( win_PrinterGetDefault() )
...
SET PRINTER TO
---

is equivalent to something like this in Harbour:

--- [untested]
LOCAL cTempName
FClose( hb_FTempCreateEx( @cTempName ) )
SET PRINTER TO ( cTempName )
...
SET PRINTER TO
win_PrintFileRaw( win_PrinterGetDefault(), cTempName )
FErase( cTempName )
---

Anyhow, this is my suggestion to xhb users wanting 
to switch to Harbour. If you know a better way, pls 
speak up.

Brgds,
Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread Fernando Athayde
try win-make clean and build again
here in bcc happens this erro too, but with this way run

Best Regards,
Fernando Athayde





De: AbeB 
Para: harbour@harbour-project.org
Enviadas: Quarta-feira, 20 de Janeiro de 2010 19:28:43
Assunto: [Harbour] Error building Harbour mingw/wce


! Building Harbour 2.0.1dev from source - http://www.harbour-project.org
! MAKE: win-make.exe 3.81 c:/cygwin/bin/sh.exe  
! HB_INSTALL_PREFIX: C:\Harbour\DevCe
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
! HB_PLATFORM: wce (arm) 
! HB_COMPILER: mingwarm 
! Component: 'zlib' found in
C:/Harbour/harbour-project/trunk/harbour/external/zlib (local)
! Component: 'pcre' found in
C:/Harbour/harbour-project/trunk/harbour/external/pcre (local)
! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL.
! Component: 'gpm' not supported on wce platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not found. Configure with HB_WITH_CURSES.
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on wce platform
win-make.exe[2]: Nothing to be done for `all'.
win-make.exe[1]: Nothing to be done for `all'.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libsqlite3.a' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/liblibhpdf.a' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/liblibpng.a' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libhbpcre.a' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libhbzlib.a' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libhbcommon.a' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libhbnortl.a' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libhbpp.a' is up to date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libhbcplr.a' is up to
date.
win-make.exe[3]: `../../../../../bin/wce/mingwarm/harbour.exe' is up to
date.
win-make.exe[3]: `../../../../../lib/wce/mingwarm/libhbvm.a' is up to date.
win-make.exe[4]: `../../../../../../lib/wce/mingwarm/libhbmainstd.a' is up
to date.
win-make.exe[4]: `../../../../../../lib/wce/mingwarm/libhbmainwin.a' is up
to date.
win-make.exe[4]: `../../../../../../lib/wce/mingwarm/libhbmaindllh.a' is up
to date.
win-make.exe[4]: `../../../../../../lib/wce/mingwarm/libhbmaindllp.a' is up
to date.
win-make.exe[4]: `../../../../../../lib/wce/mingwarm/libhbvmmt.a' is up to
date.
C:\Harbour\Dev\bin/harbour.exe ../../../checkbox.prg 
-i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l  -undef:.ARCH.
-D__PLATFORM__WINDOWS -D__PLATFORM__WINCE -D__ARCH32BIT__ 

../../../../../include\hbclass.ch(152) Error E0025  Error in #if expression

-- 
View this message in context: 
http://n2.nabble.com/Error-building-Harbour-mingw-wce-tp4430018p4430018.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] Error building Harbour mingw/wce

2010-01-20 Thread Fernando Athayde
do you sincronized with svn?

Best Regards,
Fernando





De: AbeB 
Para: harbour@harbour-project.org
Enviadas: Quarta-feira, 20 de Janeiro de 2010 21:24:56
Assunto: Re: Res: [Harbour] Error building Harbour mingw/wce




Przemysław Czerpak wrote:
> 
> On Wed, 20 Jan 2010, AbeB wrote:
> 
> Hi,
> 
>> Tried that, Still no good!
> 
> So you haven't made it well.
> When you made clean build then this error message will disappear
> for sure.
> Before you report any problems with devel SVN code always make
> clean build. Many of modifications needs full recompilation.
> In this case new extension was added to compiler and you are
> trying to compile new hbclass.ch code which needs this extension
> using old harbour compiler binaries so the error message you
> have is expected behavior.
> 
> 
Sorry, But I tried it time and again 
this is my command line
win-make.exe clean install > log
and I'm still getting the error

Best Regards,
Abe
-- 
View this message in context: 
http://n2.nabble.com/Error-building-Harbour-mingw-wce-tp4430018p4430643.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] SF.net SVN: harbour-project:[13754] trunk/harbour

2010-02-03 Thread Fernando Athayde
Hi, Viktor
this native class for access Firebird is run ok?
i was try in last year, and i was some problems with firebird 2.5

Best Regards,
Fernando Athayde





De: "vszak...@users.sourceforge.net" 
Para: harbour@harbour-project.org
Enviadas: Quarta-feira, 3 de Fevereiro de 2010 10:24:29
Assunto: [Harbour] SF.net SVN: harbour-project:[13754] trunk/harbour

Revision: 13754
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13754&view=rev
Author:   vszakats
Date: 2010-02-03 13:24:28 + (Wed, 03 Feb 2010)

Log Message:
---
2010-02-03 14:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * contrib/hbfbird/tfirebrd.prg
+ Formatted.
! Indented.
% Optimized to use SWITCH/CASE.
% Optimized to avoid ASize() and AAdd() in a few places.

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbfbird/tfirebrd.prg


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] MinGW dllcall function not run.

2010-02-06 Thread Fernando Athayde
really don´t runs causes GPF
i am using 
#include "hbdll.ch"

   hdll:=dllload("EZTW32.DLL")
   dllcall(hdll,DC_CALL_STD,"TWAIN_SelectImageSource",::oFormCadastro:handle,)
   
dllcall(hdll,DC_CALL_STD,"TWAIN_AcquireToFilename",::oFormCadastro:handle,"file.bmp")
   freelibrary(hdll)


Best Regards,
Fernando Athayde





De: Itamar Lins 
Para: harbour@harbour-project.org
Enviadas: Sábado, 6 de Fevereiro de 2010 10:10:57
Assunto: [Harbour] MinGW dllcall function not run.

Hi!
sorry to insist on that but there is a possibility to make it work with him.
I need to take MinGW.

Best regards,
Itamar M. Lins Jr.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] Re: RDDSQL Question.

2010-03-03 Thread Fernando Athayde
you should uses a function for this
example, in update call sqlupdate()
in this function write on database
RDDINFO(RDDI_EXECUTE, "UPDATE country SET " + cField + " = " + 
cNewValue + " WHERE CODE = " + cCode)

do you got?

Best regards
Fernando Athayde





De: Itamar Lins 
Para: harbour@harbour-project.org
Enviadas: Quarta-feira, 3 de Março de 2010 9:53:49
Assunto: [Harbour] Re: RDDSQL Question.

Hi!
Thanks for response.
But if I for example use:
My Browse() function and modify a field?
Because I change only in temporary cache query.
How to proceed for commit?

Best regards,
Itamar M. Lins Jr.

Em 3/3/2010 09:38, Mindaugas Kavaliauskas escreveu:
> Hi,
>
>
> Itamar Lins wrote:
>> Can you create examples of creating,
>
> RDDINFO( RDDI_EXECUTE, "CREATE TABLE test (id int, txt char(20))")
>
>> adding,
>
> RDDINFO( RDDI_EXECUTE, "INSERT INTO test (id,txt) VALUES(1,'abc'), (2,
> 'def'))")
>
>> modifying fields of the tables via rddsql.
>
> RDDINFO( RDDI_EXECUTE, "UPDATE test SET txt='ghi' WHERE id=1")
>
>
>> For tables mdb via ado and other if possible.
>
> Sorry, I know nothing about .mdb and ado, but above should work for MySql.
>
>
> Regards,
> Mindaugas


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] set printer to ( problem with network)

2010-03-30 Thread Fernando Athayde
Error TERM/2014  Create error: \\caixa2\Epson LX-300.prn (DOS Error 67)
Called from ->SET(0)

with xharbour runs well, but with harbour don´t run
i´ve migrated all my whole application for harbour, i´ll need to print in 
network and in lx300 usb

can someone help me?


Best regards,
Fernando Athayde



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Fernando Athayde
the command set printer increases by it selt ".prn"

Regards,
Fernando Athayde





De: Vailton Renato 
Para: Harbour Project Main Developer List. 
Enviadas: Terça-feira, 30 de Março de 2010 15:17:49
Assunto: Re: [Harbour] set printer to ( problem with network)

Try:

SET PRINTER TO \\caixa2\Epson LX-300.

Regards,
Vailton Renato
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Fernando Athayde
extension .prn gone, but the problem continue
Error TERM/2014  Create error: \\caixa2\Epson LX-300 (DOS Error 67)
Called from ->SET(0)

Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Terça-feira, 30 de Março de 2010 16:29:58
Assunto: Re: Res: [Harbour] set printer to ( problem with network)

Hi,

l := Set( _SET_DEFEXTENSIONS, .F. )
... print ...
Set( _SET_DEFEXTENSIONS, l )

Brgds,
Viktor

On 2010 Mar 30, at 21:22, Fernando Athayde wrote:

> the command set printer increases by it selt ".prn"
> 
> Regards,
> Fernando Athayde
> 
> De: Vailton Renato 
> Para: Harbour Project Main Developer List. 
> Enviadas: Terça-feira, 30 de Março de 2010 15:17:49
> Assunto: Re: [Harbour] set printer to ( problem with network)
> 
> Try:
> 
> SET PRINTER TO \\caixa2\Epson LX-300.
> 
> Regards,
> Vailton Renato
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - 
> Celebridades -Música - Esportes___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] how to use libpng

2010-03-30 Thread Fernando Athayde
how to use?

i´m thinking about introduce libpng in hwgui

Best Regards,
Fernando Athayde


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] set printer to ( problem with network)

2010-03-31 Thread Fernando Athayde
with win_PrintFileRaw runs perfectly
Thanks very much

Best Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Terça-feira, 30 de Março de 2010 16:56:14
Assunto: Re: Res: Res: [Harbour] set printer to ( problem with network)

> extension .prn gone, but the problem continue
> Error TERM/2014  Create error: \\caixa2\Epson LX-300 (DOS Error 67)
> Called from ->SET(0)

If this is a printer name (as opposed to share name) 
it won't work in Harbour.

Use hbwin lib functions to push data into printer names:
   win_PrintFileRaw( win_PrinterGetDefault(), cTempFileName )

Brgds,
Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] Happy Easter

2010-04-03 Thread Fernando Athayde
Happey Easter to all

Regards
Fernando Athayde





De: Massimo Belgrano 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 3 de Abril de 2010 4:03:05
Assunto: [Harbour] Happy Easter

Happy Easter and Profitable and Prosperous Business around Harbour



-- 
Massimo Belgrano


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] error build with bcc from svn

2010-04-12 Thread Fernando Athayde
bcc32.exe   -I. -I../../../../../include -q -tWM -CP437 -w -w-sig- -Q -d -6 -O2
-OS -Ov -Oi -Oc -DHB_LEGACY_TYPES_OFF  -DHB_HAS_PCRE -IE:/harbour_cvs/external/p
cre -DPCRE_STATIC -DHB_HAS_ZLIB -IE:/harbour_cvs/external/zlib -I"\harbour\bcc55
\BIn\..\Include" -DUNICODE  -otget.obj -c tget.c
tget.c:
Error E2451 tget.c 5059: Undefined symbol 'ULONG' in function HB_FUN_GET_PICTURE

Error E2379 tget.c 5059: Statement missing ; in function HB_FUN_GET_PICTURE
Error E2451 tget.c 5063: Undefined symbol 'ulLen' in function HB_FUN_GET_PICTURE

Warning W8004 tget.c 5085: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_PICTURE
Error E2451 tget.c 6182: Undefined symbol 'ULONG' in function HB_FUN_GET_UNTRANS
FORM
Error E2379 tget.c 6182: Statement missing ; in function HB_FUN_GET_UNTRANSFORM
Error E2451 tget.c 6186: Undefined symbol 'ulLen' in function HB_FUN_GET_UNTRANS
FORM
Warning W8004 tget.c 6213: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_UNTRANSFORM
Error E2451 tget.c 6502: Undefined symbol 'ULONG' in function HB_FUN_GET_BADDATE

Error E2379 tget.c 6502: Statement missing ; in function HB_FUN_GET_BADDATE
Error E2451 tget.c 6506: Undefined symbol 'ulLen' in function HB_FUN_GET_BADDATE

Warning W8004 tget.c 6518: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_BADDATE
Error E2451 tget.c 7446: Undefined symbol 'ULONG' in function HB_FUN_GET_ISEDITA
BLE
Error E2379 tget.c 7446: Statement missing ; in function HB_FUN_GET_ISEDITABLE
Error E2451 tget.c 7450: Undefined symbol 'ulLen' in function HB_FUN_GET_ISEDITA
BLE
Warning W8004 tget.c 7477: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_ISEDITABLE
Error E2451 tget.c 7586: Undefined symbol 'ULONG' in function HB_FUN_GET_INPUT
Error E2379 tget.c 7586: Statement missing ; in function HB_FUN_GET_INPUT
Error E2451 tget.c 7590: Undefined symbol 'ulLen' in function HB_FUN_GET_INPUT
Warning W8004 tget.c 7612: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_INPUT
*** 15 errors in Compile ***
win-make.exe[3]: *** [tget.obj] Error 1
win-make.exe[2]: *** [descend] Error 2
win-make.exe[1]: *** [rtl] Error 2
win-make.exe: *** [src] Error 2

Best regards
Fernando Athayde



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] error build with bcc from svn

2010-04-12 Thread Fernando Athayde
sorry my fault
i forgot clean before

Best regards
Fernando Athayde





De: Fernando Athayde 
Para: harbour@harbour-project.org
Enviadas: Segunda-feira, 12 de Abril de 2010 23:02:31
Assunto: [Harbour] error build with bcc from svn


bcc32.exe   -I. -I../../../../../include -q -tWM -CP437 -w -w-sig- -Q -d -6 -O2
-OS -Ov -Oi -Oc -DHB_LEGACY_TYPES_OFF  -DHB_HAS_PCRE -IE:/harbour_cvs/external/p
cre -DPCRE_STATIC -DHB_HAS_ZLIB -IE:/harbour_cvs/external/zlib -I"\harbour\bcc55
\BIn\..\Include" -DUNICODE  -otget.obj -c tget.c
tget.c:
Error E2451 tget.c 5059: Undefined symbol 'ULONG' in function HB_FUN_GET_PICTURE

Error E2379 tget.c 5059: Statement missing ; in function HB_FUN_GET_PICTURE
Error E2451 tget.c 5063: Undefined symbol 'ulLen' in function HB_FUN_GET_PICTURE

Warning W8004 tget.c 5085: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_PICTURE
Error E2451 tget.c 6182: Undefined symbol 'ULONG' in function HB_FUN_GET_UNTRANS
FORM
Error E2379 tget.c 6182: Statement missing ; in function HB_FUN_GET_UNTRANSFORM
Error E2451 tget.c 6186: Undefined symbol 'ulLen' in function HB_FUN_GET_UNTRANS
FORM
Warning W8004 tget.c 6213: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_UNTRANSFORM
Error E2451 tget.c 6502: Undefined symbol 'ULONG' in function HB_FUN_GET_BADDATE

Error E2379 tget.c 6502: Statement missing ; in function HB_FUN_GET_BADDATE
Error E2451 tget.c 6506: Undefined symbol 'ulLen' in function HB_FUN_GET_BADDATE

Warning W8004 tget.c 6518: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_BADDATE
Error E2451 tget.c 7446: Undefined symbol 'ULONG' in function HB_FUN_GET_ISEDITA
BLE
Error E2379 tget.c 7446: Statement missing ; in function HB_FUN_GET_ISEDITABLE
Error E2451 tget.c 7450: Undefined symbol 'ulLen' in function HB_FUN_GET_ISEDITA
BLE
Warning W8004 tget.c 7477: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_ISEDITABLE
Error E2451 tget.c 7586: Undefined symbol 'ULONG' in function HB_FUN_GET_INPUT
Error E2379 tget.c 7586: Statement missing ; in function HB_FUN_GET_INPUT
Error E2451 tget.c 7590: Undefined symbol 'ulLen' in function HB_FUN_GET_INPUT
Warning W8004 tget.c 7612: 'pszText' is assigned a value that is never used in f
unction HB_FUN_GET_INPUT
*** 15 errors in Compile ***
win-make.exe[3]: *** [tget.obj] Error 1
win-make.exe[2]: *** [descend] Error 2
win-make.exe[1]: *** [rtl] Error 2
win-make.exe: *** [src] Error 2

Best regards
Fernando Athayde


Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - 
Celebridades - Música - Esportes


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] tmysql and scripts

2010-04-14 Thread Fernando Athayde
hello all
I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where

   cScript := ""
   cScript += "DELIMITER $$"+CHR(10)+CHR(13)
   cScript += "CREATE DEFINER = `ro...@`%` TRIGGER 
`lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH 
ROW"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += ""+CHR(10)+CHR(13)
   cScript += "IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) 
THEN"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += " SELECT MAX(idsequencial) INTO @ultimo_id FROM 
`lancamentos_fixos` WHERE idserver=NEW.idserver AND 
idfilial=NEW.idfilial;"+CHR(10)+CHR(13)
   cScript += ""+CHR(10)+CHR(13)
   cScript += " IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) 
THEN"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += "   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 
);"+CHR(10)+CHR(13)
   cScript += "   SET NEW.idsequencial = 1;"+CHR(10)+CHR(13)
   cScript += "END;"+CHR(10)+CHR(13)
   cScript += " ELSE"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += "   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 
(@ultimo_id + 1) );"+CHR(10)+CHR(13)
   cScript += "   SET NEW.idsequencial = (@ultimo_id + 1);"+CHR(10)+CHR(13)
   cScript += "END;"+CHR(10)+CHR(13)
   cScript += " END IF;"+CHR(10)+CHR(13)
   cScript += ""+CHR(10)+CHR(13)
   cScript += " END;"+CHR(10)+CHR(13)
   cScript += " END IF;"+CHR(10)+CHR(13)
   cScript += "END $$"+CHR(10)+CHR(13)
   cScript += "DELIMITER ;"+CHR(10)+CHR(13)

   oServer:query( ALLTRIM( cScript ) )

but happens Error in your sql syntax

I tested the code in sql client and runs ok
the script
DELIMITER $$
CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE 
INSERT ON `lancamentos_fixos` FOR EACH ROW
BEGIN

IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN
BEGIN
 SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE 
idserver=NEW.idserver AND idfilial=NEW.idfilial;

 IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN
BEGIN
   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 );
   SET NEW.idsequencial = 1;
END;
 ELSE
    BEGIN
   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) );
   SET NEW.idsequencial = (@ultimo_id + 1);
END;
 END IF;

 END;
 END IF;
END $$
DELIMITER ;

I don´t know how make this, can someone help me?

Best Regards
Fernando Athayde



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] tmysql and scripts

2010-04-14 Thread Fernando Athayde
i found this
MySQL 5.1 also supports the execution of a string containing multiple 
statements separated by semicolon (“;”) 
characters. This capability is enabled by special options that are specified 
either when you connect to the server with mysql_real_connect() or after 
connecting by calling` mysql_set_server_option(). 

and i saw in hbmysql\mysql.c, there isn´t CLIENT_MULTI_STATEMENTS
can someone implements this in hbmysql?

/* connect to server with the CLIENT_MULTI_STATEMENTS option */
if (mysql_real_connect (mysql, host_name, user_name, password,
db_name, port_num, socket_name, CLIENT_MULTI_STATEMENTS) == NULL)
{
  printf("mysql_real_connect() failed\n");
  mysql_close(mysql);
  exit(1);
}

/* execute multiple statements */
status = mysql_query(mysql,
 "DROP TABLE IF EXISTS test_table;\
  CREATE TABLE test_table(id INT);\
  INSERT INTO test_table VALUES(10);\
  UPDATE test_table SET id=20 WHERE id=10;\
  SELECT * FROM test_table;\
  DROP TABLE test_table");
if (status)
{
  printf("Could not execute statement(s)");
  mysql_close(mysql);
  exit(0);
}

/* process each statement result */
do {
  /* did current statement return data? */
  result = mysql_store_result(mysql);
  if (result)
  {
/* yes; process rows and free the result set */
process_result_set(mysql, result);
mysql_free_result(result);
  }
  else  /* no result set or error */
  {
if (mysql_field_count(mysql) == 0)
{
  printf("%lld rows affected\n",
mysql_affected_rows(mysql));
}
else  /* some error occurred */
{
  printf("Could not retrieve result set\n");
  break;
}
  }
  /* more results? -1 = no, >0 = error, 0 = yes (keep looping) */
  if ((status = mysql_next_result(mysql)) > 0)
printf("Could not execute statement\n");
} while (status == 0);

Best Regards
Fernando Athayde

mysql_close(mysql);






De: Fernando Athayde 
Para: harbour@harbour-project.org
Enviadas: Quarta-feira, 14 de Abril de 2010 16:08:03
Assunto: [Harbour] tmysql and scripts


hello all
I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where

   cScript := ""
   cScript += "DELIMITER $$"+CHR(10)+CHR(13)
   cScript += "CREATE DEFINER = `ro...@`%` TRIGGER 
`lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR EACH 
ROW"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += ""+CHR(10)+CHR(13)
   cScript += "IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) 
THEN"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += " SELECT MAX(idsequencial) INTO @ultimo_id FROM 
`lancamentos_fixos` WHERE idserver=NEW.idserver AND 
idfilial=NEW.idfilial;"+CHR(10)+CHR(13)
   cScript += ""+CHR(10)+CHR(13)
   cScript += " IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) 
THEN"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += "   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 
);"+CHR(10)+CHR(13)
   cScript += "   SET NEW.idsequencial = 1;"+CHR(10)+CHR(13)
   cScript += "END;"+CHR(10)+CHR(13)
   cScript += " ELSE"+CHR(10)+CHR(13)
   cScript += "BEGIN"+CHR(10)+CHR(13)
   cScript += "   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 
(@ultimo_id + 1) );"+CHR(10)+CHR(13)
   cScript += "   SET NEW.idsequencial = (@ultimo_id + 1);"+CHR(10)+CHR(13)
   cScript += "END;"+CHR(10)+CHR(13)
   cScript += " END IF;"+CHR(10)+CHR(13)
   cScript += ""+CHR(10)+CHR(13)
   cScript += " END;"+CHR(10)+CHR(13)
   cScript += " END IF;"+CHR(10)+CHR(13)
   cScript += "END $$"+CHR(10)+CHR(13)
   cScript += "DELIMITER ;"+CHR(10)+CHR(13)

   oServer:query( ALLTRIM( cScript ) )

but happens Error in your sql syntax

I tested the code in sql client and runs ok
the script
DELIMITER $$
CREATE DEFINER = `ro...@`%` TRIGGER `lancamentos_fixos_before_ins_tr` BEFORE 
INSERT ON `lancamentos_fixos` FOR EACH ROW
BEGIN

IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) THEN
BEGIN
 SELECT MAX(idsequencial) INTO @ultimo_id FROM `lancamentos_fixos` WHERE 
idserver=NEW.idserver AND idfilial=NEW.idfilial;

 IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) THEN
BEGIN
   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 );
   SET NEW.idsequencial = 1;
END;
 ELSE
BEGIN
   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, (@ultimo_id + 1) );
   SET NEW.idsequencial = (@ultimo_id + 1);
END;
 END IF;

 END;
 END IF;
END $$
DELIMITER ;

I don´t know how make this, can someone help me?

Best Regards
Fernando Athayde


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] tmysql and scripts

2010-04-14 Thread Fernando Athayde
but mysql_query in hbmysql.c don´t loop for statements
If you enable CLIENT_MULTI_STATEMENTS or CLIENT_MULTI_RESULTS, you should 
process the result for every call to mysql_query() or mysql_real_query() by 
using a loop that calls mysql_next_result() to determine whether there are more 
results. For an example, see Section 21.9.12, “C API Support for Multiple 
Statement Execution”. 

there isn´t mysql_next_result in harbour

guys this is only a suggestion, don´t kill me lol

Brgds,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 14 de Abril de 2010 17:15:01
Assunto: Re: Res: [Harbour] tmysql and scripts

Hi,

MYSQL_REAL_CONNECT() .prg function does support fifth 'flags' parameter in 
Harbour.

Brgds,
Viktor

On 2010 Apr 14, at 22:03, Fernando Athayde wrote:

> i found this
> MySQL 5.1 also supports the execution of a string containing multiple 
> statements separated by semicolon (“;”) characters. This capability is 
> enabled by special options that are specified either when you connect to the 
> server withmysql_real_connect() or after connecting by 
> calling`mysql_set_server_option(). 
> 
> and i saw in hbmysql\mysql.c, there isn´t CLIENT_MULTI_STATEMENTS 
> can someone implements this in hbmysql?
> /* connect to server with the CLIENT_MULTI_STATEMENTS option */
> if (mysql_real_connect (mysql, host_name, user_name, password,
> db_name, port_num, socket_name, CLIENT_MULTI_STATEMENTS) == NULL)
> {
>   printf("mysql_real_connect() failed\n");
>   mysql_close(mysql);
>   exit(1);
> }
> 
> /* execute multiple statements */
> status = mysql_query(mysql,
>  "DROP TABLE IF EXISTS test_table;\
>   CREATE TABLE test_table(id INT);\
>   INSERT INTO test_table VALUES(10);\
>   UPDATE test_table SET id=20 WHERE id=10;\
>   SELECT * FROM test_table;\
>   DROP TABLE test_table");
> if (status)
> {
>   printf("Could not execute statement(s)");
>   mysql_close(mysql);
>   exit(0);
> }
> 
> /* process each statement result */
> do {
>   /* did
>  current statement return data? */
> 
>   result = mysql_store_result(mysql);
>   if (result)
>   {
> /* yes; process rows and free the result set */
> process_result_set(mysql, result);
> mysql_free_result(result);
>   }
>   else  /* no result set or error */
>   {
> if (mysql_field_count(mysql) == 0)
> {
>   printf("%lld rows affected\n",
> mysql_affected_rows(mysql));
> }
> else  /* some error occurred */
> {
>   printf("Could not retrieve result set\n");
>   break;
> }
>   }
>   /* more results? -1 = no, >0 = error, 0 = yes (keep looping) */
>   if ((status = mysql_next_result(mysql)) > 0)
> printf("Could not execute statement\n");
> } while (status == 0);
> 
> Best Regards
> Fernando Athayde
> 
> mysql_close(mysql);
> 
> 
> De: Fernando Athayde 
> Para: harbour@harbour-project.org
> Enviadas: Quarta-feira, 14 de Abril de 2010 16:08:03
> Assunto: [Harbour] tmysql and scripts
> 
> hello all
> I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where
> 
>cScript := ""
>cScript += "DELIMITER $$"+CHR(10)+CHR(13)
>cScript += "CREATE DEFINER = `ro...@`%` TRIGGER 
> `lancamentos_fixos_before_ins_tr` BEFORE INSERT ON `lancamentos_fixos` FOR 
> EACH ROW"+CHR(10)+CHR(13)
>cScript += "BEGIN"+CHR(10)+CHR(13)
>cScript += ""+CHR(10)+CHR(13)
>cScript += "IF ( (NEW.idsequencial IS NULL) OR (NEW.idsequencial = 0) ) 
> THEN"+CHR(10)+CHR(13)
>cScript += "BEGIN"+CHR(10)+CHR(13)
>cScript += " SELECT MAX(idsequencial) INTO @ultimo_id FROM 
> `lancamentos_fixos` WHERE idserver=NEW.idserver AND 
> idfilial=NEW.idfilial;"+CHR(10)+CHR(13)
>cScript += ""+CHR(10)+CHR(13)
>cScript += " IF ((@ultimo_id IS NULL) OR (@ultimo_id=0)) 
> THEN"+CHR(10)+CHR(13)
>cScript += "BEGIN"+CHR(10)+CHR(13)
>cScript += "   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 1 
> );"+CHR(10)+CHR(13)
>cScript += "   SET NEW.idsequencial = 1;"+CHR(10)+CHR(13)
>cScript += "END;"+CHR(10)+CHR(13)
>cScript += " ELSE"+CHR(10)+CHR(13)
>cScript += "BEGIN"+CHR(10)+CHR(13)
>cScript += "   SET NEW.id = CONCAT( NEW.idserver, NEW.idfilial, 
> (@ultimo_id + 1) );"+CHR(10)+CHR(13)
>c

Res: [Harbour] tmysql and scripts

2010-04-15 Thread Fernando Athayde
don´t matter
was only test
i tried 13+10 10+13 only10 only13

i don´t know how handle these steatements, today i´ll try other way
´cause i´ve costumers far away from my office

Best regards,
Fernando Athayde





De: Horodyski Marek (PZUZ) 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 15 de Abril de 2010 4:00:28
Assunto: RE: [Harbour] tmysql and scripts

  
 
From:Fernando Athayde
[mailto:fernando_atha...@yahoo.com.br] 
Sent: Wednesday, April 14, 2010 9:08 PM
To: harbour@harbour-project.org
Subject: [Harbour] tmysql and scripts
 
hello
all
I can´t run scripts sql using tmysql, I guess my fault, but I can´t see where

   cScript := ""
   cScript += "DELIMITER $$"+CHR(10)+CHR(13)
*-
CHR(10)+CHR(13)
or CHR(13)+CHR(10) ?
 
Regards,
Marek Horodyski


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] tmysql and procedure (don´t support )

2010-04-29 Thread Fernando Athayde
the class Tmysql, don´t suport procedures and either scripts
i don´t know how implements this in mysql.c is a multi line query
if someone help me, i will be glad

Best Regards,
Fernando Athayde



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] tmysql and procedure (don´t suppo rt)

2010-05-03 Thread Fernando Athayde
someone already passed for this?

Best regards,
Fernando Athayde





De: Fernando Athayde 
Para: harbour@harbour-project.org
Enviadas: Quinta-feira, 29 de Abril de 2010 9:24:43
Assunto: [Harbour] tmysql and procedure (don´t support)


the class Tmysql, don´t suport procedures and either scripts
i don´t know how implements this in mysql.c is a multi line query
if someone help me, i will be glad

Best Regards,
Fernando Athayde


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] tmysql and procedure (don´ t support)

2010-05-03 Thread Fernando Athayde
about this tread, didn´t came anything
http://lists.harbour-project.org/pipermail/harbour/2010-April/035583.html

Best Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Segunda-feira, 3 de Maio de 2010 7:36:52
Assunto: Re: Res: [Harbour] tmysql and procedure (don´t support)

Did you read my answers?

Viktor

On 2010 May 3, at 12:34, Fernando Athayde wrote:

> someone already passed for this?
> 
> Best regards,
> Fernando Athayde
> 
> De: Fernando Athayde 
> Para: harbour@harbour-project.org
> Enviadas: Quinta-feira, 29 de Abril de 2010 9:24:43
> Assunto: [Harbour] tmysql and procedure (don´t support)
> 
> the class Tmysql, don´t suport procedures and either scripts
> i don´t know how implements this in mysql.c is a multi line query
> if someone help me, i will be glad
> 
> Best Regards,
> Fernando Athayde
> 
>  
> 
>  ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tmysql and procedure (don´t support)

2010-05-03 Thread Fernando Athayde
that i had alreary saw, in scripts i am do steatement by steatment, don´t is 
beaultiful but runs ok, it´s was better if mysql_query take support for 
CLIENT_MULTI_STATEMENTS, don´t only in mysql_real_conect, but in mysql_query 
too, because have to loop in all steatments.
but in procedures cases, it´s a little diference i use a query like this "call 
procedure(params...)"
I like to know if someone uses procedures or scripts, or if you guys guess that 
this is good, for hbmysql

Best Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Segunda-feira, 3 de Maio de 2010 8:39:48
Assunto: Re: Res: Res: [Harbour] tmysql and procedure (don´t support)

So read the answers on the other threads you've started.

Viktor

On 2010 May 3, at 13:34, Fernando Athayde wrote:

> about this tread, didn´t came anything
> http://lists.harbour-project.org/pipermail/harbour/2010-April/035583.html
> 
> Best Regards,
> Fernando Athayde
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Segunda-feira, 3 de Maio de 2010 7:36:52
> Assunto: Re: Res: [Harbour] tmysql and procedure (don´t support)
> 
> Did you read my answers?
> 
> Viktor
> 
> On 2010 May 3, at 12:34, Fernando Athayde wrote:
> 
> > someone already passed for this?
> > 
> > Best regards,
> > Fernando Athayde
> > 
> > De: Fernando Athayde 
> > Para: harbour@harbour-project.org
> > Enviadas: Quinta-feira, 29 de Abril de 2010 9:24:43
> > Assunto: [Harbour] tmysql and procedure (don´t support)
> > 
> > the class Tmysql, don´t suport procedures and either scripts
> > i don´t know how implements this in mysql.c is a multi line query
> > if someone help me, i will be glad
> > 
> > Best Regards,
> > Fernando Athayde
> > 
> >  
> > 
> >  ___
> > Harbour mailing list (attachment size limit: 40KB)
> > Harbour@harbour-project.org
> > http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
>  ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] add mysql_real_escape_string()--->mysql.c ?

2010-05-04 Thread Fernando Athayde
this function on libmysql is, but i don´t know how to implement it

ulong STDCALL
mysql_real_escape_string(MYSQL *mysql, char *to,const char *from,
 ulong length)
{
  if (mysql->server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES)
return (uint) escape_quotes_for_mysql(mysql->charset, to, 0, from, length);
  return (uint) escape_string_for_mysql(mysql->charset, to, 0, from, length);
}

Best Regards,
Fernando Athayde





De: wang shuming 
Para: harbour@harbour-project.org
Enviadas: Terça-feira, 4 de Maio de 2010 1:42:19
Assunto: [Harbour] add mysql_real_escape_string()--->mysql.c ?

Hi, this is a important mysql C client function 
mysql_real_escape_string(),convert 
* \x00
* \n
* \r
* \
* '
* "
* \x1a
   Someone could add this function  into mysql.c so harbour app could call the 
function?

Thanks !
Shuming Wang 


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] tipclientsmtp error

2010-05-13 Thread Fernando Athayde
I don´t know why happens this error in smtpcli.prg there is method new()

E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg
hbmk2: Processando script local: hbmk.hbm
hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg
Harbour 2.1.0dev (Rev. 14326)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'gmail.prg'...
Lines 190, Functions/Procedures 1
Generating C source output to 'C:\Users\athayde\AppData\Local\Temp\gmail.c'... D
one.

E:\harbour_cvs\contrib\hbtip\tests>gmail


Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
Called from TIPCLIENT:NEW(0)
Called from TIPCLIENTSMTP:NEW(0)
Called from HB_SENDMAIL(0)
Called from MAIN(38)

Best Regards,
Fernando Athayde



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] tipclientsmtp error

2010-05-13 Thread Fernando Athayde
i downloaded openssl
build hbssl fine
but i don´t know how build these libs
ssleay32 
libeay32

Best Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 13 de Maio de 2010 14:13:27
Assunto: Re: [Harbour] tipclientsmtp error

You have to link it against hbtipssl.hbc.

Viktor

On 2010 May 13, at 18:49, Fernando Athayde wrote:

> I don´t know why happens this error in smtpcli.prg there is method new()
> 
> E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg
> hbmk2: Processando script local: hbmk.hbm
> hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg
> Harbour 2.1.0dev (Rev. 14326)
> Copyright (c) 1999-2010, http://www.harbour-project.org/
> Compiling 'gmail.prg'...
> Lines 190, Functions/Procedures 1
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\gmail.c'... D
> one.
> 
> E:\harbour_cvs\contrib\hbtip\tests>gmail
> 
> 
> Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
> Called from TIPCLIENT:NEW(0)
> Called from TIPCLIENTSMTP:NEW(0)
> Called from HB_SENDMAIL(0)
> Called from MAIN(38)
> 
> Best Regards,
> Fernando Athayde
> 
>  ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] tipclientsmtp error

2010-05-13 Thread Fernando Athayde
i already use look

set HB_BUILD_DLL=yes
set HB_BUILD_IMPLIB=yes
set HB_INSTALL_PREFIX=e:\harbour_gcc
SET HRB_DIR=e:\harbour_gcc

SET HB_WITH_MYSQL=C:\mysql\include
SET HB_INC_MYSQL=C:\mysql\include
SET HB_DIR_MYSQL=C:\mysql
SET HB_WITH_OPENSSL=E:\openssl-1.0.0\include

SET HB_PATH=e:\harbour_gcc

and only generate these files with ssl
libhbssl.a
libhbssls.a
libhbtipssl.a

Best Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 13 de Maio de 2010 15:42:20
Assunto: Re: Res: [Harbour] tipclientsmtp error

> i downloaded openssl
> build hbssl fine
> but i don´t know how build these libs
> ssleay32 
> libeay32

Set HB_BUILD_IMPLIB=yes before doing 'make install'.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-13 Thread Fernando Athayde
i won this battle, lol
openssl dll´s there are in bin and not in out32dll
i moved dll´s into out32dll, and bang runs, build
but still happens this error

Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
Called from TIPCLIENT:NEW(0)
Called from TIPCLIENTSMTP:NEW(0)
Called from HB_SENDMAIL(0)

now there is libssleay32.a and libeay32.a in my lib directory

what´s worng, i´m sincronized with svn

Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 13 de Maio de 2010 16:12:29
Assunto: Re: Res: Res: [Harbour] tipclientsmtp error

> i already use look
> 
> set HB_BUILD_DLL=yes
> set HB_BUILD_IMPLIB=yes
> set HB_INSTALL_PREFIX=e:\harbour_gcc
> SET HRB_DIR=e:\harbour_gcc
> 
> SET HB_WITH_MYSQL=C:\mysql\include
> SET HB_INC_MYSQL=C:\mysql\include
> SET HB_DIR_MYSQL=C:\mysql
> SET HB_WITH_OPENSSL=E:\openssl-1.0.0\include
> 
> SET HB_PATH=e:\harbour_gcc
> 
> and only generate these files with ssl
> libhbssl.a
> libhbssls.a
> libhbtipssl.a

So you missed something in my answer.

BTW, most of the above envvars are not 
needed, see "10. TROUBLESHOOTING" in INSTALL.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-13 Thread Fernando Athayde
only by know
tiptest.prg runs normaly
but gmail.prg don´t strange no

Regards
Fernando Athayde





De: Fernando Athayde 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 13 de Maio de 2010 23:55:09
Assunto: Res: Res: Res: [Harbour] tipclientsmtp error


i won this battle, lol
openssl dll´s there are in bin and not in out32dll
i moved dll´s into out32dll, and bang runs, build
but still happens this error

Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
Called from TIPCLIENT:NEW(0)
Called from TIPCLIENTSMTP:NEW(0)
Called from HB_SENDMAIL(0)

now there is libssleay32.a and libeay32.a in my lib directory

what´s worng, i´m sincronized with svn

Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 13 de Maio de 2010 16:12:29
Assunto: Re: Res: Res: [Harbour] tipclientsmtp error

> i already use look
> 
> set HB_BUILD_DLL=yes
> set HB_BUILD_IMPLIB=yes
> set HB_INSTALL_PREFIX=e:\harbour_gcc
> SET HRB_DIR=e:\harbour_gcc
> 
> SET HB_WITH_MYSQL=C:\mysql\include
> SET HB_INC_MYSQL=C:\mysql\include
> SET HB_DIR_MYSQL=C:\mysql
> SET HB_WITH_OPENSSL=E:\openssl-1.0.0\include
> 
> SET HB_PATH=e:\harbour_gcc
> 
> and only generate these files with ssl
> libhbssl.a
> libhbssls.a
> libhbtipssl.a

So you missed something in my answer.

BTW, most of the above envvars are not 
needed, see "10. TROUBLESHOOTING" in INSTALL.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-13 Thread Fernando Athayde
i hope be useful
i build client.prg smtpcli.prg sendmail.prg with gmail.prg
and now appears the lines of error

E:\harbour_cvs\contrib\hbtip\tests>gmail

Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
Called from TIPCLIENT:NEW(212)
Called from TIPCLIENTSMTP:NEW(99)
Called from HB_SENDMAIL(285)
Called from MAIN(38)

Regards
Fernando Athayde





De: Fernando Athayde 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 14 de Maio de 2010 0:07:14
Assunto: Res: Res: Res: Res: [Harbour] tipclientsmtp error


only by know
tiptest.prg runs normaly
but gmail.prg don´t strange no

Regards
Fernando Athayde





De: Fernando Athayde 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 13 de Maio de 2010 23:55:09
Assunto: Res: Res: Res: [Harbour] tipclientsmtp error


i won this battle, lol
openssl dll´s there are in bin and not in out32dll
i moved dll´s into out32dll, and bang runs, build
but still happens this error

Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
Called from TIPCLIENT:NEW(0)
Called from TIPCLIENTSMTP:NEW(0)
Called from HB_SENDMAIL(0)

now there is libssleay32.a and libeay32.a in my lib directory

what´s worng, i´m sincronized with svn

Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 13 de Maio de 2010 16:12:29
Assunto: Re: Res: Res: [Harbour] tipclientsmtp error

> i already use look
> 
> set HB_BUILD_DLL=yes
> set HB_BUILD_IMPLIB=yes
> set HB_INSTALL_PREFIX=e:\harbour_gcc
> SET HRB_DIR=e:\harbour_gcc
> 
> SET HB_WITH_MYSQL=C:\mysql\include
> SET HB_INC_MYSQL=C:\mysql\include
> SET HB_DIR_MYSQL=C:\mysql
> SET HB_WITH_OPENSSL=E:\openssl-1.0.0\include
> 
> SET HB_PATH=e:\harbour_gcc
> 
> and only generate these files with ssl
> libhbssl.a
> libhbssls.a
> libhbtipssl.a

So you missed something in my answer.

BTW, most of the above envvars are not 
needed, see "10. TROUBLESHOOTING" in INSTALL.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-14 Thread Fernando Athayde
off cource yes
your first reply:
:You have to link it against hbtipssl.hbc.
:
:Viktor
:end

see
E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg smtpcli.prg sendmail.prg clie
nt.prg ..\hbtipssl.hbc
hbmk2: Processando script local: hbmk.hbm
hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg
hbmk2: Processando: hbtipssl.hbc
Harbour 2.1.0beta1 (Rev. 14471)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'gmail.prg'...
Lines 196, Functions/Procedures 1
Generating C source output to 'C:\Users\athayde\AppData\Local\Temp\gmail.c'... D
one.
Compiling 'smtpcli.prg'...
Lines 1393, Functions/Procedures 16
Generating C source output to 'C:\Users\athayde\AppData\Local\Temp\smtpcli.c'...
 Done.
Compiling 'sendmail.prg'...
Lines 2146, Functions/Procedures 2
Generating C source output to 'C:\Users\athayde\AppData\Local\Temp\sendmail.c'..
. Done.
Compiling 'client.prg'...
Lines 4067, Functions/Procedures 27
Generating C source output to 'C:\Users\athayde\AppData\Local\Temp\client.c'...
Done.

hbtipssl.hbc
#
# $Id: hbtipssl.hbc 12413 2009-09-05 23:44:22Z vszakats $
#

incpaths=.

libs=hbtipssl
libs=../../hbssl/hbssl.hbc

Regards
Fernando Athayde






De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 14 de Maio de 2010 4:53:06
Assunto: Re: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

Did you read my first reply?

Viktor

On 2010 May 14, at 05:22, Fernando Athayde wrote:

> i hope be useful
> i build client.prg smtpcli.prg sendmail.prg with gmail.prg
> and now appears the lines of error
> 
> E:\harbour_cvs\contrib\hbtip\tests>gmail
> 
> Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
> Called from TIPCLIENT:NEW(212)
> Called from TIPCLIENTSMTP:NEW(99)
> Called from HB_SENDMAIL(285)
> Called from MAIN(38)
> 
> Regards
> Fernando Athayde
> 
> De: Fernando Athayde 
> Para: Harbour Project Main Developer List. 
> Enviadas: Sexta-feira, 14 de Maio de 2010 0:07:14
> Assunto: Res: Res: Res: Res: [Harbour] tipclientsmtp error
> 
> only by know
> tiptest.prg runs normaly
> but gmail.prg don´t strange no
> 
> Regards
> Fernando Athayde
> 
> De: Fernando Athayde 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quinta-feira, 13 de Maio de 2010 23:55:09
> Assunto: Res: Res: Res: [Harbour] tipclientsmtp error
> 
> i won this battle, lol
> openssl dll´s there are in bin and not in out32dll
> i moved dll´s into out32dll, and bang runs, build
> but still happens this error
> 
> Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
> Called from TIPCLIENT:NEW(0)
> Called from TIPCLIENTSMTP:NEW(0)
> Called from HB_SENDMAIL(0)
> 
> now there is libssleay32.a and libeay32.a in my lib directory
> 
> what´s worng, i´m sincronized with svn
> 
> Regards,
> Fernando Athayde
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quinta-feira, 13 de Maio de 2010 16:12:29
> Assunto: Re: Res: Res: [Harbour] tipclientsmtp error
> 
> > i already use look
> > 
> > set HB_BUILD_DLL=yes
> > set HB_BUILD_IMPLIB=yes
> > set HB_INSTALL_PREFIX=e:\harbour_gcc
> > SET HRB_DIR=e:\harbour_gcc
> > 
> > SET HB_WITH_MYSQL=C:\mysql\include
> > SET HB_INC_MYSQL=C:\mysql\include
> > SET HB_DIR_MYSQL=C:\mysql
> > SET HB_WITH_OPENSSL=E:\openssl-1.0.0\include
> > 
> > SET HB_PATH=e:\harbour_gcc
> > 
> > and only generate these files with ssl
> > libhbssl.a
> > libhbssls.a
> > libhbtipssl.a
> 
> So you missed something in my answer.
> 
> BTW, most of the above envvars are not 
> needed, see "10. TROUBLESHOOTING" in INSTALL.
> 
> Viktor
> 
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
>  
> 
>  
> 
>  ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-14 Thread Fernando Athayde
Haleluia, hbmk.hbm have inside hbtip, i remove it, bing, runs ok
only a question, what is this, all time i build appers this
Info: resolving _SSL_CIPHER_get_version by linking to __imp__SSL_CIPHER_get_vers
ion (auto-import)
Info: resolving _SSL_CTX_add_client_CA by linking to __imp__SSL_CTX_add_client_C
A (auto-import)
E:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: a
uto-importing has been activated without --enable-auto-import specified on the c
ommand line.
This should work unless it involves constant data structures referencing symbols
 from auto-imported DLLs.

Regards
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 14 de Maio de 2010 7:24:09
Assunto: Re: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

Make sure to _NOT_ link against hbtip.hbc at the same time, 
you cannot link to both SSL and non-SSL version of hbtip at 
the same time.

One way to do this is to delete hbmk.hbm.

Viktor

On 2010 May 14, at 12:04, Fernando Athayde wrote:

> off cource yes
> your first reply:
> :You have to link it against hbtipssl.hbc.
> :
> :Viktor
> :end
> 
> see
> E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg smtpcli.prg sendmail.prg 
> clie
> nt.prg ..\hbtipssl.hbc
> hbmk2: Processando script local: hbmk.hbm
> hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg
> hbmk2: Processando: hbtipssl.hbc
> Harbour 2.1.0beta1 (Rev. 14471)
> Copyright (c) 1999-2010, http://www.harbour-project.org/
> Compiling 'gmail.prg'...
> Lines 196, Functions/Procedures 1
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\gmail.c'... D
> one.
> Compiling 'smtpcli.prg'...
> Lines 1393, Functions/Procedures 16
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\smtpcli.c'...
>  Done.
> Compiling 'sendmail.prg'...
> Lines 2146, Functions/Procedures 2
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\sendmail.c'..
> . Done.
> Compiling 'client.prg'...
> Lines 4067, Functions/Procedures 27
> Generating C source output to 
> 'C:\Users\athayde\AppData\Local\Temp\client.c'...
> Done.
> 
> hbtipssl.hbc
> #
> # $Id: hbtipssl.hbc 12413 2009-09-05 23:44:22Z vszakats $
> #
> 
> incpaths=.
> 
> libs=hbtipssl
> libs=../../hbssl/hbssl.hbc
> 
> Regards
> Fernando Athayde
> 
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Sexta-feira, 14 de Maio de 2010 4:53:06
> Assunto: Re: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error
> 
> Did you read my first reply?
> 
> Viktor
> 
> On 2010 May 14, at 05:22, Fernando Athayde wrote:
> 
> > i hope be useful
> > i build client.prg smtpcli.prg sendmail.prg with gmail.prg
> > and now appears the lines of error
> > 
> > E:\harbour_cvs\contrib\hbtip\tests>gmail
> > 
> > Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
> > Called from TIPCLIENT:NEW(212)
> > Called from TIPCLIENTSMTP:NEW(99)
> > Called from HB_SENDMAIL(285)
> > Called from MAIN(38)
> > 
> > Regards
> > Fernando Athayde
> > 
> > De: Fernando Athayde 
> > Para: Harbour Project Main Developer List. 
> > Enviadas: Sexta-feira, 14 de Maio de 2010 0:07:14
> > Assunto: Res: Res: Res: Res: [Harbour] tipclientsmtp error
> > 
> > only by know
> > tiptest.prg runs normaly
> > but gmail.prg don´t strange no
> > 
> > Regards
> > Fernando Athayde
> > 
> > De: Fernando Athayde 
> > Para: Harbour Project Main Developer List. 
> > Enviadas: Quinta-feira, 13 de Maio de 2010 23:55:09
> > Assunto: Res: Res: Res: [Harbour] tipclientsmtp error
> > 
> > i won this battle, lol
> > openssl dll´s there are in bin and not in out32dll
> > i moved dll´s into out32dll, and bang runs, build
> > but still happens this error
> > 
> > Error BASE/1081  Operation not supported: TIPCLIENTSMTP:new()
> > Called from TIPCLIENT:NEW(0)
> > Called from TIPCLIENTSMTP:NEW(0)
> > Called from HB_SENDMAIL(0)
> > 
> > now there is libssleay32.a and libeay32.a in my lib directory
> > 
> > what´s worng, i´m sincronized with svn
> > 
> > Regards,
> > Fernando Athayde
> > 
> > De: Viktor Szakáts 
> > Para: Harbour Project Main Developer List. 
> > Enviadas: Quinta-feira, 13 de Maio de 2010 16:12:29
> > Assunto: Re: Res: Res: [Harbour] tipclientsmtp error
> > 
> > > i already use look
> > >

Res: Res: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

2010-05-14 Thread Fernando Athayde
i have a little error yet
if i use -mt the class hbtip not runs
example:
hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly
but returns .F.

and

hbmk2gmail.prg hbtipssl.hbc, build perfectly
but returns .T.

log off smtp with error
20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-09:29:31  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:41  :INETRECVLINE( , , 512 )
>> NIL <<

20100514-09:29:41  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-09:29:42  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP 21sm1329732yxe.15 <<

20100514-09:29:42  :INETERRORCODE(  )
>>  0 <<


log without error
20100514-10:05:23  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 25, HELO  
)
>> 25 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 250 mx.google.com at your service <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 31, MAIL FROM: 
 )
>> 31 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530-5.5.1 Authentication Required. Learn more at 
>>   <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 5, . )
>>  5 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 
>> x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 502 5.5.1 Unrecognized command. x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<





Regards
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 14 de Maio de 2010 8:11:53
Assunto: Re: Res: Res: Res: Res: Res: Res: Res: [Harbour] tipclientsmtp error

> Haleluia, hbmk.hbm have inside hbtip, i remove it, bing, runs ok
> only a question, what is this, all time i build appers this
> Info: resolving _SSL_CIPHER_get_version by linking to 
> __imp__SSL_CIPHER_get_vers
> ion (auto-import)
> Info: resolving _SSL_CTX_add_client_CA by linking to 
> __imp__SSL_CTX_add_client_C
> A (auto-import)
> E:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
> warning: a
> uto-importing has been activated without --enable-auto-import specified on 
> the c
> ommand line.
> This should work unless it involves constant data structures referencing 
> symbols
>  from auto-imported DLLs.

This depends on how you created the implib you're using 
and what was the exact source for the implib.

I'm not getting such warning in my environment 
(mingw 4.4.x/4.5.x) with locally build openssl 1.0.0 
.dlls (using MSVC at the moment) and automatically 
built hbmk2 implibs, but one's milage may vary.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] tipclientsmtp problem with MT

2010-05-14 Thread Fernando Athayde
I have a little error yet about hbtip, if i use -mt the class hbtip not runs


Example with MT:
   hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly
   but run slower and returns .F. (fail)

Example without MT:
   hbmk2 gmail.prg hbtipssl.hbc, build perfectly
   run faster and returns .T. (correct)

log off smtp with error

20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-09:29:31  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:41  :INETRECVLINE( , , 512 )
>> NIL <<

20100514-09:29:41  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-09:29:42  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP 21sm1329732yxe.15 <<

20100514-09:29:42  :INETERRORCODE(  )
>>  0 <<


log without error

20100514-10:05:23  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 25, HELO  
)
>> 25 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 250 mx.google.com at your service <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 31, MAIL FROM: 
 )
>> 31 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530-5.5.1 Authentication Required. Learn more at 
>>   <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 5, . )
>>  5 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 
>> x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 502 5.5.1 Unrecognized command. x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<



Regards
Fernando Athayde


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] tipclientsmtp problem with MT

2010-05-14 Thread Fernando Athayde
I have a little error yet about hbtip, if i use -mt the class hbtip not runs


Example with MT:
   hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly
   but run slower and returns .F. (fail)

Example without MT:
   hbmk2 gmail.prg hbtipssl.hbc, build perfectly
   run faster and returns .T. (correct)

log off smtp with error

20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-09:29:31  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:41  :INETRECVLINE( , , 512 )
>> NIL <<

20100514-09:29:41  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-09:29:42  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP 21sm1329732yxe.15 <<

20100514-09:29:42  :INETERRORCODE(  )
>>  0 <<


log without error

20100514-10:05:23  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 25, HELO  
)
>> 25 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 250 mx.google.com at your service <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 31, MAIL FROM: 
 )
>> 31 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530-5.5.1 Authentication Required. Learn more at 
>>   <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 5, . )
>>  5 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 
>> x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 502 5.5.1 Unrecognized command. x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<



Regards
Fernando Athayde



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] tipclientsmtp problem with MT

2010-05-14 Thread Fernando Athayde
sorry for send many emails, but i don´t know why was coming in my spam box, 
please sorry

I have a little error yet about hbtip, if i use -mt 
the class hbtip not runs


Example with MT:
   hbmk2 -mt 
gmail.prg hbtipssl.hbc, build perfectly
   but run slower and returns .F. (fail)

Example without MT:
   hbmk2 gmail.prg hbtipssl.hbc, build perfectly
   run faster and 
returns .T. (correct)

log off 
smtp with error

20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
>>  
<<

20100514-09:29:31  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:41  
:INETRECVLINE( , , 512 )
>> NIL <<

20100514-09:29:41  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-09:29:42  :INETRECVLINE( , , 512 )
>> 220 mx.google.com 
ESMTP 21sm1329732yxe.15 <<

20100514-09:29:42  :INETERRORCODE(  )
>>  0 <<


log 
without error

20100514-10:05:23  :INETCONNECT( smtp.gmail.com, 465 )
>>  
<<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  
:INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP x34sm670731qce.15 <<

20100514-10:05:23  
:INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 25, HELO  
)
>> 25 <<

20100514-10:05:23  
:INETRECVLINE( , , 512 )
>> 250 mx.google.com at your service <<

20100514-10:05:23  :INETERRORCODE( 
 )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 31, MAIL FROM: 
 )
>> 31 
<<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530-5.5.1 Authentication Required. Learn more 
at   <<

20100514-10:05:23  
:INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  
:INETSENDALL( , 5, . )
>>  5 <<

20100514-10:05:23  :INETRECVLINE( , , 
512 )
>> 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 
>> x34sm670731qce.15 <<

20100514-10:05:23  
:INETERRORCODE(  )
>>      0 <<

20100514-10:05:23  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-10:05:23  :INETRECVLINE( , , 
512 )
>> 502 5.5.1 Unrecognized command. x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<



Regards
Fernando Athayde



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
is my questions comming at this list group?

Best Regards,
Fernando Athayde





De: Fernando Athayde 
Para: harbour@harbour-project.org
Enviadas: Sexta-feira, 14 de Maio de 2010 21:59:20
Assunto: [Harbour] tipclientsmtp problem with MT


sorry for send many emails, but i don´t know why was coming in my spam box, 
please sorry

I have a little error yet about hbtip, if i use -mt 
the class hbtip not runs


Example with MT:
   hbmk2 -mt 
gmail.prg hbtipssl.hbc, build perfectly
   but run slower and returns .F. (fail)

Example without MT:
   hbmk2 gmail.prg hbtipssl.hbc, build perfectly
   run faster and 
returns .T. (correct)

log off 
smtp with error

20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
>>  
<<

20100514-09:29:31  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:41  
:INETRECVLINE( , , 512 )
>> NIL <<

20100514-09:29:41  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-09:29:42  :INETRECVLINE( , , 512 )
>> 220 mx.google.com 
ESMTP 21sm1329732yxe.15 <<

20100514-09:29:42  :INETERRORCODE(  )
>>  0 <<


log 
without error

20100514-10:05:23  :INETCONNECT( smtp.gmail.com, 465 )
>>  
<<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  
:INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP x34sm670731qce.15 <<

20100514-10:05:23  
:INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 25, HELO  
)
>> 25 <<

20100514-10:05:23  
:INETRECVLINE( , , 512 )
>> 250 mx.google.com at your service <<

20100514-10:05:23  :INETERRORCODE( 
 )
>>  0 <<

20100514-10:05:23  :INETSENDALL( , 31, MAIL FROM: 
 )
>> 31 
<<

20100514-10:05:23  :INETRECVLINE( , , 512 )
>> 530-5.5.1 Authentication Required. Learn more 
at   <<

20100514-10:05:23  
:INETERRORCODE(  )
>>  0 <<

20100514-10:05:23  
:INETSENDALL( , 5, . )
>>  5 <<

20100514-10:05:23  :INETRECVLINE( , , 
512 )
>> 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 
>> x34sm670731qce.15 <<

20100514-10:05:23  
:INETERRORCODE(  )
>>      0 <<

20100514-10:05:23  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-10:05:23  :INETRECVLINE( , , 
512 )
>> 502 5.5.1 Unrecognized command. x34sm670731qce.15 <<

20100514-10:05:23  :INETERRORCODE(  )
>>  0 <<



Regards
Fernando Athayde


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
i am send this message without log, i want see if my message is comming in this 
group

I have a little error yet about hbtip, if i use -mt 
the class hbtip not runs

Example with MT:
   hbmk2 -mt 
gmail.prg hbtipssl.hbc, build perfectly
   but run slower and returns .F. (fail)

Example without MT:
   hbmk2 gmail.prg hbtipssl.hbc, build perfectly
   run faster and 
returns .T. (correct)

Best Regards,
Fernando Athayde



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
i try your suggestion port 587 now on 2 examples not runs return .F.
strange with port 465 runs fine without MT, but with MT dont´t run well
i think there is a problem with kernel mt of harbour

Regards
Fernando Athayde





De: francesco perillo 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 8:18:55
Assunto: Re: [Harbour] tipclientsmtp problem with MT

yes the message come to the list.

I want to say that the code of sending mails with hbtip is far from
perfect and not always follows SMTP protocol and best practices...

Anyway, to be short, try port 587 and not 465... I can't get a proper
reply from their servers on 465 so the connection goes timeout (10
seconds) and aborts... the strange thing is that you get the 220
message after the QUIT...

Francesco
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] How to update commits using SVN - Newbie question.

2010-05-15 Thread Fernando Athayde
create a folder harbour_svn
right click in this folder
 find svn checkout and click there

fill the url = 
http://harbour-project.svn.sourceforge.net/viewvc/harbour-project/trunk/harbour/

Regards
Fernando Athayde





De: José Luis Capel 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 8:45:20
Assunto: [Harbour] How to update commits using SVN - Newbie question.

  
Hi all,
 
I am ready to upload a new windows api to run a 
Harbour application as a windows service.  This is my very first 
commit.
 
I have read doc 'howtosvn.txt' but, unfortunately, 
it is still not clear to me.
 
I understand that, before uploading 
changes...
 
1rst. I have to edit changelog file using a fixed 
format.  
2nd Update svn
3th  Use 'svn commit --editor-cmd notepad.exe 
--username sfuser'.  Well, here is where I am a little 
lost due I have no svn command available.   
 
My environment is Windows 7 + TortoiseSVN.  
And 'snv' command is not in TortoiseSvn folder...
 
So, What should I do??
 
Many thanks for your help.
Regards,
José Luis Capel


  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
but the test gmail.prg in contrib
runs perfectly without MT returns .T. very faster
but with MT returns .F. very slower

log smtp with error
20100514-09:29:31  :INETCONNECT( 
smtp.gmail.com, 465 )
>>  <<

20100514-09:29:31  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:41  :INETRECVLINE( 
, , 512 )
>> NIL <<

20100514-09:29:41  :INETERRORCODE(  )
>>  0 <<

20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100514-09:29:42  :INETRECVLINE( , , 512 )
>> 220 mx.google.com 
ESMTP 21sm1329732yxe.15 <<

20100514-09:29:42  :INETERRORCODE(  )
>>  0 <<

is there other way for send emails with html body in harbour ?

Regards,
Fernando Athayde





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 8:41:07
Assunto: Re: [Harbour] tipclientsmtp problem with MT

Hi,

> yes the message come to the list.
> 
> I want to say that the code of sending mails with hbtip is far from
> perfect and not always follows SMTP protocol and best practices...
> 
> Anyway, to be short, try port 587 and not 465... I can't get a proper
> reply from their servers on 465 so the connection goes timeout (10
> seconds) and aborts... the strange thing is that you get the 220
> message after the QUIT...

It would be great of you could take a closer look at it.

ATM HB_SENDMAIL() is not working at one of my clients, 
but it works at others. The one failing is simple SMTP, 
no SSL or MT mode. HB_SENDMAIL() returns .F. Unfortunately 
I don't have logs. The build in question uses latest hbtip 
code.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
sorry
i was search about ssl, openssl uses thread
i think that this may confuse MT in harbour

Regards
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 9:10:01
Assunto: Re: Res: [Harbour] tipclientsmtp problem with MT

Fernando,

We've received your report now about 8 times!

Viktor

On 2010 May 15, at 14:06, Fernando Athayde wrote:

> but the test gmail.prg in contrib
> runs perfectly without MT returns .T. very faster
> but with MT returns .F. very slower
> 
> log smtp with error
> 20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
> >>  <<
> 
> 20100514-09:29:31  :INETERRORCODE(  )
> >>  0 <<
> 
> 20100514-09:29:41  :INETRECVLINE( , , 512 )
> >> NIL <<
> 
> 20100514-09:29:41  :INETERRORCODE(  )
> >>  0 <<
> 
> 20100514-09:29:42  :INETSENDALL( , 6, QUIT )
> >>  6 <<
> 
> 20100514-09:29:42  :INETRECVLINE( , , 512 )
> >> 220 mx.google.com ESMTP 21sm1329732yxe.15 <<
> 
> 20100514-09:29:42  :INETERRORCODE(  )
> >>  0 <<
> 
> is there other way for send emails with html body in harbour ?
> 
> Regards,
> Fernando Athayde
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Sábado, 15 de Maio de 2010 8:41:07
> Assunto: Re: [Harbour] tipclientsmtp problem with MT
> 
> Hi,
> 
> > yes the message come to the list.
> > 
> > I want to say that the code of sending mails with hbtip is far from
> > perfect and not always follows SMTP protocol and best practices...
> > 
> > Anyway, to be short, try port 587 and not 465... I can't get a proper
> > reply from their servers on 465 so the connection goes timeout (10
> > seconds) and aborts... the strange thing is that you get the 220
> > message after the QUIT...
> 
> It would be great of you could take a closer look at it.
> 
> ATM HB_SENDMAIL() is not working at one of my clients, 
> but it works at others. The one failing is simple SMTP, 
> no SSL or MT mode. HB_SENDMAIL() returns .F. Unfortunately 
> I don't have logs. The build in question uses latest hbtip 
> code.
> 
> Viktor
> 
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
>  ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
http://www.openssl.org/docs/crypto/threads.html
in a search into dll (ssleay32 and libeay32) found threads

you try build example gmail.prg with -mt?

Regards
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 10:15:39
Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT

> sorry
> i was search about ssl, openssl uses thread
> i think that this may confuse MT in harbour

It's possible, if you find anything more in this 
regard, pls tell us about it.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
if someone can help me i will be glad

i´d have try build openssl dlls with parameters no-threads, but i can´t build, 
happens any errors in bcc/msvc
i want try more, why I'am crazy about this, i need send emails for my 
application, but i can´t why my application uses MT (threads)

Regards
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 11:35:03
Assunto: Re: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

> http://www.openssl.org/docs/crypto/threads.html
> in a search into dll (ssleay32 and libeay32) found threads
> 
> you try build example gmail.prg with -mt?

No. Please. I cannot solve every possible problem.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
Przemek, i was think, may be problem is the multithread support of openssl dll´s
i was trying build openssl, but without success
but if you test gmail.prg with -MT you´ll see the problem

Regards
Fernando Athayde





De: Przemysław Czerpak 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 14:51:44
Assunto: Re: Res: [Harbour] tipclientsmtp problem with MT

On Sat, 15 May 2010, Fernando Athayde wrote:

Hi,

> i try your suggestion port 587 now on 2 examples not runs return .F.
> strange with port 465 runs fine without MT, but with MT dont´t run well
> i think there is a problem with kernel mt of harbour

I do not think so.

best regards,
Przemek
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
bur Przemek look this:
E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg hbtipssl.hbc
hbmk2: Processando script local: hbmk.hbm
hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg
hbmk2: Processando: hbtipssl.hbc
Harbour 2.1.0beta1 (Rev. 14471)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'gmail.prg'...
Lines 196, Functions/Procedures 1
Generating C source output to 'C:\Users\athayde\AppData\Local\Temp\gmail.c'... D
one.
Info: resolving _SSL_CIPHER_get_version by linking to __imp__SSL_CIPHER_get_vers
ion (auto-import)
E:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: a
uto-importing has been activated without --enable-auto-import specified on the c
ommand line.
This should work unless it involves constant data structures referencing symbols
 from auto-imported DLLs.

E:\harbour_cvs\contrib\hbtip\tests>gmail

.T.

E:\harbour_cvs\contrib\hbtip\tests>
E:\harbour_cvs\contrib\hbtip\tests>
E:\harbour_cvs\contrib\hbtip\tests>hbmk2 -mt gmail.prg hbtipssl.hbc
hbmk2: Processando script local: hbmk.hbm
hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg
hbmk2: Processando: hbtipssl.hbc
Harbour 2.1.0beta1 (Rev. 14471)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'gmail.prg'...
Lines 196, Functions/Procedures 1
Generating C source output to 'C:\Users\athayde\AppData\Local\Temp\gmail.c'... D
one.
Info: resolving _SSL_CIPHER_get_version by linking to __imp__SSL_CIPHER_get_vers
ion (auto-import)
E:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: a
uto-importing has been activated without --enable-auto-import specified on the c
ommand line.
This should work unless it involves constant data structures referencing symbols
 from auto-imported DLLs.

E:\harbour_cvs\contrib\hbtip\tests>gmail

.F.

Best Regards,
Fernando Athayde





De: Przemysław Czerpak 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 16:39:27
Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT

On Sat, 15 May 2010, Fernando Athayde wrote:

Hi,

> Przemek, i was think, may be problem is the multithread support of openssl 
> dll´s
> i was trying build openssl, but without success

If non HVM thread tries to access HVM, i.e. to execute some .prg code
then it simply GPF so I do not think it's the source o your problem.

> but if you test gmail.prg with -MT you´ll see the problem

Both MT and ST versions returns .T. so they seem to work but
valgrind produces for both of them 285KB log with 336 errors:
   Conditional jump or move depends on uninitialised value(s)
inside low level SSL code so there is sth wrong with SSL library
or rather with Harbour wrapper to this library (hbssl) and this
may cause any unpredictable results depending on values in
uninitialised memory. Probably in your MT builds this memory
contains data which breaks communication process.


best regards,
Przemek
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
I was map, and with MT fails always in line 358, very slow in this line, i 
think the slow is by timeout

sendmail.prg
358  IF ! oInMail:Open( NIL, lAuthTLS ) //here in MT always return .F.
359 oInmail:Close()
360 RETURN .F.
341  ENDIF

my apologizes about number of messages, and why i don´t know much of C
if someone want to test in PVT mode, or in remote mode (teamviewer,...), i'am 
here for help to resolve this problem
I´ll send messages for this case if i descovery something

Regards
Fernando Athayde






De: Przemysław Czerpak 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 17:21:57
Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT

On Sat, 15 May 2010, Szak�ts Viktor wrote:

Hi,

> It's possible (and should fixed, just not by my eyes), but 
> my suspect in this case is an MT requirement of OpenSSL, which 
> isn't satisfied in hbssl.

Yes, but it's important only for concurrent access.
It does not change anything when only single thread
access SSL code like in gmail.prg so for sure it
cannot be source of the problem.

> See here:
>
> http://books.google.hu/books?id=FBYHEBTrZUwC&pg=PA74&lpg=PA74&dq=OPENSSL+multithread&source=bl&ots=Am7l5e1yJL&sig=r7QaLIfah-KE8lQDx4RbSXVPPJI&hl=en&ei=btbuS_vZI-STOO7C8fYH&sa=X&oi=book_result&ct=result&resnum=8&ved=0CDAQ6AEwBw#v=onepage&q=OPENSSL%20multithread&f=false
> I tried, but couldn't adapt the code to Harbour threading API.

Seems that it can be done quite easy.
I'll look at it in next week but it's completely different thing
not related to Fernando problem which probably should be resolved
before so we can add some concurrent access tests.

best regards,
Przemek
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
- openssl is very simple to install and rebuild harbour

- these was complete logs

if you wnat more any information please ask me
i am a 4 days trying resolve this

Regards
Fernando Athayde





De: francesco perillo 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 20:09:34
Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT

I don't have openssl installed... is it just ok to install it and
point to it and rebuild harbour ?

@Fernando:
I did try to analyze your logs... are they complete or are some lines missing ?

If I telnet to port 465 I receive no data from the server... I also
checked with a tcpdump... so it's strange that in what you call the
"log without error" you get a "220 mx.google.com ESMTP
x34sm670731qce.15" without first sending some more commands... It may
be that some data is sent to the server not using INETSENDALL so it is
not logged...


I need to install openssl before further investigation

Francesco

In the meanwhile I found this:

> 587 uses a TLS encryption connection.
> 465 uses an SSL encryption connection.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
i think this QUIT is why inetrecvline returns NIL

  IF ! oInMail:Open( NIL, lAuthTLS ) // here
 oInmail:Close()
 RETURN .F.
  ENDIF

Regards
Fernando Athayde





De: francesco perillo 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 15 de Maio de 2010 20:25:01
Assunto: Re: [Harbour] tipclientsmtp problem with MT

> but with MT returns .F. very slower
>
> log smtp with error
> 20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 )
>>>  <<
>
> 20100514-09:29:31  :INETERRORCODE(  )
>>>  0 <<
>
> 20100514-09:29:41  :INETRECVLINE( , , 512 )
>>> NIL <<
>
> 20100514-09:29:41  :INETERRORCODE(  )
>>>  0 <<
>
> 20100514-09:29:42  :INETSENDALL( , 6, QUIT )
>>>  6 <<
>
> 20100514-09:29:42  :INETRECVLINE( , , 512 )
>>> 220 mx.google.com ESMTP 21sm1329732yxe.15 <<


I DON'T UNDERSTAND why is the server replaying to your QUIT message
with a 220 !

I have some ideas to check but I need to install openssl
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
with user and password
without mt

20100515-21:31:32  :INETCONNECT( smtp.gmail.com, 465 )
>>  <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 220 mx.google.com ESMTP a10sm2953466anj.19 <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETSENDALL( , 35, EHLO 
fjsiste...@fjsistemas.com.br )
>> 35 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 250-mx.google.com at your service, [187.101.60.241] <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 250-SIZE 35651584 <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 250-8BITMIME <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 250-AUTH LOGIN PLAIN XOAUTH <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 250 ENHANCEDSTATUSCODES <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETSENDALL( , 12, AUTH LOGIN )
>> 12 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 334 VXNlcm5hbWU6 <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETSENDALL( , 42, 
ZmpzaXN0ZW1hc0BmanNpc3RlbWFzLmNvbS5icg== )
>> 42 <<

20100515-21:31:32  :INETRECVLINE( , , 512 )
>> 334 UGFzc3dvcmQ6 <<

20100515-21:31:32  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:32  :INETSENDALL( , 18, ZmowMjExMjNhcg== )
>> 18 <<

20100515-21:31:33  :INETRECVLINE( , , 512 )
>> 235 2.7.0 Accepted <<

20100515-21:31:33  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:33  :INETSENDALL( , 43, MAIL FROM: 
 )
>> 43 <<

20100515-21:31:33  :INETRECVLINE( , , 512 )
>> 250 2.1.0 OK a10sm2953466anj.19 <<

20100515-21:31:33  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:33  :INETSENDALL( , 42, RCPT TO: 
 )
>> 42 <<

20100515-21:31:33  :INETRECVLINE( , , 512 )
>> 250 2.1.5 OK a10sm2953466anj.19 <<

20100515-21:31:33  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:33  :INETSENDALL( , 6, DATA )
>>  6 <<

20100515-21:31:35  :INETRECVLINE( , , 512 )
>> 354  Go ahead a10sm2953466anj.19 <<

20100515-21:31:35  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:35  :INETSENDALL( , 5692, Date: Sat, 15 May 2010 21:31:31 
-0300From: =?ISO-8859-1?Q?fjsistemas=40fjsistemas.com.br?= To: 
=?ISO-8859-1?Q?fernando=5Fathayde=40yahoo.com.br?= Subject: 
=?ISO-8859-1?Q?test:=20subject?=Content-Transfer-Encoding: 
quoted-printableContent-Type: text/html ; charset=ISO-8859-1<=21DOCTYPE HTML 
PUBLIC =22-//W3C//DTD HTML 4.01 Transitional//EN=22 
=22http://www.w3.org/TR/html4/loose.dtd==22>=22>Untitled 
Pagehttp://www.wysiwygwebbuilder.com==22>=22 
align=3D=22center=22>http://www.fjsistemas.com.br/cobranca/img0001.gif=22 
id=3D=22Shape1==22 align=3D=22top=22 alt=3D=22=22 title=3D=22=22 
border=3D=220=22 width=3D==22716=22 height=3D=22435=22>=22 
align=3D=22center=22>=22>Aviso de Cobran=E7a=22 align=3D=22left=22>=22>FJ 
Sistemas 
Desenvolvimento de Sistemas e Inform=E1tica=23FF solid;=22 
cellpadding=3D=220=22 cellspacing=3D=221=22 id=3D=22Table1==22>
=22>=22>=5BServico1=5D =22>=22>=5BValor1=5D 
=22>=22>=5BServico2=5D =22>=22>=5BValor2=5D 
=22>=22>Juros/Mora di=E1ria ref. pagamento em atraso: =22>=22>=5BValor3=5D 
=22>=22>Total: =22>=22>=5BTotal=5D =22 align=3D=22left=22>=22>Dados para 
dep=F3sito:=22 align=3D=22left=22>=22>Banco: Bradesco S/A=22 
align=3D=22left=22>=22>Agencia: 22-1=22 align=3D=22left=22>=22>Conta Corrente: 
53.533-8=22 align=3D=22left=22>=22>Titular: Fernando Athayde=23FF solid;=22 
cellpadding=3D=220=22 cellspacing=3D=221=22 id=3D=22Table2==22>
=22>=22>Cliente   : =5BCLIENTE=5D
Endere=E7o: =5BENDERECO=5D
Cidade   : =5BCidade=5D   UF: =5BUF=5D
C.N.P.J. : =5BCNPJ=5D  I.E.: =5BIE=5D )
>>   5692 <<

20100515-21:31:35  :INETSENDALL( , 5, . )
>>  5 <<

20100515-21:31:36  :INETRECVLINE( , , 512 )
>> 250 2.0.0 OK 1273969896 a10sm2953466anj.19 <<

20100515-21:31:36  :INETERRORCODE(  )
>>  0 <<

20100515-21:31:36  :INETSENDALL( , 6, QUIT )
>>  6 <<

20100515-21:31:37  :INETRECVLINE( , , 512 )
>> 221 2.0.0 closing connection a10sm2953466anj.19 <<

20100515-21:31:37  :INETERRORCODE(  )
>>  0 <<

with user ans passw
with MT

20100515-21:31:47  :INETCONNEC

Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
I MUST LEARN TO NOT POST MY PASSWORD IN PUBLIC LISTS, EVEN IF IN BASE64!


I MUST LEARN TO NOT POST MY PASSWORD IN PUBLIC LISTS, EVEN IF IN BASE64!


I MUST LEARN TO NOT POST MY PASSWORD IN PUBLIC LISTS, EVEN IF IN BASE64!


JUSI KIDDING, I MUST CHANGE IT ASAP




  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-16 Thread Fernando Athayde
Thank Francesco
i removed, i only put a valid email, for all tests have a similar answer
i´ll waiting for you path about sendmail.prg, very very thanks, about your 
atention and lost time

   DEFAULT cFrom TO "fjsiste...@fjsistemas.com.br"
   DEFAULT cPassword TO ""
   DEFAULT cTo   TO "fernando_atha...@yahoo.com.br"

   ? hb_SendMail( "smtp.gmail.com",;
  465,;
  cFrom,;
  cTo,;
  NIL /* CC */,;
  {} /* BCC */,;
  "cobranca.html",;
  "test: subject",;
  NIL /* attachment */,;
  "",;   // user
  "",;   //pass
  "",;
  NIL /* nPriority */,;
  NIL /* lRead */,;
  .T. /* lTrace */,;
  .F.,;
  NIL /* lNoAuth */,;
  NIL /* nTimeOut */,;
  NIL /* cReplyTo */,;
  .T. )


Regards
Fernando





De: francesco perillo 
Para: Harbour Project Main Developer List. 
Enviadas: Domingo, 16 de Maio de 2010 3:45:33
Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT

Fernando, I told you to remove the password  :-)

From your first message:
20100514-10:05:23  :INETSENDALL( , 25, HELO  
)
>> 25 <<
From today message:
20100515-21:31:32  :INETSENDALL( , 35, EHLO 
fjsiste...@fjsistemas.com.br<
cr> )
>> 35 <<
Since EHLO command is sent only from :OpenSecure there should be some 
parameters of hb_sendmail that toggle it, different from the gmail.prg sample.


About the MT problem... when the client connects to a smtp server it must wait 
for a "220" message that signals the smtp server is ready (5xx messages 
signal server is not ready). It does it ST mode...
In MT it seems the connect - probably due to the ssl library - doesn't get the 
server reply and that only after sending the QUIT (after the timeout) it gets 
the 220...

I did some changes in sendmail.prg code about it, since it did not respect 
RFC... I did not check the ssl part since I have openssl installed... I will 
try to install today.

Francesco



  ___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] compile problem SVN version

2009-08-18 Thread Fernando Athayde
pocc.exe  -I. -Ze -Go -W1 -Ot -Tarm-coff -D_M_ARM -D_WINCE 
-I../../../../../include  -DUNICODE   -Foodbc.obj -c ../../../odbc.c 
../../../odbc.c(82): fatal error #1035: Can't find include file .
mingw32-make[3]: *** [odbc.obj] Error 1
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [hbodbc] Error 2
mingw32-make: *** [contrib] Error 2

I'm using poccarm

Thanks,
Fernando Athayde


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] error compile SVN in olecore.c

2009-08-18 Thread Fernando Athayde
ude  -DUNICODE   -Foolecore.obj -c ../../../olecore.c
../../../olecore.c(239): error #2152: Unknown field 'llVal' of 'union (no name)'
.
../../../olecore.c(247): error #2152: Unknown field 'pllVal' of 'union (no name)
'.
../../../olecore.c(247): error #2152: Unknown field 'llVal' of 'union (no name)'
.
../../../olecore.c(247): error #2168: Operands of = have incompatible types 'int
' and 'int *'.
../../../olecore.c(490): error #2152: Unknown field 'llVal' of 'union (no name)'
.
../../../olecore.c(501): error #2152: Unknown field 'pllVal' of 'union (no name)
'.
../../../olecore.c(501): error #2144: Type error: pointer expected.
../../../olecore.c(534): error #2152: Unknown field 'ullVal' of 'union (no name)
'.
../../../olecore.c(546): error #2152: Unknown field 'pullVal' of 'union (no name
)'.
../../../olecore.c(546): error #2144: Type error: pointer expected.
mingw32-make[3]: *** [olecore.obj] Error 1
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [hbwin] Error 2
mingw32-make: *** [contrib] Error 2

Thanks,
Fernando Athayde


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] error compile SVN in olecore.c now in another line

2009-08-19 Thread Fernando Athayde
E:\harbour_cvs\bin\win\pocc/harbour.exe ../../../thtml.prg -n1  -i../../../../..
/include -q0 -w3 -es2 -kmo -l  -undef:__PLATFORM__WINDOWS -D__PLATFORM__WINDOWS
-D__PLATFORM__WINCE
pocc.exe  -I. -Ze -Go -W1 -Ot -Tarm-coff -D_M_ARM -D_WINCE -I../../../../../incl
ude  -DUNICODE   -Fothtml.obj -c thtml.c
polib.exe   /out:../../../../../lib/wce/poccarm/hbtip.lib encmthd.obj utils.obj
cgi.obj client.obj credent.obj encb64.obj encoder.obj encqp.obj encurl.obj ftpcl
i.obj httpcli.obj log.obj mail.obj popcli.obj sendmail.obj sessid.obj smtpcli.ob
j thtml.obj url.obj
mingw32-make[3]: `../../../../../lib/wce/poccarm/hbtpathy.lib' is up to date.
mingw32-make[3]: `../../../../../lib/wce/poccarm/hbvpdf.lib' is up to date.
pocc.exe  -I. -Ze -Go -W1 -Ot -Tarm-coff -D_M_ARM -D_WINCE -I../../../../../incl
ude  -DUNICODE   -Foolecore.obj -c ../../../olecore.c
../../../olecore.c(516): error #2152: Unknown field 'pllVal' of 'union (no name)
'.
../../../olecore.c(516): error #2144: Type error: pointer expected.
../../../olecore.c(564): error #2152: Unknown field 'pullVal' of 'union (no name
)'.
../../../olecore.c(564): error #2144: Type error: pointer expected.
mingw32-make[3]: *** [olecore.obj] Error 1
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [hbwin] Error 2
mingw32-make: *** [contrib] Error 2

use: poccarm
os: windows7

Thanks,
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 1:01:01
Assunto: Re: [Harbour] error compile SVN in olecore.c

Hi Fernando,

Thanks for your report, but please post information like
platform, compiler type and version. Without these, it's
difficult to do any fix.

Brgds,
Viktor

On 2009.08.19., at 4:10, Fernando Athayde wrote:

> ude  -DUNICODE   -Foolecore.obj -c ../../../olecore.c
> ../../../olecore.c(239): error #2152: Unknown field 'llVal' of 'union (no 
> name)'
> .
> ../../../olecore.c(247): error #2152: Unknown field 'pllVal' of 'union (no 
> name)
> '.
> ../../../olecore.c(247): error #2152: Unknown field 'llVal' of 'union (no 
> name)'
> .
> ../../../olecore.c(247): error #2168: Operands of = have incompatible types 
> 'int
> ' and 'int *'.
> ../../../olecore.c(490): error #2152: Unknown field 'llVal' of 'union (no 
> name)'
> .
> ../../../olecore.c(501): error #2152: Unknown field 'pllVal' of 'union (no 
> name)
> '.
> ../../../olecore.c(501): error #2144: Type error: pointer expected.
> ../../../olecore.c(534): error #2152: Unknown field 'ullVal' of 'union (no 
> name)
> '.
> ../../../olecore.c(546): error #2152: Unknown field 'pullVal' of 'union (no 
> name
> )'.
> ../../../olecore.c(546): error #2144: Type error: pointer expected.
> mingw32-make[3]: *** [olecore.obj] Error 1
> mingw32-make[2]: *** [descend] Error 2
> mingw32-make[1]: *** [hbwin] Error 2
> mingw32-make: *** [contrib] Error 2
> 
> Thanks,
> Fernando Athayde
> 
> __
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/ ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
.\bin\postinst.bat
! Generating e:\harbour_vc\bin\hbmk.cfg...
! Making harbour-20.dll...
LINK : fatal error LNK1181: cannot open input file 'user32.lib'
! Making harbourmt-20.dll...
LINK : fatal error LNK1181: cannot open input file 'user32.lib'
! Making hbrun with application icon...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.

hbrun.c
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'
hbmk: Error: Running linker. 1181

link.exe /nologo /out:e:\harbour_vc\bin\hbrun.exe hbrun.obj /libpath:e:\harbour_
vc\lib\win\msvc  /subsystem:console hbcplr.lib hbpp.lib hbcommon.lib hbextern.li
b hbdebug.lib hbvm.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib gtpca.lib gtst
d.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbusrrdd.lib hbhsx.lib hbsix.lib r
ddntx.lib rddcdx.lib rddfpt.lib hbuddall.lib rddnsx.lib hbmacro.lib hbcplr.lib h
bpp.lib hbcommon.lib hbpcre.lib hbzlib.lib kernel32.lib user32.lib gdi32.lib adv
api32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib shell32.lib uuid.lib
 ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib imm32.lib msimg32.lib winin
et.lib  hbmk_oc1bwh.res

MSVC 9 "2008"
WINDOWS 7

Thanks
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
6.0A
I don´t find these libs user32 and kernel32
I found them inside BCC or inside PELLESC

Brgds,
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 12:30:28
Assunto: Re: [Harbour] problem compile SVN with MSVC

Hi Fernando,

Sorry, I cannot reproduce with same MSVC version locally.
Although I'm using SDK 6.0.

[ None of these issue are caused by any recent changes. ]

Which SDK are you using?

Brgds,
Viktor

On 2009.08.19., at 5:02, Fernando Athayde wrote:

> .\bin\postinst.bat
> ! Generating e:\harbour_vc\bin\hbmk.cfg...
> ! Making harbour-20.dll...
> LINK : fatal error LNK1181: cannot open input file 'user32.lib'
> ! Making harbourmt-20.dll...
> LINK : fatal error LNK1181: cannot open input file 'user32.lib'
> ! Making hbrun with application icon...
> Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
> hbrun.c
> LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'
> hbmk: Error: Running linker. 1181
> 
> link.exe /nologo /out:e:\harbour_vc\bin\hbrun.exe hbrun.obj 
> /libpath:e:\harbour_
> vc\lib\win\msvc  /subsystem:console hbcplr.lib hbpp.lib hbcommon.lib 
> hbextern.li
> b hbdebug.lib hbvm.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib gtpca.lib 
> gtst
> d.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbusrrdd.lib hbhsx.lib 
> hbsix.lib r
> ddntx.lib rddcdx.lib rddfpt.lib hbuddall.lib rddnsx.lib hbmacro.lib 
> hbcplr.lib h
> bpp.lib hbcommon.lib hbpcre.lib hbzlib.lib kernel32.lib user32.lib gdi32.lib 
> adv
> api32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib shell32.lib 
> uuid.lib
>  ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib imm32.lib msimg32.lib 
> winin
> et.lib  hbmk_oc1bwh.res
> 
> MSVC 9 "2008"
> WINDOWS 7
> 
> Thanks
> Fernando
> 
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - 
> Celebridades - Música -Esportes___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
yeah man, now runs perfect
i put in include C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
an in lib C:\Program Files\Microsoft SDKs\Windows\v6.0\lib

do you know how compile harbour for mscvArm?
in fact I'am to try make harbour and hwgui for Smartphone / WinCE, can you give 
me anything about this

Thanks
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 13:28:41
Assunto: Re: Res: [Harbour] problem compile SVN with MSVC

> 6.0A
> I don´t find these libs user32 and kernel32

It may be the problem. These should be in the SDK LIB dir.
Try reinstalling it.

Brgds,
Viktor

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
for winCE mingw is better?

Bregards
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 14:40:55
Assunto: Re: Res: Res: [Harbour] problem compile SVN with MSVC

> yeah man, now runs perfect
> i put in include C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> an in lib C:\Program Files\Microsoft SDKs\Windows\v6.0\lib

You may want to check in INSTALL the examples, as there is a much
simpler and sure way to configure MSVC. It's also the official way.

> do you know how compile harbour for mscvArm?
> in fact I'am to try make harbour and hwgui for Smartphone / WinCE, can you 
> give me anything about this

Sorry I can't. I've made quite a few attempts in recent years
but none were successful. As far as I could deduct the thing
is that MS doesn't provide free compiler + environment to
develop for WinCE. But it's possible I missed something, the
whole experience was very microsofty.

Brgds,
Viktor

> 
> Thanks
> Fernando
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quarta-feira, 19 de Agosto de 2009 13:28:41
> Assunto: Re: Res: [Harbour] problem compile SVN with MSVC
> 
> > 6.0A
> > I don´t find these libs user32 and kernel32
> 
> It may be the problem. These should be in the SDK LIB dir.
> Try reinstalling it.
> 
> Brgds,
> Viktor
> 
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> __
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/ ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] mingw32ce compile svn problem

2009-08-19 Thread Fernando Athayde
gcc version 4.1.0

! HB_HOST_ARCH: win  HB_SHELL: nt
! HB_ARCHITECTURE: wce
! HB_COMPILER: mingwarm
mingw32-make[2]: Nothing to be done for `all'.
mingw32-make[1]: Nothing to be done for `all'.
gcc  -I. -I../../../../../include  -Wall -W -O2 -fomit-frame-pointer -DUNICODE
 -oexpropt1.o -c ../../../expropt1.c
In file included from ../../../expropt1.c:58:
../../../../../include/hbmacro.h:56:19: error: stdio.h: No such file or 
directory
../../../../../include/hbmacro.h:57:20: error: stdlib.h: No such file or 
directory
../../../../../include/hbmacro.h:58:20: error: string.h: No such file or 
directory
../../../../../include/hbmacro.h:59:20: error: limits.h: No such file or 
directory
../../../../../include/hbmacro.h:60:18: error: time.h: No such file or directory

In file included from ../../../../../include/hbvmpub.h:56,
 from ../../../../../include/hbapi.h:61,
 from ../../../../../include/hbcompdf.h:57,
 from ../../../../../include/hbmacro.h:62,
 from ../../../expropt1.c:58:
../../../../../include/hbdefs.h:56:20: error: stdarg.h: No such file or 
directory
../../../../../include/hbdefs.h:82:23: error: stdint.h: No such file or 
directory
In file included from ../../../../../include/hbdefs.h:189,
 from ../../../../../include/hbvmpub.h:56,
 from ../../../../../include/hbapi.h:61,
 from ../../../../../include/hbcompdf.h:57,
 from ../../../../../include/hbmacro.h:62,
 from ../../../expropt1.c:58:
../../../../../include/hbwince.h:184: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
../../../../../include/hbwince.h:185: warning: type defaults to 'int' in 
declaration of 'wchar_t'
../../../../../include/hbwince.h:185: error: expected ';', ',' or ')' before 
'*' token
../../../../../include/hbwince.h:186: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
../../../../../include/hbwince.h:187: warning: type defaults to 'int' in 
declaration of 'wchar_t'
../../../../../include/hbwince.h:187: error: expected ';', ',' or ')' before 
'*' token
../../../../../include/hbwince.h:188: error: expected ')' before '*' token
../../../../../include/hbwince.h:189: error: expected ')' before '*' token
../../../../../include/hbwince.h:190: warning: type defaults to 'int' in 
declaration of 'wchar_t'
../../../../../include/hbwince.h:190: error: expected ';', ',' or ')' before 
'*' token
../../../../../include/hbdefs.h:544:1: warning: "HB_LONG_LENGTH" redefined
../../../../../include/hbdefs.h:538:1: warning: this is the location of the 
previous definition
In file included from ../../../../../include/hbvmpub.h:56,
 from ../../../../../include/hbapi.h:61,
 from ../../../../../include/hbcompdf.h:57,
 from ../../../../../include/hbmacro.h:62,
 from ../../../expropt1.c:58:
../../../../../include/hbdefs.h:575: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'HB_TYPE'
../../../../../include/hbdefs.h:888: error: expected specifier-qualifier-list 
before 'UINT16'
../../../../../include/hbdefs.h:894: error: expected specifier-qualifier-list 
before 'UINT32'
../../../../../include/hbdefs.h: In function '_hb_get_ptr':
../../../../../include/hbdefs.h:918: warning: implicit declaration of function 
'memcpy'
../../../../../include/hbdefs.h:918: warning: incompatible implicit 
declarationof built-in function 'memcpy'
../../../../../include/hbdefs.h: In function '_hb_put_ptr':
../../../../../include/hbdefs.h:926: warning: incompatible implicit declaration

Thanks
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
i don't find coredll.lib

cl.exe -nologo -DWINCE -D_WINCE -D_WINDOWS -DARM -D_ARM_ -DARMV4 -D_M_ARM -D_UNI
CODE -D_UWIN -W4 -Od -Os -Gy -GS- -EHsc- -Fe..\..\..\..\..\bin\wce\msvcarm\hbpp.
exe hbpp.obj  /nologo /link /subsystem:windowsce /nodefaultlib:oldnames.lib /nod
efaultlib:kernel32.lib /manifest:no /libpath:../../../../../lib/wce/msvcarm  hbc
ommon.lib hbnortl.lib coredll.lib ws2.lib corelibc.lib
LINK : fatal error LNK1181: cannot open input file 'coredll.lib'
mingw32-make[3]: *** [hbpp.exe] Error 2
rm hbpp.obj
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [pp] Error 2
mingw32-make: *** [source] Error 2

Brgds,
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 16:38:20
Assunto: Re: Res: Res: [Harbour] problem compile SVN with MSVC

Hi Fernando,

I managed to find (by mere accident) the key to msvcarm builds,
it's already committed. Please try it.

It surely needs some more finishing touches.

Brgds,
Viktor

On 2009.08.19., at 7:31, Fernando Athayde wrote:

> yeah man, now runs perfect
> i put in include C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> an in lib C:\Program Files\Microsoft SDKs\Windows\v6.0\lib
> 
> do you know how compile harbour for mscvArm?
> in fact I'am to try make harbour and hwgui for Smartphone / WinCE, can you 
> give me anything about this
> 
> Thanks
> Fernando
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quarta-feira, 19 de Agosto de 2009 13:28:41
> Assunto: Re: Res: [Harbour] problem compile SVN with MSVC
> 
> > 6.0A
> > I don´t find these libs user32 and kernel32
> 
> It may be the problem. These should be in the SDK LIB dir.
> Try reinstalling it.
> 
> Brgds,
> Viktor
> 
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> __
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/ ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
http://msdn.microsoft.com/en-us/library/aa933961(WinEmbedded.60).aspx
about core32dll.lib

Brgds
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 16:38:20
Assunto: Re: Res: Res: [Harbour] problem compile SVN with MSVC

Hi Fernando,

I managed to find (by mere accident) the key to msvcarm builds,
it's already committed. Please try it.

It surely needs some more finishing touches.

Brgds,
Viktor

On 2009.08.19., at 7:31, Fernando Athayde wrote:

> yeah man, now runs perfect
> i put in include C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> an in lib C:\Program Files\Microsoft SDKs\Windows\v6.0\lib
> 
> do you know how compile harbour for mscvArm?
> in fact I'am to try make harbour and hwgui for Smartphone / WinCE, can you 
> give me anything about this
> 
> Thanks
> Fernando
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quarta-feira, 19 de Agosto de 2009 13:28:41
> Assunto: Re: Res: [Harbour] problem compile SVN with MSVC
> 
> > 6.0A
> > I don´t find these libs user32 and kernel32
> 
> It may be the problem. These should be in the SDK LIB dir.
> Try reinstalling it.
> 
> Brgds,
> Viktor
> 
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> __
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/ ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
i found in 
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Lib\ARMV4I

Thanks
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 16:38:20
Assunto: Re: Res: Res: [Harbour] problem compile SVN with MSVC

Hi Fernando,

I managed to find (by mere accident) the key to msvcarm builds,
it's already committed. Please try it.

It surely needs some more finishing touches.

Brgds,
Viktor

On 2009.08.19., at 7:31, Fernando Athayde wrote:

> yeah man, now runs perfect
> i put in include C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> an in lib C:\Program Files\Microsoft SDKs\Windows\v6.0\lib
> 
> do you know how compile harbour for mscvArm?
> in fact I'am to try make harbour and hwgui for Smartphone / WinCE, can you 
> give me anything about this
> 
> Thanks
> Fernando
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quarta-feira, 19 de Agosto de 2009 13:28:41
> Assunto: Re: Res: [Harbour] problem compile SVN with MSVC
> 
> > 6.0A
> > I don´t find these libs user32 and kernel32
> 
> It may be the problem. These should be in the SDK LIB dir.
> Try reinstalling it.
> 
> Brgds,
> Viktor
> 
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> __
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/ ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] problem compile SVN with MSVC

2009-08-19 Thread Fernando Athayde
i put this C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Lib\ARMV4I
on set lib

and show this error
cl.exe -nologo -DWINCE -D_WINCE -D_WINDOWS -DARM -D_ARM_ -DARMV4 -D_M_ARM 
-D_UNICODE -D_UWIN -W4 -Od -Os -Gy -GS- 
-EHsc--Fe..\..\..\..\..\bin\wce\msvcarm\hbpp.exe hbpp.obj  /nologo /link 
/subsystem:windowsce /nodefaultlib:oldnames.lib /nodefaultlib:kernel32.lib 
/manifest:no /libpath:../../../../../lib/wce/msvcarm  hbcommon.lib hbnortl.lib 
coredll.lib ws2.lib corelibc.lib
corelibc.lib(crt0dat.obj) : fatal error LNK1112: module machine type 'ARM' 
conflicts with target machine type 'X86'
mingw32-make[3]: *** [hbpp.exe] Error 2
rm hbpp.obj
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [pp] Error 2
mingw32-make: *** [source] Error 2

thanks
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quarta-feira, 19 de Agosto de 2009 16:38:20
Assunto: Re: Res: Res: [Harbour] problem compile SVN with MSVC

Hi Fernando,

I managed to find (by mere accident) the key to msvcarm builds,
it's already committed. Please try it.

It surely needs some more finishing touches.

Brgds,
Viktor

On 2009.08.19., at 7:31, Fernando Athayde wrote:

> yeah man, now runs perfect
> i put in include C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> an in lib C:\Program Files\Microsoft SDKs\Windows\v6.0\lib
> 
> do you know how compile harbour for mscvArm?
> in fact I'am to try make harbour and hwgui for Smartphone / WinCE, can you 
> give me anything about this
> 
> Thanks
> Fernando
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quarta-feira, 19 de Agosto de 2009 13:28:41
> Assunto: Re: Res: [Harbour] problem compile SVN with MSVC
> 
> > 6.0A
> > I don´t find these libs user32 and kernel32
> 
> It may be the problem. These should be in the SDK LIB dir.
> Try reinstalling it.
> 
> Brgds,
> Viktor
> 
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> __
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/ ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] bug: msvcarm (MSVC 2008) build error

2009-08-20 Thread Fernando Athayde
cl.exe -nologo -D_WIN32_WCE=0x501 -DCE_ARCH -DWINCE -D_WINCE -D_WINDOWS -DARM -D
_ARM_ -DARMV4 -D_M_ARM -D_ARMV4I_ -Darmv4i -D__arm__ -D_UNICODE -D_UWIN -DUNDER_
CE -W4 -Od -Os -Gy -GS- -EHsc- -Fe..\..\..\..\..\bin\wce\msvcarm\hbpp.exe hbpp.o
bj  /nologo /link /subsystem:windowsce /nodefaultlib:oldnames.lib /nodefaultlib:
kernel32.lib /manifest:no /libpath:../../../../../lib/wce/msvcarm  hbcommon.lib
hbnortl.lib coredll.lib ws2.lib corelibc.lib
corelibc.lib(crt0dat.obj) : fatal error LNK1112: module machine type 'ARM' confl
icts with target machine type 'X86'
mingw32-make[3]: *** [hbpp.exe] Error 2
rm hbpp.obj
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [pp] Error 2
mingw32-make: *** [source] Error 2

for before message
process.h there is in E:\Microsoft Visual Studio 9.0\VC\include
se your SET include

Thanks
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 20 de Agosto de 2009 5:00:25
Assunto: [Harbour] bug: msvcarm (MSVC 2008) build error

../../../../../include\hbthread.h(70) : fatal error C1083: Cannot open
include file: 'process.h': No such file or directory

Brgds,
Viktor
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: [Harbour] bug: msvcarm (MSVC 2008) build error

2009-08-20 Thread Fernando Athayde
 INSTALL example and retry.

Brgdd,
Viktor

On 2009.08.20., at 1:01, Fernando Athayde wrote:

> cl.exe -nologo -D_WIN32_WCE=0x501 -DCE_ARCH -DWINCE -D_WINCE -D_WINDOWS -DARM 
> -D
> _ARM_ -DARMV4 -D_M_ARM -D_ARMV4I_ -Darmv4i -D__arm__ -D_UNICODE -D_UWIN 
> -DUNDER_
> CE -W4 -Od -Os -Gy -GS- -EHsc- -Fe..\..\..\..\..\bin\wce\msvcarm\hbpp.exe 
> hbpp.o
> bj  /nologo /link /subsystem:windowsce /nodefaultlib:oldnames.lib 
> /nodefaultlib:
> kernel32.lib /manifest:no /libpath:../../../../../lib/wce/msvcarm  
> hbcommon.lib
> hbnortl.lib coredll.lib ws2.lib corelibc.lib
> corelibc.lib(crt0dat.obj) : fatal error LNK1112: module machine type 'ARM' 
> confl
> icts with target machine type 'X86'
> mingw32-make[3]: *** [hbpp.exe] Error 2
> rm hbpp.obj
> mingw32-make[2]: *** [descend] Error 2
> mingw32-make[1]: *** [pp] Error 2
> mingw32-make: *** [source] Error 2
> 
> for before message
> process.h there is in E:\Microsoft Visual Studio 9.0\VC\include
> se your SET include
> 
> Thanks
> Fernando
> 
> De: Viktor Szakáts 
> Para: Harbour Project Main Developer List. 
> Enviadas: Quinta-feira, 20 de Agosto de 2009 5:00:25
> Assunto: [Harbour] bug: msvcarm (MSVC 2008) build error
> 
> ../../../../../include\hbthread.h(70) : fatal error C1083: Cannot open
> include file: 'process.h': No such file or directory
> 
> Brgds,
> Viktor
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - 
> Celebridades - Música -Esportes___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: Res: Res: [Harbour] bug: msvcarm (MSVC 2008) build error

2009-08-20 Thread Fernando Athayde
i redo my bat, now happens this error 

my bat:
set INCLUDE=E:\Microsoft Visual Studio 9.0\VC\ce\include;%ProgramFiles%\Windows 
Mobile 5.0 SDK R2\PocketPC\Include\Armv4i
set LIB=E:\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;%ProgramFiles%\Windows 
Mobile 5.0 SDK R2\PocketPC\Lib\Armv4i
set PATH=E:\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;E:\Microsoft Visual 
Studio 9.0\Common7\IDE;%PATH%


set MSCV=e:\Microsoft Visual Studio 9.0\VC
set HB_BIN_COMPILE=E:\harbour_cvs\bin\win\msvc
set HB_BUILD_DLL=yes
SET HB_ARCHITECTURE = wce
set HB_COMPILER=msvcarm
set HB_INSTALL_PREFIX=e:\harbour_vcce

SET HB_INC_MYSQL=C:\mysql\include

SET HB_PATH=e:\harbour_vcce

error:

cl.exe -nologo -D_WIN32_WCE=0x501 -DCE_ARCH -DWINCE -D_WINCE -D_WINDOWS -DARM -D
_ARM_ -DARMV4 -D_M_ARM -D_ARMV4I_ -Darmv4i -D__arm__ -D_UNICODE -D_UWIN -DUNDER_
CE -W4 -Od -Os -Gy -GS- -EHsc- -Fe..\..\..\..\..\bin\wce\msvcarm\hbpp.exe hbpp.o
bj  /nologo /link /subsystem:windowsce /nodefaultlib:oldnames.lib /nodefaultlib:
kernel32.lib /manifest:no /libpath:../../../../../lib/wce/msvcarm  hbcommon.lib
hbnortl.lib coredll.lib ws2.lib corelibc.lib
hbpp.obj : error LNK2019: unresolved external symbol hb_xgrab referenced in func
tion hb_pp_initRules
hbpp.obj : error LNK2019: unresolved external symbol hb_xfree referenced in func
tion hb_pp_ruleFree
hbpp.obj : error LNK2019: unresolved external symbol hb_snprintf referenced in f
unction hb_pp_error
hbpp.obj : error LNK2019: unresolved external symbol hb_xrealloc referenced in f
unction hb_membufAddCh
hbpp.obj : error LNK2019: unresolved external symbol hb_strnicmp referenced in f
unction hb_pp_getLine
hbpp.obj : error LNK2019: unresolved external symbol hb_strRemEscSeq referenced
in function hb_pp_getLine
hbpp.obj : error LNK2019: unresolved external symbol hb_szAscii referenced in fu
nction hb_pp_tokenSetValue
hbpp.obj : error LNK2019: unresolved external symbol hb_stricmp referenced in fu
nction hb_pp_tokenValueCmp
hbpp.obj : error LNK2019: unresolved external symbol hb_strdup referenced in fun
ction hb_pp_FileNew
hbpp.obj : error LNK2019: unresolved external symbol hb_fsMaxFilesError referenc
ed in function hb_pp_FileNew
hbpp.obj : error LNK2019: unresolved external symbol hb_fopen referenced in func
tion hb_pp_FileNew
hbpp.obj : error LNK2019: unresolved external symbol hb_fsFNameMerge referenced
in function hb_pp_FileNew
hbpp.obj : error LNK2019: unresolved external symbol hb_fsFNameSplit referenced
in function hb_pp_FileNew
hbpp.obj : error LNK2019: unresolved external symbol hb_strndup referenced in fu
nction hb_pp_pragmaOperatorNew
hbpp.obj : error LNK2019: unresolved external symbol hb_strValInt referenced in
function hb_pp_calcValue
hbpp.obj : error LNK2019: unresolved external symbol hb_fsFreeSearchPath referen
ced in function hb_pp_stateFree
hbpp.obj : error LNK2019: unresolved external symbol hb_fsAddSearchPath referenc
ed in function hb_pp_addSearchPath
hbpp.obj : error LNK2019: unresolved external symbol hb_timeStampStr referenced
in function hb_pp_initDynDefines
hbpp.obj : error LNK2019: unresolved external symbol hb_timeStampGet referenced
in function hb_pp_initDynDefines
hbpp.obj : error LNK2019: unresolved external symbol hb_dateTimeStr referenced i
n function hb_pp_initDynDefines
hbpp.obj : error LNK2019: unresolved external symbol hb_dateStrPut referenced in
 function hb_pp_initDynDefines
hbpp.obj : error LNK2019: unresolved external symbol hb_dateToday referenced in
function hb_pp_initDynDefines
hbpp.obj : error LNK2019: unresolved external symbol hb_strncpy referenced in fu
nction hb_pp_initDynDefines
hbpp.obj : error LNK2019: unresolved external symbol hb_verPlatform referenced i
n function hb_pp_initDynDefines
hbpp.obj : error LNK2019: unresolved external symbol hb_strupr referenced in fun
ction hb_pp_tokenUpper
hbpp.obj : error LNK2019: unresolved external symbol hb_getenv referenced in fun
ction main
hbpp.obj : error LNK2019: unresolved external symbol hb_fsFileExists referenced
in function hb_pp_parseChangelog
hbpp.obj : error LNK2019: unresolved external symbol hb_fsFindClose referenced i
n function hb_fsFileFind
hbpp.obj : error LNK2019: unresolved external symbol hb_fsFindFirst referenced i
n function hb_fsFileFind
hbpp.obj : error LNK2019: unresolved external symbol hb_fsNameConv referenced in
 function hb_fsFileFind
hbpp.obj : error LNK2019: unresolved external symbol hb_wctomb referenced in fun
ction WinMain
..\..\..\..\..\bin\wce\msvcarm\hbpp.exe : fatal error LNK1120: 31 unresolved ext
ernals
mingw32-make[3]: *** [hbpp.exe] Error 2
rm hbpp.obj
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [pp] Error 2
mingw32-make: *** [source] Error 2

Bregards,
Fernando






De: Fernando Athayde 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 20 de Agosto de 2009 8:24:22
Assunto: Res: Res: [Harbour] bug: msvcarm (MSVC 2008) build error


i redo my bat, now happens this error 

my bat:
set INCLUDE=E:\Microsoft

[Harbour] bug: msvcarm (MSVC 2008) build error

2009-08-21 Thread Fernando Athayde
yes almost right gywvc problem

! MAKE: E:/harbour_cvs/config/mingw32-make 3.81   sh.exe
! HB_INSTALL_PREFIX: e:\harbour_vcce
! HB_BUILD_DLL: yes
! HB_HOST_ARCH: win  HB_SHELL: nt (xp)
! HB_ARCHITECTURE: wce (autodetected)
! HB_COMPILER: msvcarm
cl.exe 
-I. -I../../../../../../include -nologo -D_WIN32_WCE=0x501 -DCE_ARCH
-DWINCE -D_WINCE -D_WINDOWS -DARM -D_ARM_ -DARMV4 -D_M_ARM -D_ARMV4I_
-Darmv4i -D__arm__ -D_UNICODE -D_UWIN -DUNDER_CE -W4 -Od -Os -Gy -GS-
-EHsc- -DUNICODE   -Fogtwvt.obj -c ../../../gtwvt.c
gtwvt.c
C:\Program Files\Windows Mobile 5.0 SDK 
R2\PocketPC\Include\Armv4i\winnt.h(384): warning C4201: nonstandard extension 
used : nameless struct/union
C:\Program
Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(403):
warning C4201: nonstandard extension used : nameless struct/union
C:\Program
Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(1478) :
warning C4214: nonstandard extension used : bit field types other than
int
C:\Program Files\Windows Mobile 5.0 SDK
R2\PocketPC\Include\Armv4i\winnt.h(1479) : warning C4214: nonstandard
extension used : bit field types other than int
C:\Program
Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(1480) :
warning C4214: nonstandard extension used : bit field types other than
int
C:\Program Files\Windows Mobile 5.0 SDK
R2\PocketPC\Include\Armv4i\winnt.h(1481) : warning C4214: nonstandard
extension used : bit field types other than int
C:\Program
Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(1482) :
warning C4214: nonstandard extension used : bit field types other than
int
C:\Program Files\Windows Mobile 5.0 SDK
R2\PocketPC\Include\Armv4i\winnt.h(1483) : warning C4214: nonstandard
extension used : bit field types other than int
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(1484)
 : warning C4214: nonstandard extension used : bit field types other than int
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(1485)
 : warning C4214: nonstandard extension used : bit field types other than int
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(1486)
 : warning C4214: nonstandard extension used : bit field types other than int
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(1487)
 : warning C4214: nonstandard extension used : bit field types other than int
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(4191)
 : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(4474)
 : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(4478)
 : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winnt.h(4689)
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\oaidl.h(6771)
 : warning C4201: nonstandard extension used : nameless struct/union
../../../gtwvt.c(739) : error C2065: 'WS_OVERLAPPEDWINDOW' : undeclared identifi
er
../../../gtwvt.c(1696) : error C2065: 'WS_OVERLAPPEDWINDOW' : undeclared identif
ier
../../../gtwvt.c(1818) : error C2065: 'WS_OVERLAPPEDWINDOW' : undeclared identif
ier
../../../gtwvt.c(1818) : error C2065: 'WS_OVERLAPPEDWINDOW' : undeclared identif
ier
../../../gtwvt.c(2539) : error C2065: 'WS_OVERLAPPEDWINDOW' : undeclared identif
ier
../../../gtwvt.c(2539) : error C2065: 'WS_OVERLAPPEDWINDOW' : undeclared identif
ier
../../../gtwvt.c(2761) : warning C4127: conditional expression is constant
../../../gtwvt.c(2766) : warning C4127: conditional expression is constant
../../../gtwvt.c(2771) : warning C4127: conditional expression is constant
../../../gtwvt.c(2776) : warning C4127: conditional expression is constant
../../../gtwvt.c(2789) : warning C4127: conditional expression is constant
../../../gtwvt.c(2793) : warning C4127: conditional expression is constant
../../../gtwvt.c(2798) : warning C4127: conditional expression is constant
../../../gtwvt.c(2802) : warning C4127: conditional expression is constant
../../../gtwvt.c(2807) : warning C4127: conditional expression is constant
../../../gtwvt.c(2811) : warning C4127: conditional expression is constant
../../../gtwvt.c(2816) : warning C4127: conditional expression is constant
../../../gtwvt.c(2820) : warning C4127: conditional expression is constant
../../../gtwvt.c(2825) : warning C4127: conditional expression is constant
../../../gtwvt.c(2829) : warning C4127: conditional expression is constant
../../../gtwvt.c(2834) : warning C4127: conditional expression is constant
../../../gtwvt.c(2838) : warning C4127: conditional expression is constant
../../../gtwvt.c(2843) : warning C4127: conditional expression is constant
../../../gtwvt.c(2847) : warning C4127: conditional expression is constant
mingw32-make[4]: *** [gtwvt.obj] Error 2
mingw32-make[3]

[Harbour] msvc winCE and fcntl.h

2009-08-21 Thread Fernando Athayde
there isn't fcntl.h for winCe and msvc

e:\harbour_cvs\source\vm\dlmalloc.c(1188) : fatal error C1083: Cannot open 
include file: 'fcntl.h': No such file or directory
mingw32-make[3]: *** [hvmall.obj] Error 2
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [vm] Error 2
mingw32-make: *** [source] Error 2

using msvc 2008
wce

Brgds,
Fernando


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] msvc winCE and fcntl.h

2009-08-21 Thread Fernando Athayde
i change the dlmalloc.c
#if !defined( HB_OS_WIN_CE )
#include 
#endif /* !defined( HB_OS_WIN_CE ) */

then appears this error now in maindllh.c
../../../../maindllh.c(70) : error C2375: 'DllMain' : redefinition; different li
nkage
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winba
se.h(313) : see declaration of 'DllMain'
mingw32-make[4]: *** [maindllh.obj] Error 2
mingw32-make[3]: *** [descend] Error 2
mingw32-make[2]: *** [maindllh] Error 2
mingw32-make[1]: *** [vm] Error 2
mingw32-make: *** [source] Error 2

Thanks
Fernando




____
De: Fernando Athayde 
Para: harbour@harbour-project.org
Enviadas: Sexta-feira, 21 de Agosto de 2009 9:18:32
Assunto: [Harbour] msvc winCE and fcntl.h


there isn't fcntl.h for winCe and msvc

e:\harbour_cvs\source\vm\dlmalloc.c(1188) : fatal error C1083: Cannot open 
include file: 'fcntl.h': No such file or directory
mingw32-make[3]: *** [hvmall.obj] Error 2
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [vm] Error 2
mingw32-make: *** [source] Error 2

using msvc 2008
wce

Brgds,
Fernando

__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 

__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] msvc winCE and fcntl.h

2009-08-21 Thread Fernando Athayde
have this
/* Derived from process.h file from Windows NT */
BOOL
WINAPI
DllMain (
HANDLE hinstDLL,
DWORD dwReason,
LPVOID lpvReserved
);

#ifdef UNDER_CE
#define GetProcAddress GetProcAddressW

Thanks
Fernando





De: Przemyslaw Czerpak 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 21 de Agosto de 2009 11:34:06
Assunto: Re: [Harbour] msvc winCE and fcntl.h

On Fri, 21 Aug 2009, Szak�ts Viktor wrote:

Hi,

> I'm historically lost with the other kind of issue, I'd leave it for Przemek.
> > then appears this error now in maindllh.c
> > ../../../../maindllh.c(70) : error C2375: 'DllMain' : redefinition;
> > different li
> > nkage
> > C:\Program Files\Windows Mobile 5.0 SDK
> > R2\PocketPC\Include\Armv4i\winba
> > se.h(313) : see declaration of 'DllMain'

I'm not a wizard to guess what MSVC has in it's header files ;-)
so please be so kind and look it and uppdate HB_DLL_ENTRY_POINT
declaration. Probably it's the same as for POCC.

best regards,
Przemek
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] SF.net SVN: harbour-project:[12237] trunk/harbour

2009-08-21 Thread Fernando Athayde
but still with the same error
i made "clean" and try a new compilation, but without success

../../../../maindllh.c(70) : error C2375: 'DllMain' : redefinition; different li
nkage
C:\Program Files\Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\winba
se.h(313) : see declaration of 'DllMain'
mingw32-make[4]: *** [maindllh.obj] Error 2
mingw32-make[3]: *** [descend] Error 2
mingw32-make[2]: *** [maindllh] Error 2
mingw32-make[1]: *** [vm] Error 2
mingw32-make: *** [source] Error 2

Brgds,
Fernando





De: "vszak...@users.sourceforge.net" 
Para: harbour@harbour-project.org
Enviadas: Sexta-feira, 21 de Agosto de 2009 11:41:59
Assunto: [Harbour] SF.net SVN: harbour-project:[12237] trunk/harbour

Revision: 12237
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12237&view=rev
Author:   vszakats
Date: 2009-08-21 14:41:58 + (Fri, 21 Aug 2009)

Log Message:
---
2009-08-21 16:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
  * source/vm/maindllh.c
  * source/vm/maindllp.c
! Fixed DllMain() declaration for msvcarm targets.
  Thanks Przemek for the hint.

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/source/vm/maindllh.c
trunk/harbour/source/vm/maindllp.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] hbmk MSVC _hbmkaut.obj

2009-08-21 Thread Fernando Athayde
using MSVC 2008, WIN, Harbour sincronized with SVN

link.exe /nologo /out:fjfrigo.exe .hbmk\win\msvc\busca.obj 
.hbmk\win\msvc\database.obj .hbmk\win\msvc\login.obj .hbmk\win\msvc\menu0.obj 
.hbmk\win\msvc\menu11.obj .hbmk\win\msvc\menu12.obj .hbmk\win\msvc\menu13.obj 
.hbmk\win\msvc\menu14.obj .hbmk\win\msvc\menu15.obj .hbmk\win\msvc\menu16.obj 
.hbmk\win\msvc\menu171.obj .hbmk\win\msvc\menu172.obj 
.hbmk\win\msvc\menu173.obj .hbmk\win\msvc\menu174.obj 
.hbmk\win\msvc\menu175.obj .hbmk\win\msvc\menu176.obj 
.hbmk\win\msvc\menu177.obj .hbmk\win\msvc\menu178.obj 
.hbmk\win\msvc\menu181.obj .hbmk\win\msvc\menu182.obj 
.hbmk\win\msvc\menu183.obj .hbmk\win\msvc\menu185.obj 
.hbmk\win\msvc\menu187.obj .hbmk\win\msvc\menu188.obj 
.hbmk\win\msvc\menu189.obj .hbmk\win\msvc\menu18a.obj 
.hbmk\win\msvc\menu191.obj .hbmk\win\msvc\menu192.obj 
.hbmk\win\msvc\menu193.obj .hbmk\win\msvc\menu194.obj .hbmk\win\msvc\menu21.obj 
.hbmk\win\msvc\menu221.obj .hbmk\win\msvc\menu222.obj 
.hbmk\win\msvc\menu223.obj .hbmk\win\msvc\menu224.obj
 .hbmk\win\msvc\menu225.obj .hbmk\win\msvc\menu226.obj 
.hbmk\win\msvc\menu2312.obj .hbmk\win\msvc\menu2322.obj 
.hbmk\win\msvc\menu2332.obj .hbmk\win\msvc\menu2333.obj 
.hbmk\win\msvc\menu241.obj .hbmk\win\msvc\menu242.obj 
.hbmk\win\msvc\menu243.obj .hbmk\win\msvc\menu244.obj 
.hbmk\win\msvc\menu311.obj .hbmk\win\msvc\menu312.obj 
.hbmk\win\msvc\menu313.obj .hbmk\win\msvc\menu314.obj 
.hbmk\win\msvc\menu315.obj .hbmk\win\msvc\menu3171.obj 
.hbmk\win\msvc\menu3172.obj .hbmk\win\msvc\menu3174.obj 
.hbmk\win\msvc\menu3181.obj .hbmk\win\msvc\menu3182.obj 
.hbmk\win\msvc\menu3183.obj .hbmk\win\msvc\menu3185.obj 
.hbmk\win\msvc\menu3193.obj.hbmk\win\msvc\menu3197.obj 
.hbmk\win\msvc\menu3198.obj .hbmk\win\msvc\menu3211.obj 
.hbmk\win\msvc\menu3213.obj .hbmk\win\msvc\menu3214.obj 
.hbmk\win\msvc\menu3215.obj .hbmk\win\msvc\menu3221.obj 
.hbmk\win\msvc\menu3222.obj .hbmk\win\msvc\menu3311.obj 
.hbmk\win\msvc\menu3321.obj .hbmk\win\msvc\menu3332.obj 
.hbmk\win\msvc\menu41.obj
 .hbmk\win\msvc\menu421.obj .hbmk\win\msvc\menu422.obj 
.hbmk\win\msvc\menu423.obj .hbmk\win\msvc\menu424.obj 
.hbmk\win\msvc\menu442.obj .hbmk\win\msvc\menu443.obj 
.hbmk\win\msvc\menu444.obj .hbmk\win\msvc\menucadpadrao.obj 
.hbmk\win\msvc\menu_f.obj .hbmk\win\msvc\parametros.obj 
.hbmk\win\msvc\printdos.obj.hbmk\win\msvc\rede.obj .hbmk\win\msvc\tfirebrd.obj 
.hbmk\win\msvc\translator.obj .hbmk\win\msvc\_hbmkaut.obj 
/libpath:e:\harbour_vc\lib\win\msvc /libpath:e:\harbour_vc\lib /libpath:lib 
/libpath:\hwguihb\lib  /subsystem:windows hwguimt.lib procmisc.lib hbmzip.lib 
hbziparc.lib hbct.lib hbtip.lib hbwin.lib xhb.lib hbhpdf.lib libpng.lib 
hbmysql.lib libmysql.lib hbvpdf.lib hbcrypt.lib hbfbird.lib fbclient.lib 
hbextern.lib hbdebug.lib hbvmmt.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib 
gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbusrrdd.lib 
hbhsx.lib hbsix.lib rddntx.lib rddcdx.lib rddfpt.lib hbuddall.lib rddnsx.lib 
hbmacro.lib hbcplr.lib
 hbpp.lib hbcommon.lib hbpcre.lib hbzlib.lib kernel32.lib user32.lib gdi32.lib 
advapi32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib shell32.lib 
uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib imm32.lib 
msimg32.lib wininet.lib  .hbmk\win\msvc\fjfrigo.res
LINK : fatal error LNK1181: cannot open input file '.hbmk\win\msvc\_hbmkaut.obj'

hbmk: Erro: Executando linkeditor. 1181


Brgrds,
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] harbour mysql MSVC LNK2019

2009-08-21 Thread Fernando Athayde
i think this is the last error, because all look like ok

link.exe /nologo /out:fjfrigo.exe .hbmk\win\msvc\busca.obj .hbmk\win\msvc\databa
se.obj .hbmk\win\msvc\login.obj .hbmk\win\msvc\menu0.obj .hbmk\win\msvc\menu11.o
bj .hbmk\win\msvc\menu12.obj .hbmk\win\msvc\menu13.obj .hbmk\win\msvc\menu14.obj
 .hbmk\win\msvc\menu15.obj .hbmk\win\msvc\menu16.obj .hbmk\win\msvc\menu171.obj
.hbmk\win\msvc\menu172.obj .hbmk\win\msvc\menu173.obj .hbmk\win\msvc\menu174.obj
 .hbmk\win\msvc\menu175.obj .hbmk\win\msvc\menu176.obj .hbmk\win\msvc\menu177.ob
j .hbmk\win\msvc\menu178.obj .hbmk\win\msvc\menu181.obj .hbmk\win\msvc\menu182.o
bj .hbmk\win\msvc\menu183.obj .hbmk\win\msvc\menu185.obj .hbmk\win\msvc\menu187.
obj .hbmk\win\msvc\menu188.obj .hbmk\win\msvc\menu189.obj .hbmk\win\msvc\menu18a
.obj .hbmk\win\msvc\menu191.obj .hbmk\win\msvc\menu192.obj .hbmk\win\msvc\menu19
3.obj .hbmk\win\msvc\menu194.obj .hbmk\win\msvc\menu21.obj .hbmk\win\msvc\menu22
1.obj .hbmk\win\msvc\menu222.obj .hbmk\win\msvc\menu223.obj .hbmk\win\msvc\menu2
24.obj .hbmk\win\msvc\menu225.obj .hbmk\win\msvc\menu226.obj .hbmk\win\msvc\menu
2312.obj .hbmk\win\msvc\menu2322.obj .hbmk\win\msvc\menu2332.obj .hbmk\win\msvc\
menu2333.obj .hbmk\win\msvc\menu241.obj .hbmk\win\msvc\menu242.obj .hbmk\win\msv
c\menu243.obj .hbmk\win\msvc\menu244.obj .hbmk\win\msvc\menu311.obj .hbmk\win\ms
vc\menu312.obj .hbmk\win\msvc\menu313.obj .hbmk\win\msvc\menu314.obj .hbmk\win\m
svc\menu315.obj .hbmk\win\msvc\menu3171.obj .hbmk\win\msvc\menu3172.obj .hbmk\wi
n\msvc\menu3174.obj .hbmk\win\msvc\menu3181.obj .hbmk\win\msvc\menu3182.obj .hbm
k\win\msvc\menu3183.obj .hbmk\win\msvc\menu3185.obj .hbmk\win\msvc\menu3193.obj
.hbmk\win\msvc\menu3197.obj .hbmk\win\msvc\menu3198.obj .hbmk\win\msvc\menu3211.
obj .hbmk\win\msvc\menu3213.obj .hbmk\win\msvc\menu3214.obj .hbmk\win\msvc\menu3
215.obj .hbmk\win\msvc\menu3221.obj .hbmk\win\msvc\menu3222.obj .hbmk\win\msvc\m
enu3311.obj .hbmk\win\msvc\menu3321.obj .hbmk\win\msvc\menu3332.obj .hbmk\win\ms
vc\menu41.obj .hbmk\win\msvc\menu421.obj .hbmk\win\msvc\menu422.obj .hbmk\win\ms
vc\menu423.obj .hbmk\win\msvc\menu424.obj .hbmk\win\msvc\menu442.obj .hbmk\win\m
svc\menu443.obj .hbmk\win\msvc\menu444.obj .hbmk\win\msvc\menucadpadrao.obj .hbm
k\win\msvc\menu_f.obj .hbmk\win\msvc\parametros.obj .hbmk\win\msvc\printdos.obj
.hbmk\win\msvc\rede.obj .hbmk\win\msvc\translator.obj .hbmk\win\msvc\_hbmkaut.ob
j /libpath:e:\harbour_vc\lib\win\msvc /libpath:e:\harbour_vc\lib /libpath:lib /l
ibpath:\hwguivc\lib  /subsystem:windows hwgui.lib procmisc.lib hbmzip.lib hbzipa
rc.lib hbct.lib hbtip.lib hbwin.lib xhb.lib hbhpdf.lib libpng.lib hbmysql.lib li
bmysql.lib hbvpdf.lib hbextern.lib hbdebug.lib hbvm.lib hbrtl.lib hblang.lib hbc
page.lib gtcgi.lib gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib h
busrrdd.lib hbhsx.lib hbsix.lib rddntx.lib rddcdx.lib rddfpt.lib hbuddall.lib rd
dnsx.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib hbpcre.lib hbzlib.lib kern
el32.lib user32.lib gdi32.lib advapi32.lib ws2_32.lib winspool.lib comctl32.lib
comdlg32.lib shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi3
2.lib imm32.lib msimg32.lib wininet.lib  .hbmk\win\msvc\fjfrigo.res
hwgui.lib(shellapi.obj) : error LNK2005: _HB_FUN_SHELLEXECUTE already defined in
 menu2312.obj
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_get_se
rver_vers...@4 referenced in function _HB_FUN_MYSQL_GET_SERVER_VERSION
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_close@
4 referenced in function _HB_FUN_MYSQL_REAL_CONNECT
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_real_c
onn...@32 referenced in function _HB_FUN_MYSQL_REAL_CONNECT
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_i...@4
 referenced in function _HB_FUN_MYSQL_REAL_CONNECT
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_commit
@4 referenced in function _HB_FUN_MYSQL_COMMIT
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_rollba
c...@4 referenced in function _HB_FUN_MYSQL_ROLLBACK
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_select
_...@8 referenced in function _HB_FUN_MYSQL_SELECT_DB
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_query@
8 referenced in function _HB_FUN_MYSQL_QUERY
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_store_
res...@4 referenced in function _HB_FUN_MYSQL_STORE_RESULT
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_use_re
s...@4 referenced in function _HB_FUN_MYSQL_USE_RESULT
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_free_r
es...@4 referenced in function _HB_FUN_MYSQL_FREE_RESULT
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mysql_fetch_
leng...@4 referenced in function _HB_FUN_MYSQL_FETCH_ROW
hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol _mys

Res: [Harbour] harbour mysql MSVC LNK2019

2009-08-22 Thread Fernando Athayde
my hbc is all right it function under bcc55
{win}incpaths=include
{win}libpaths=lib \hwguivc\lib

{win}gt=gtgui
{win}libs=hwgui procmisc hbmzip hbziparc hbct hbtip hbwin xhb hbhpdf hbhpdf 
libpng hbmysql libmysql hbvpdf   
{linux}libs=hwgui procmisc hbmzip hbziparc hbtip hbhpdf libhpdf libpng

the libmysql I do this for import DLL to MSVC
\bcc55\bin\impdef.exe libmysql.def libmysql.dll
lib /def:libmysql.def

Best regards,
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sexta-feira, 21 de Agosto de 2009 22:29:08
Assunto: Re: [Harbour] harbour mysql MSVC LNK2019

These are linker errors (both missing and doubly defined),
you should resolve them.

I suggest using hbmysql.hbc or something equivalent, in
order to pull the dependencies too.

Brgds,
Viktor

On 2009.08.22., at 3:16, Fernando Athayde wrote:

> i think this is the last error, because all look like ok
> 
> link.exe /nologo /out:fjfrigo.exe .hbmk\win\msvc\busca.obj 
> .hbmk\win\msvc\databa
> se.obj .hbmk\win\msvc\login.obj .hbmk\win\msvc\menu0.obj 
> .hbmk\win\msvc\menu11.o
> bj .hbmk\win\msvc\menu12.obj .hbmk\win\msvc\menu13.obj 
> .hbmk\win\msvc\menu14.obj
>  .hbmk\win\msvc\menu15.obj .hbmk\win\msvc\menu16.obj 
> .hbmk\win\msvc\menu171.obj
> .hbmk\win\msvc\menu172.obj .hbmk\win\msvc\menu173.obj 
> .hbmk\win\msvc\menu174.obj
>  .hbmk\win\msvc\menu175.obj .hbmk\win\msvc\menu176.obj 
> .hbmk\win\msvc\menu177.ob
> j .hbmk\win\msvc\menu178.obj .hbmk\win\msvc\menu181.obj 
> .hbmk\win\msvc\menu182.o
> bj .hbmk\win\msvc\menu183.obj .hbmk\win\msvc\menu185.obj 
> .hbmk\win\msvc\menu187.
> obj .hbmk\win\msvc\menu188.obj .hbmk\win\msvc\menu189.obj 
> .hbmk\win\msvc\menu18a
> .obj .hbmk\win\msvc\menu191.obj .hbmk\win\msvc\menu192.obj 
> .hbmk\win\msvc\menu19
> 3.obj .hbmk\win\msvc\menu194.obj .hbmk\win\msvc\menu21.obj 
> .hbmk\win\msvc\menu22
> 1.obj .hbmk\win\msvc\menu222.obj .hbmk\win\msvc\menu223.obj 
> .hbmk\win\msvc\menu2
> 24.obj .hbmk\win\msvc\menu225.obj .hbmk\win\msvc\menu226.obj 
> .hbmk\win\msvc\menu
> 2312.obj .hbmk\win\msvc\menu2322.obj .hbmk\win\msvc\menu2332.obj 
> .hbmk\win\msvc\
> menu2333.obj .hbmk\win\msvc\menu241.obj .hbmk\win\msvc\menu242.obj 
> .hbmk\win\msv
> c\menu243.obj .hbmk\win\msvc\menu244.obj .hbmk\win\msvc\menu311.obj 
> .hbmk\win\ms
> vc\menu312.obj .hbmk\win\msvc\menu313.obj .hbmk\win\msvc\menu314.obj 
> .hbmk\win\m
> svc\menu315.obj .hbmk\win\msvc\menu3171.obj .hbmk\win\msvc\menu3172.obj 
> .hbmk\wi
> n\msvc\menu3174.obj .hbmk\win\msvc\menu3181.obj .hbmk\win\msvc\menu3182.obj 
> .hbm
> k\win\msvc\menu3183.obj .hbmk\win\msvc\menu3185.obj 
> .hbmk\win\msvc\menu3193.obj
> .hbmk\win\msvc\menu3197.obj .hbmk\win\msvc\menu3198.obj 
> .hbmk\win\msvc\menu3211.
> obj .hbmk\win\msvc\menu3213.obj .hbmk\win\msvc\menu3214.obj 
> .hbmk\win\msvc\menu3
> 215.obj .hbmk\win\msvc\menu3221.obj .hbmk\win\msvc\menu3222.obj 
> .hbmk\win\msvc\m
> enu3311.obj .hbmk\win\msvc\menu3321.obj .hbmk\win\msvc\menu3332.obj 
> .hbmk\win\ms
> vc\menu41.obj .hbmk\win\msvc\menu421.obj .hbmk\win\msvc\menu422.obj 
> .hbmk\win\ms
> vc\menu423.obj .hbmk\win\msvc\menu424.obj .hbmk\win\msvc\menu442.obj 
> .hbmk\win\m
> svc\menu443.obj .hbmk\win\msvc\menu444.obj .hbmk\win\msvc\menucadpadrao.obj 
> .hbm
> k\win\msvc\menu_f.obj .hbmk\win\msvc\parametros.obj 
> .hbmk\win\msvc\printdos.obj
> .hbmk\win\msvc\rede.obj .hbmk\win\msvc\translator.obj 
> .hbmk\win\msvc\_hbmkaut.ob
> j /libpath:e:\harbour_vc\lib\win\msvc /libpath:e:\harbour_vc\lib /libpath:lib 
> /l
> ibpath:\hwguivc\lib  /subsystem:windows hwgui.lib procmisc.lib hbmzip.lib 
> hbzipa
> rc.lib hbct.lib hbtip.lib hbwin.lib xhb.lib hbhpdf.lib libpng.lib hbmysql.lib 
> li
> bmysql.lib hbvpdf.lib hbextern.lib hbdebug.lib hbvm.lib hbrtl.lib hblang.lib 
> hbc
> page.lib gtcgi.lib gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib 
> hbrdd.lib h
> busrrdd.lib hbhsx.lib hbsix.lib rddntx.lib rddcdx.lib rddfpt.lib hbuddall.lib 
> rd
> dnsx.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib hbpcre.lib hbzlib.lib 
> kern
> el32.lib user32.lib gdi32.lib advapi32.lib ws2_32.lib winspool.lib 
> comctl32.lib
> comdlg32.lib shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib 
> mapi3
> 2.lib imm32.lib msimg32.lib wininet.lib  .hbmk\win\msvc\fjfrigo.res
> hwgui.lib(shellapi.obj) : error LNK2005: _HB_FUN_SHELLEXECUTE already defined 
> in
>  menu2312.obj
> hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol 
> _mysql_get_se
> rver_vers...@4 referenced in function _HB_FUN_MYSQL_GET_SERVER_VERSION
> hbmysql.lib(mysql.obj) : error LNK2019: unresolved external symbol 
> _mysql_close@
> 4 referenced in function _HB_FUN_MYSQL_REAL_CONNECT
> hbmysql.lib(mysql.obj) : error LNK2019: u

Res: Res: [Harbour] harbour mysql MSVC LNK2019

2009-08-22 Thread Fernando Athayde
thank you very much
perfect

i'd like to talk Przemek, about hwgui
i'd like compile to wce, but i'm without luck
how i talk with him?

Best regards,
Fernando





De: Viktor Szakáts 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 22 de Agosto de 2009 8:20:54
Assunto: Re: Res: [Harbour] harbour mysql MSVC LNK2019

> my hbc is all right it function under bcc55
> {win}incpaths=include
> {win}libpaths=lib \hwguivc\lib
> 
> {win}gt=gtgui
> {win}libs=hwgui procmisc hbmzip hbziparc hbct hbtip hbwin xhb hbhpdf hbhpdf 
> libpng hbmysql libmysql hbvpdf
> {linux}libs=hwgui procmisc hbmzip hbziparc hbtip hbhpdf libhpdf libpng

Then the mysql implib is wrong.

> the libmysql I do this for import DLL to MSVC
> \bcc55\bin\impdef.exe libmysql.def libmysql.dll
> lib /def:libmysql.def

So this is the fault. Using Borland tool for
this task doesn't seem like a good idea.

Look into bin/hb-mkimp.bat how to create implibs for
msvc. Or use HB_BUILD_IMPLIB=yes so that it's done by
the make process automatically. Given that dirs are
setup properly. See INSTALL about that.

For MSVC the implib is provided by packages most of
the time, so usually only a simple copy is needed or
to add a libpath.

Brgds,
Viktor

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] msvc and hbqt

2009-08-22 Thread Fernando Athayde
using MSCV 2008
arch win

E:\harbour_vc\lib\win\msvc>\harbour_cvs\bin\hb-mkimp
! Making import libs...
Microsoft (R) Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

_temp.def(1) : warning LNK4093: Drive/Directory component ignored in 'LIBRARY' 
statement
   Creating library E:\harbour_vc\lib\win\msvc\QtCore4.lib and object 
E:\harbour_vc\lib\win\msvc\QtCore4.exp
Microsoft (R) Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

_temp.def(1) : warning LNK4093: Drive/Directory component ignored in 'LIBRARY' 
statement
   Creating library E:\harbour_vc\lib\win\msvc\QtGui4.lib and object 
E:\harbour_vc\lib\win\msvc\QtGui4.exp
Microsoft (R) Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

_temp.def(1) : warning LNK4093: Drive/Directory component ignored in 'LIBRARY' 
statement
   Creating library E:\harbour_vc\lib\win\msvc\QtNetwork4.lib and object 
E:\harbour_vc\lib\win\msvc\QtNetwork4.exp
Microsoft (R) Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

_temp.def(1) : warning LNK4093: Drive/Directory component ignored in 'LIBRARY' 
statement
   Creating library E:\harbour_vc\lib\win\msvc\QtWebKit4.lib and object 
E:\harbour_vc\lib\win\msvc\QtWebKit4.exp

but made the libs normally
22/08/2009  16:58   580.276 QtCore4.exp
22/08/2009  16:58   964.084 QtCore4.lib
22/08/2009  16:58 2.222.276 QtGui4.exp
22/08/2009  16:58 3.679.466 QtGui4.lib
22/08/2009  16:58   180.720 QtNetwork4.exp
22/08/2009  16:58   303.422 QtNetwork4.lib
22/08/2009  16:5869.114 QtWebKit4.exp
22/08/2009  16:58   115.964 QtWebKit4.lib

by de way, I don't had success in compile demoxbp
E:\harbour_vc\contrib\hbxbp\tests>hbmk2 demoxbp.prg
hbmk: Processando script local: hbmk.hbm

hbmk: Processando arquivo de configuração: e:\harbour_vc\bin\hbmk.cfg

Harbour 2.0.0beta2 (Rev. 12245)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'demoxbp.prg'...
demoxbp.prg(551) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_CHECKBOX'
demoxbp.prg(551) Warning W0004  Codeblock parameter 'OCHK' declared but not used
 in function 'BUILD_CHECKBOX'
demoxbp.prg(562) Warning W0004  Codeblock parameter 'MP1' declared but not used
in function 'BUILD_CHECKBOX'
demoxbp.prg(562) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_CHECKBOX'
demoxbp.prg(577) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_3STATE'
demoxbp.prg(577) Warning W0004  Codeblock parameter 'OBTN' declared but not used
 in function 'BUILD_3STATE'
demoxbp.prg(585) Warning W0004  Codeblock parameter 'MP1' declared but not used
in function 'BUILD_3STATE'
demoxbp.prg(585) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_3STATE'
demoxbp.prg(595) Warning W0004  Codeblock parameter 'MP1' declared but not used
in function 'BUILD_RADIOBUTTON'
demoxbp.prg(595) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_RADIOBUTTON'
demoxbp.prg(644) Warning W0004  Codeblock parameter 'OBJ' declared but not used
in function 'BUILD_LISTBOX'
demoxbp.prg(674) Warning W0004  Codeblock parameter 'MP1' declared but not used
in function 'BUILD_COMBOBOX'
demoxbp.prg(674) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_COMBOBOX'
demoxbp.prg(680) Warning W0004  Codeblock parameter 'MP1' declared but not used
in function 'BUILD_COMBOBOX'
demoxbp.prg(680) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_COMBOBOX'
demoxbp.prg(743) Warning W0004  Codeblock parameter 'X' declared but not used in
 function 'BUILD_SLES'
demoxbp.prg(743) Warning W0004  Codeblock parameter 'Y' declared but not used in
 function 'BUILD_SLES'
demoxbp.prg(803) Warning W0004  Codeblock parameter 'MP1' declared but not used
in function 'BUILD_SPINBUTTONS'
demoxbp.prg(803) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_SPINBUTTONS'
demoxbp.prg(817) Warning W0004  Codeblock parameter 'MP1' declared but not used
in function 'BUILD_SPINBUTTONS'
demoxbp.prg(817) Warning W0004  Codeblock parameter 'MP2' declared but not used
in function 'BUILD_SPINBUTTONS'
demoxbp.prg(858) Warning W0004  Codeblock parameter 'ARECT' declared but not use
d in function 'BUILD_TREEVIEW'
demoxbp.prg(858) Warning W0004  Codeblock parameter 'OSELF' declared but not use
d in function 'BUILD_TREEVIEW'
demoxbp.prg(926) Warning W0004  Codeblock parameter 'I' declared but not used in
 function 'WASTRUCT'
demoxbp.prg(1206) Warning W0032  Variable 'ORECT' is assigned but not used in fu
nction 'BUILD_STATICS(1043)'
demoxbp.prg(1222) Warning W0004  Codeblock parameter 'E' declared but not used i
n function 'BUILD_HTMLVIEWER'
demoxbp.prg(1240) Warning W0004  Codeblock parame

[Harbour] winCe harbour and gui

2009-08-22 Thread Fernando Athayde
what gui functions on winCE with harbour
i try compile hwgui for msvcarm but no success
i need create an application for smartphone, and i wanted made with harbour

Thanks,
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] SF.net SVN: harbour-project:[12273] trunk/harbour

2009-08-22 Thread Fernando Athayde
wow man,
this increasingly difficult I do any application for winCe


Thanks
Fernando





De: "vszak...@users.sourceforge.net" 
Para: harbour@harbour-project.org
Enviadas: Sábado, 22 de Agosto de 2009 18:31:19
Assunto: [Harbour] SF.net SVN: harbour-project:[12273] trunk/harbour

Revision: 12273
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12273&view=rev
Author:   vszakats
Date: 2009-08-22 21:31:18 + (Sat, 22 Aug 2009)

Log Message:
---
2009-08-22 23:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
  * bin/hb-mkimp.bat
- Not creating msvc implibs for QT .dlls anymore.
  .dlls distributed in the QT binary package are using
  Itanium ABI (built with MinGW/GCC), which isn't compatible 
  with ABI used by MSVC. Generating an implib is impossible here.
  Those who want to use QT with MSVC Harbour builds should 
  rebuild QT .dlls from source, implibs will be generated 
  automatically in this case (I assume).

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/bin/hb-mkimp.bat


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] msvc + harbour

2009-08-28 Thread Fernando Athayde
if i mistake the name of propriert, an application simply frozen, don't call 
error
ony happens in MSCV with BCC function normally

ex:
CLASS test
   DATA testdata

   METHOD new()
ENDCLASS

METHOD new() CLASS test
   ::testdataX := 1
RETURN Nil

MSVC + harbour + Hwgui

Best regards,
Fernando


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] ActiveX

2009-09-03 Thread Fernando Athayde
why memvar and public in same time?
you should to put only public

regards,
Fernando





De: Alex Strickland 
Para: Harbour Project Main Developer List. 
Enviadas: Quinta-feira, 3 de Setembro de 2009 8:13:11
Assunto: Re: [Harbour] ActiveX

Przemyslaw Czerpak wrote:

> I can add such method to our new AX code if FindConnectionPoint() fails.
> Anyhow I would like to ask Mindaugas to accept it and you and Alex to make
> tests.

I Didn't get near ActiveX! When I compile I get :


Compiling 'hellox.prg'...
hellox.prg(0) Warning W0001  Ambiguous reference 'OMAINWINDOW'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OMAINWINDOW'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OMAINWINDOW'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OMSCAL'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OBPTI'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OMAINWINDOW'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OMSCAL'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OMAINWINDOW'
hellox.prg(0) Warning W0002  Ambiguous reference, assuming memvar 'OBPTI'
hellox.prg(0) Warning W0025  Class 'HWGACTIVEX' not known in declaration of 'SEL
F'
Wrong type of codeblock parameter, is: 1, should be: 8
hellox.prg(0) Warning W0025  Class 'HWGACTIVEX' not known in declaration of 'SEL
F'
hellox.prg(0) Warning W0025  Class 'HWGACTIVEX' not known in declaration of 'SEL
F'
Lines 4191, Functions/Procedures 8
Generating C source output to 'hellox.c'... Done.
===

I seem to be committing a range of sins, although these messages are new to me. 
I changed my original a bit to try and fix them, the code is below.

I don't know why oMainWindow is "ambiguous".

The line numbers appear to be missing for the "Class not known" and I do not 
know how to correct.

The message about the differing scopes in the codeblock have no line number at 
all. I guess oMSCal is the culprit, but I did not know this was illegal. A 
lookup function to supply text equivalents of the scope types (1 and 8) would 
be nice.

Regards
Alex

===
#include "hbclass.ch"
#include "windows.ch"
#include "guilib.ch"


static oMSCAL
static oBPTI

memvar oMainWindow
public oMainWindow


function main()

INIT WINDOW oMainWindow MAIN TITLE "Hello ActiveX"  ;
AT 200, 0 SIZE 420, 300

MENU OF oMainWindow
MENU TITLE "&File"
MENUITEM "Test &MSCal" ACTION { || MSCALInit() }
MENUITEM "&Change Date" ACTION { || oMSCAL:NextDay() }
SEPARATOR
MENUITEM "Test &BPTI" ACTION { || BPTIInit() }
SEPARATOR
MENUITEM "E&xit" ACTION { || EndWindow() }
ENDMENU
ENDMENU

ACTIVATE WINDOW oMainWindow

oMSCAL := nil
oBPTI := nil

return nil


procedure MSCALInit()

oMSCAL := HWGActiveX():New( oMainWindow, "MSCAL.Calendar", 0, 0, 300, 300 )

return


procedure BPTIInit()

oBPTI := HWGActiveX():New( oMainWindow, "BPTI.CoBpTiX1", 0, 0, 300, 300 )

return



CLASS HWGActiveX FROM HControl

CLASS VAR winclass INIT "ACTIVEX"

DATA oOLE INIT NIL

METHOD New
METHOD Event

ERROR HANDLER OnError

ENDCLASS


METHOD New( oWnd, cProgId, nTop, nLeft, nWidth, nHeight ) CLASS HWGActiveX

local nStyle
local hWnd

nStyle := WS_CHILD + WS_VISIBLE + WS_CLIPCHILDREN
//Super:New( oWnd, , nStyle, nLeft, nTop, nWidth, nHeight )
WIN_AxInit()
hWnd := WAPI_CreateWindowEX( 0, "AtlAxWin", cProgId, nStyle, nLeft, nTop, 
nWidth, nHeight, WIN_N2P( oWnd:handle ), 0 )
::oOLE := WIN_AxGetControl( hWnd, { | event, ... | ::Event( event, ... ) } )

return self


METHOD Event( event, ... ) CLASS HWGActiveX

MsgInfo( HB_ValToStr( event ) )

return NIL


METHOD OnError() CLASS HWGActiveX

return HB_ExecFromArray( ::oOLE, __GetMessage(), HB_AParams() )
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] freeimage harbour conflicts with hwgui

2009-10-03 Thread Fernando Athayde
i'm testing freeimage in gui mode
and I've a problem with funciona fi_ (cause GPF)
in hwgui don't have the same parameters, and don't have all functions 
is there any way, to pass this problem?


Thanks,
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] freeimage harbour conflicts with hwgui

2009-10-03 Thread Fernando Athayde
   fi_Initialise()
   msginfo("ok")
   msginfo(fi_GetVersion())

>>   hImage := fi_Load( FIF_JPEG, 
>> "e:\fjfrigohb\digitalizados\almoxarifado\sample1.jpg", JPEG_DEFAULT )
this line causes GPF

   msginfo("ok")
   hImage := fi_Load( FIF_BMP, "digitalizados\almoxarifado\" +cArquivo+".bmp", 
BMP_DEFAULT )
   msginfo("ok")
   fi_Save( FIF_JPEG, hImage, "digitalizados\almoxarifado\" +cArquivo+".jpg", 
JPEG_DEFAULT )
   msginfo("ok")
   fi_Unload( hImage )
   msginfo("ok")
   fi_Deinitialise()

if i use test in contrib function perfectly
only causes GPF in hwgui
is there in hwgui a class HFreeImage

Thanks,
Fernando





De: Francesco Saverio Giudice 
Para: Harbour Project Main Developer List. 
Enviadas: Sábado, 3 de Outubro de 2009 19:07:54
Assunto: Re: [Harbour] freeimage harbour conflicts with hwgui

Hi Fernando,

Il 03/10/2009 20.51, Fernando Athayde ha scritto:
> i'm testing freeimage in gui mode
> and I've a problem with funciona fi_ (cause GPF)
> in hwgui don't have the same parameters, and don't have all functions
> is there any way, to pass this problem?
> 
> 
could you kindly post some details and possible a sample ?

Best Regards,
Francesco


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] BLOB data and databases

2009-10-05 Thread Fernando Athayde
how to write a jpg in a field blob
i'm using tmysql
i saw something with BlobDirectImport in harbour, but seems that functions only 
in DBF
i heard something about bytearray, but i don't found in harbour

then
i want to make a database of digitalized files
i use mysql as database

Thanks
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] harbour_cvs + bcc 5.8.2

2009-10-21 Thread Fernando Athayde
error in compilation with bcc 5.8.2

E:\harbour_cvs>mingw32-make.exe
! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
! MAKE: mingw32-make.exe 3.81 sh.exe
! HB_INSTALL_PREFIX: e:\harbourhb58
! HB_BUILD_DLL: yes
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
! HB_PLATFORM: win (x86) (autodetected)
! HB_COMPILER: bcc
! Component: 'zlib' found in E:/harbour_cvs/external/zlib (local)
! Component: 'pcre' found in E:/harbour_cvs/external/pcre (local)
! Component: 'openssl' not found
! Component: 'gpm' not supported on win platform
! Component: 'slang' not found
! Component: 'curses' not found
! Component: 'x11' not found
! Component: 'wattcp/watt-32' not supported on win platform
mingw32-make.exe[2]: Nothing to be done for `all'.
mingw32-make.exe[1]: Nothing to be done for `all'.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/libhpdf.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/libpng.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/hbpcre.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/sqlite3.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/hbzlib.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/hbcommon.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/hbnortl.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/hbpp.lib' is up to date.
mingw32-make.exe[3]: `../../../../../lib/win/bcc/hbcplr.lib' is up to date.
mingw32-make.exe[3]: `../../../../../bin/win/bcc/harbour.exe' is up to date.
bcc32.exe  -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6 -O2 -OS -Ov
-Oi -Oc  -DHB_HAS_PCRE -IE:/harbour_cvs/external/pcre -DPCRE_STATIC -DHB_HAS_ZLI
B -IE:/harbour_cvs/external/zlib  -ohbsocket.obj -c ../../../hbsocket.c
../../../hbsocket.c:
Error E2141 \bcc582\include\ws2tcpip.h 205: Declaration syntax error
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2139 \bcc582\include\ws2tcpip.h 370: Declaration missing ;
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2238 \bcc582\include\ws2tcpip.h 371: Multiple declaration for 'sockaddr_g
en'
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2344 \bcc582\include\ws2tcpip.h 370: Earlier declaration of 'sockaddr_gen
'
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2139 \bcc582\include\ws2tcpip.h 371: Declaration missing ;
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2238 \bcc582\include\ws2tcpip.h 372: Multiple declaration for 'sockaddr_g
en'
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2344 \bcc582\include\ws2tcpip.h 370: Earlier declaration of 'sockaddr_gen
'
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2139 \bcc582\include\ws2tcpip.h 372: Declaration missing ;
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Error E2141 \bcc582\include\ws2tcpip.h 683: Declaration syntax error
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
Warning W8027 \bcc582\include\wspiapi.h 154: Functions containing for are not ex
panded inline
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
 + \bcc582\include\ws2tcpip.h, line 768: #include \bcc582\include\wspiapi.h
Warning W8027 \bcc582\include\wspiapi.h 272: Functions containing for are not ex
panded inline
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
 + \bcc582\include\ws2tcpip.h, line 768: #include \bcc582\include\wspiapi.h
Warning W8027 \bcc582\include\wspiapi.h 350: Functions containing for are not ex
panded inline
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
 + \bcc582\include\ws2tcpip.h, line 768: #include \bcc582\include\wspiapi.h
Warning W8027 \bcc582\include\wspiapi.h 416: Functions containing for are not ex
panded inline
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
 + \bcc582\include\ws2tcpip.h, line 768: #include \bcc582\include\wspiapi.h
Warning W8027 \bcc582\include\wspiapi.h 459: Functions containing for are not ex
panded inline
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
 + \bcc582\include\ws2tcpip.h, line 768: #include \bcc582\include\wspiapi.h
Warning W8027 \bcc582\include\wspiapi.h 565: Functions containing some if statem
ents are not expanded inline in function WspiapiLegacyGetAddrInfo
 + Full parser context
 + ../../../hbsocket.c, line 168: #include \bcc582\include\ws2tcpip.h
 + \bcc582\include\ws2tcpip.h, line 768: #include \bcc582\include\wspiapi.h
 + \bcc582\include\wspiapi.h, li

[Harbour] is it possible? convert emf/wmf to pdf/xls

2009-10-29 Thread Fernando Athayde
i have to export my reports for pdf/xls
but i don´t want recode my software
is there any way to convert emf/wmf to pdf/xls?
i use hwgui

Thanks,
Fernando



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] is it possible? convert emf/wmf to pdf/xls

2009-10-30 Thread Fernando Athayde
i knew about it, but i want to make myself, today i create my reports in ascii 
file and i convert to pdf/rtf and (direct print/(laser/inkjet printer) run 
perfect,
but some custumers are query to me graphics reports, and i only can generate 
these graphics reports in emf,
but i have an idea, i'am making a framework(class) for resolve this problem, 
with parameter type (GRA(Graphics)/PDF/RTF/XLS)

if someone had any better idea, please tell me

Thanks,
Fernando





De: Massimo Belgrano 
Para: Harbour Project Main Developer List. 
Enviadas: Sex, Outubro 30, 2009 2:59:38 PM
Assunto: Re: [Harbour] is it possible? convert emf/wmf to pdf/xls

Hi  Fernando
I suggest you http://freepdf-xp.en.softonic.com/
is free,and  is a print driver so you can print on it simply choosing as printer
compatible with print using print driver


2009/10/30 Fernando Athayde :
> i have to export my reports for pdf/xls
> but i don´t want recode my software
> is there any way to convert emf/wmf to pdf/xls?
> i use hwgui
>
> Thanks,
> Fernando
>
> 
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 -
> Celebridades - Música - Esportes
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>



-- 
Massimo Belgrano
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] ASCAN slow - proposal weighted search

2009-11-07 Thread Fernando Athayde
ASORT(::aArrayResumo, {|a,b| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] > 
str(b[1],11)+str(b[3],11)+dtoc(b[5])+b[7] } )

//Normal way (Slow for more than 100 registers)
nPosicaoArray := ASCAN(::aArrayResumo, ;
 {|a| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] ==;
  STR( 
::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11)+;
  
STR(::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 )+;
  DTOC(oDB:Mysql2Date 
(::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda} )

//Weighted search (Is very fast)
nPosicaoArray := 0
nArraySize := LEN( ::aArrayResumo )
nJump := nArraySize - 1
nPosition := 1
DO WHILE .T.
   nPosition += nJump
   IF nPosition > nArraySize
  nJump := 0
  nPosition := nArraySize
   ENDIF
   IF str(::aArrayResumo[nPosition,1],11)+str(::aArrayResumo[nPosition,3],11);
   +dtoc(::aArrayResumo[nPosition,5])+::aArrayResumo[nPosition,7] >;
  STR( ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11 );
+STR( ::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 
);
+DTOC(oDB:Mysql2Date 
(::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda

  nPosition -= nJump
  nJump := INT(nJump/2)
   ENDIF
   IF str(::aArrayResumo[nPosition,1],11)+str(::aArrayResumo[nPosition,3],11);
+dtoc(::aArrayResumo[nPosition,5])+::aArrayResumo[nPosition,7] == 
  STR( ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11 );
+STR( ::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 );
+DTOC(oDB:Mysql2Date 
(::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda
  nPosicaoArray := nPosition
  EXIT
   ENDIF
   IF nJump<1
  EXIT
   ENDIF
ENDDO

my proposal is made a ASCANEX sending a block how parameter
but i don´t know how to use eval and blocks

Thanks,
Fernando Athayde


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] ASCAN slow - proposal weighted search

2009-11-09 Thread Fernando Athayde
i take a look
i´ll go to make some tests
i´ve preffer sql codes to acess, cause in my application there aren´t any dbf, 
but is better than array right?

Thanks,
Fernando





De: Guy Roussin 
Para: Harbour Project Main Developer List. 
Enviadas: Domingo, 8 de Novembro de 2009 19:47:36
Assunto: Re: [Harbour] ASCAN slow - proposal weighted search

Hi Fernando,

Perhaps you can use hbmemio. I think that hbmemio
has been created for this purpose...

Guy

Fernando Athayde a écrit :
> ASORT(::aArrayResumo, {|a,b| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] > 
> str(b[1],11)+str(b[3],11)+dtoc(b[5])+b[7] } )
> 
> //Normal way (Slow for more than 100 registers)
> nPosicaoArray := ASCAN(::aArrayResumo, ;
>  {|a| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] ==;
>   STR( 
> ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11)+;
>   
> STR(::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 )+;
>   DTOC(oDB:Mysql2Date 
> (::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda} )
> 
> //Weighted search (Is very fast)
> nPosicaoArray := 0
> nArraySize := LEN( ::aArrayResumo )
> nJump := nArraySize - 1
> nPosition := 1
> DO WHILE .T.
>nPosition += nJump
>IF nPosition > nArraySize
>   nJump := 0
>   nPosition := nArraySize
>ENDIF
>IF str(::aArrayResumo[nPosition,1],11)+str(::aArrayResumo[nPosition,3],11);
>+dtoc(::aArrayResumo[nPosition,5])+::aArrayResumo[nPosition,7] 
> >;
>   STR( ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11 );
> +STR( 
> ::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 );
> +DTOC(oDB:Mysql2Date 
> (::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda
> 
>   nPosition -= nJump
>   nJump := INT(nJump/2)
>ENDIF
>IF str(::aArrayResumo[nPosition,1],11)+str(::aArrayResumo[nPosition,3],11);
> +dtoc(::aArrayResumo[nPosition,5])+::aArrayResumo[nPosition,7] ==
>   STR( ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11 );
> +STR( ::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 );
> +DTOC(oDB:Mysql2Date 
> (::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda
>   nPosicaoArray := nPosition
>   EXIT
>ENDIF
>IF nJump<1
>   EXIT
>ENDIF
> ENDDO
> 
> my proposal is made a ASCANEX sending a block how parameter
> but i don´t know how to use eval and blocks
> 
> Thanks,
> Fernando Athayde

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Res: [Harbour] ASCAN slow - proposal weighted search

2009-11-09 Thread Fernando Athayde
Thanks very much
i´ll try it, it´s new for me, but seems pretty cool

Brgrs,
Fernando





De: Przemysław Czerpak 
Para: Harbour Project Main Developer List. 
Enviadas: Segunda-feira, 9 de Novembro de 2009 9:06:40
Assunto: Re: [Harbour] ASCAN slow - proposal weighted search

On Sat, 07 Nov 2009, Fernando Athayde wrote:

Hi,

> ASORT(::aArrayResumo, {|a,b| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] > 
> str(b[1],11)+str(b[3],11)+dtoc(b[5])+b[7] } )
> //Normal way (Slow for more than 100 registers)
> nPosicaoArray := ASCAN(::aArrayResumo, ;
>  {|a| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] ==;
>   STR( 
> ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11)+;
>   
> STR(::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 )+;
>   DTOC(oDB:Mysql2Date 
> (::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda} )
> 
> //Weighted search (Is very fast)
> nPosicaoArray := 0
> nArraySize := LEN( ::aArrayResumo )
> nJump := nArraySize - 1
> nPosition := 1
> DO WHILE .T.
>nPosition += nJump
>IF nPosition > nArraySize
>   nJump := 0
>   nPosition := nArraySize
>ENDIF
>IF str(::aArrayResumo[nPosition,1],11)+str(::aArrayResumo[nPosition,3],11);
>+dtoc(::aArrayResumo[nPosition,5])+::aArrayResumo[nPosition,7] 
> >;
>   STR( ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11 );
> +STR( 
> ::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 );
> +DTOC(oDB:Mysql2Date 
> (::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda
> 
>   nPosition -= nJump
>   nJump := INT(nJump/2)
>ENDIF
>IF str(::aArrayResumo[nPosition,1],11)+str(::aArrayResumo[nPosition,3],11);
> +dtoc(::aArrayResumo[nPosition,5])+::aArrayResumo[nPosition,7] == 
>   STR( ::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11 );
> +STR( ::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 );
> +DTOC(oDB:Mysql2Date 
> (::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+cSiglaMoeda
>   nPosicaoArray := nPosition
>   EXIT
>ENDIF
>IF nJump<1
>   EXIT
>ENDIF
> ENDDO
> 
> my proposal is made a ASCANEX sending a block how parameter
> but i don´t know how to use eval and blocks

You want to use binary search for well soprted array items and
for sure it will improve the speed anyhow I suggest to use hash
arrays. If will be faster.
You can use hash array in two ways:
1. as index, i.e.:

  func arrayIndex( aValue, bOrder )
 local item
 local hValue := {=>}
 for each item in aValue
hValue[ eval( bOrder, item ) ] := item:__enumIndex()
 next
  return hValue

   then in your code you are making:

  hIndex := arrayIndex( ::aArrayResumo, ;
 { |a| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] } )

   and you can use this index to find given value position:

  cKey := STR( 
::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11)+;
  STR(::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 )+;
  
DTOC(oDB:Mysql2Date(::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+;
  cSiglaMoeda
  if cKey $ hIndex
 nPosicaoArray := hIndex[ cKey ]
 aResult := ::aArrayResumo[ nPosicaoArray ]
  endif

2. as array of values.

  func arrayToHash( aValue, bOrder )
 local item
 local hValue := {=>}
 for each item in aValue
hValue[ eval( bOrder, item ) ] := item
 next
  return hValue

   then in your code you are making:

  hValue := arrayToHash( ::aArrayResumo, ;
{ |a| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] } )

   and you can use this index to find given value:

  cKey := STR( 
::oQueryRelatorioPrincipal:fieldGet('idgrupo_centro_custo'),11)+;
  STR(::oQueryRelatorioPrincipal:fieldGet('idcentro_custo'),11 )+;
  
DTOC(oDB:Mysql2Date(::oQueryRelatorioPrincipal:fieldGet('data_emissao') ) )+;
  cSiglaMoeda
  if cKey $ hValue
 aResult := hValue[ cKey ]
  endif

Now if you look at the above the you will find that you do not have to use
arrays at all and you can replace ::aArrayResumo with ::hArrayResumo.
Just simply initialize it as empty hash array:
   ::hArrayResumo := { => }
then add all new values using code like:

   cKey := str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7]
   ::hArrayResumo[ cKey ] := a

instead of:
   aadd( ::aArrayResumo, a )

and now you can use 

  1   2   >