Search found 16 matches: otest

Return to advanced search

Re: How to test a POST from cmd

... "%s\n\n", "Content-Type: text/html;" );   printf( "%s", buffer );   return 0;} gcc test.c -otest finally to test it: echo "Hello world" | ./test
by Antonio Linares
Tue Jan 04, 2022 3:15 pm
 
Forum: mod_harbour
Topic: How to test a POST from cmd
Replies: 2
Views: 691

Re: Compilar código Harbour con gcc en 64 BITS

... whe you compile a sample .prg i have to use KBMK2 this is a sample of TEST64.HBP # ========================== # ========================== -oTEST -exitstr -gui -inc ### solo per GCC compiler - toglie le dipendenze dai .dll ### -fullstatic TEST.PRG -lHBWIN -lHBCT -lXHB -lPNG -lPSAPI -lHBZIPARC ...
by vensanto
Sun May 27, 2018 8:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar código Harbour con gcc en 64 BITS
Replies: 8
Views: 2006

How to know if a property exist ?

Hi guys,

I have an object oTest that sometimes has a property oTest:Localizacao and sometimes does not have it. Do you know how to verify IF "localizacao" exist in oTest ?
by vilian
Wed Apr 04, 2018 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to know if a property exist ?
Replies: 2
Views: 441

Re: Drawing on a TImage and save [Solved]

... oImg:SaveImage( cDestFile, 2, 25 ) Because of image-resizing, first I save the original image-size. STATIC FUNCTION GET_IMGSIZE(cWorkfile) LOCAL oTest DEFINE IMAGE oTest FILENAME c_path1 + cWorkFile nImgWidth := oTest:nWidth nImgHeight := oTest:nHeight oTest:End() RETURN NIL After selecting a ...
by ukoenig
Tue Apr 01, 2014 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing on a TImage and save [Solved]
Replies: 68
Views: 11695

Re: Compiling with minigw

... gcc -c -oobj/two.o -Ic:\HB30\include obj/two.c gcc -c -oobj/three.o -Ic:\HB30\include three.c if not exist one.rc C:\hb30\comp\mingw\bin\gcc -otest.exe ./obj/one.o ./obj/two.o ./obj/three.o \ -Wall -s -mwindows -LC:\hb30\comp\mingw\lib -Lc:\HB30\lib\win\mingw -Lc:\fwh_06\lib -mno-cygwin -Wl,--start-group ...
by Maurizio
Wed Jul 18, 2012 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compiling with minigw
Replies: 12
Views: 5876

Re: ¿¿¿Generar reporte de 100+ páginas en Excel en 4 segundos???

Con mucho gusto. Para la clase de abajo puedo hacer: oTest:=tTest():New( {"aValue"=>{1,2,3}, "nWidth"=>50, "cPicture"=>"@Z99", "nClrPane"=>CLR_WHITE, "bAction"=>{|| msgInfo("Ok")}, ...
by César E. Lozada
Sat May 08, 2010 6:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿¿¿Generar reporte de 100+ páginas en Excel en 4 segundos???
Replies: 4
Views: 1089

Re: New class on development

Hello Mda...

1. you have variable declaration error
oTest is declared static, bellow you are using oTest like "local"
comment Local oTest

2. Method AddItem
nvalue should have initial value or this line nvalue+= nAltura will crash the app
by Daniel Garcia-Gil
Mon Jan 11, 2010 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New class on development
Replies: 6
Views: 1526

New class on development

... first item must not show any image the I want insert a new item ( a new bitmap) and click on second menu first option "Append" Now I use oTest:AddItem(".\bitmaps\secf.bmp") but on the final version the user can select the bitmap's section from a folder this method must add a ...
by MdaSolution
Sat Jan 09, 2010 10:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New class on development
Replies: 6
Views: 1526

Para MMercado TSBrowse

... REDEFINE BROWSE oBrw20 ID 101 OF oFld:aDialogs[2] UPDATE CELLED; ON CHANGE (cTEST:=STR(oBrw20:nAT)+' - '+STR(oBrw20:nCELL),oTEST:REFRESH()) oBrw20:SetArray(aCALEND) ADD COLUMN TO oBrw20 DATA ARRAY ELEMENT 1 HEADER "A" ALIGN 0,1,1 SIZE 80 ADD COLUMN TO oBrw20 DATA ...
by JoseGS
Tue Oct 27, 2009 3:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para MMercado TSBrowse
Replies: 3
Views: 709

Re: Press F5 and show ToolTip

... mouse on it example: function main() . . . REDEFINE GET oGet ID 100 VAR cGET of oDlg oGet:cTooltip := "Error...." REDEFINE BUTTON oTest ID 110 OF oDlg; ACTION Test() return nil //------------------------------------------------------// function Test() if empty(cGet) //Show ToolTip ...
by mtajkov
Mon Mar 09, 2009 3:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Press F5 and show ToolTip
Replies: 2
Views: 534

Re: Error Dialog?

I forced this error to generate the error dialog: oTest:setText( "test" ) And oTest not exists, is not a object! This the error.log source: ----------------------------- xHarbour Error Log ------------------------------ Date...............: ...
by JC
Wed Jan 07, 2009 7:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error Dialog? ( Solved! )
Replies: 28
Views: 3186

Re: Primeras pruebas con MinGW (gcc para Windows)

... 0, "Hello World", "From MingW", MB_ICONINFORMATION ); return 0; } Para construidlo, sencillamente haced: gcc -otest.exe -mwindows test.c Y obteneis test.exe, que es un EXE realmente pequeño y autocontenido. Podeis descargar test.c y test.exe desde aqui: http://rapidshare.com/files/146133212/test.zip.html
by Armando Picon
Wed Sep 17, 2008 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Primeras pruebas con MinGW (gcc para Windows)
Replies: 27
Views: 6530

Primeras pruebas con MinGW (gcc para Windows)

... 0, "Hello World", "From MingW", MB_ICONINFORMATION ); return 0; } Para construidlo, sencillamente haced: gcc -otest.exe -mwindows test.c Y obteneis test.exe, que es un EXE realmente pequeño y autocontenido. Podeis descargar test.c y test.exe desde aqui: http://rapidshare.com/files/146133212/test.zip.html
by Antonio Linares
Wed Sep 17, 2008 8:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Primeras pruebas con MinGW (gcc para Windows)
Replies: 27
Views: 6530

First tests with MinGW (gcc for Windows)

... { MessageBox( 0, "Hello World", "From MingW", MB_ICONINFORMATION ); return 0; } To build it, simply do: gcc -otest.exe -mwindows test.c Then you get test.exe, which it is a very small and self contained EXE. You can download the test.c file and the test.exe ...
by Antonio Linares
Wed Sep 17, 2008 8:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: First tests with MinGW (gcc for Windows)
Replies: 30
Views: 5619

Fivewin Classes

... cTemp := ::3 + ::4 It gives me an object message error so to activate it an retrieving this parameter i have to pass the object made with new eg oTest := Ttest():New( 1,2,3,4,5 ) DoIt( oTest ) Method DoIt( o ) Then i can retrieve o:1 etc. there must be another way couse now i have to work with ...
by Antonio Linares
Wed Aug 27, 2008 7:44 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65148
Next

Return to advanced search