topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
help for save a say aspect | I wish to save the caption of say, the color, and the font to a file ini
first problem when I change the caption it not refresh
Some one can help me please
[code=fw:39r5126y]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><br /><span style="color: #00C800;">Static</span> cImpresa, oFont<span style="color: #000000;">[</span><span style="color: #000000;">4</span><span style="color: #000000;">]</span> ,oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><br /><br /><span style="color: #00C800;">Function</span> Test<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> oDlg<br />cImpresa:=<span style="color: #ff0000;">"<<Impresa>>"</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">680</span>,<span style="color: #000000;">520</span> ;<br /> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Test"</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg;<br /> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> Placecontrol<span style="color: #000000;">(</span>oDlg<span style="color: #000000;">)</span><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">NIL</span><br /><br /><br /><span style="color: #00C800;">function</span> Placecontrol<span style="color: #000000;">(</span>oWnd<span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Arial"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-24</span> <span style="color: #B900B9;">// iMPRESA</span><br /><br />@ <span style="color: #000000;">3</span>, <span style="color: #000000;">2</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span> <span style="color: #0000ff;">PROMPT</span> cImpresa <span style="color: #0000ff;">OF</span> oWnd DESIGN <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">250</span>, <span style="color: #000000;">24</span> TRANSPARENT <span style="color: #0000ff;">FONT</span> oFont<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><br /> oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">bRClicked</span> = <span style="color: #000000;">{</span> | nRow, nCol | LabelInspect<span style="color: #000000;">(</span>oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>, nRow, nCol,<span style="color: #ff0000;">"IMPRESA"</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /> oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">NIL</span><br /><br /><br /> <span style="color: #00C800;">function</span> LabelInspect<span style="color: #000000;">(</span> oCtrl, nRow, nCol, cSection<span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> oMenu<br /> <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #0000ff;">POPUP</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Colori"</span> <span style="color: #0000ff;">ACTION</span> oCtrl:<span style="color: #000000;">SelColor</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Fonts"</span> <span style="color: #0000ff;">ACTION</span> oCtrl:<span style="color: #000000;">SelFont</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&caption"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>oCtrl:<span style="color: #000000;">Settext</span><span style="color: #000000;">(</span> GET_TEST<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span>,oCtrl:<span style="color: #000000;">GetText</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span>,oCtrl:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">ENDMENU</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #00C800;">AT</span> nRow, nCol <span style="color: #0000ff;">OF</span> oCtrl<br /> <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><br /> <span style="color: #00C800;">FUNCTION</span> GET_TEST<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">LOcal</span> cName :=space<span style="color: #000000;">(</span><span style="color: #000000;">30</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> ctext<br /><br /> MsgGet<span style="color: #000000;">(</span> <span style="color: #ff0000;">"Please type your text"</span>,; <span style="color: #B900B9;">// Title</span><br /> <span style="color: #ff0000;">"Your text:"</span>,; <span style="color: #B900B9;">// Label</span><br /> @cName <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">return</span> ctext</div>[/code:39r5126y] |
help for save a say aspect | You can try these changes
[code=fw:m6099r6g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><br /> <span style="color: #00C800;">Static</span> cImpresa, oFont<span style="color: #000000;">[</span><span style="color: #000000;">4</span><span style="color: #000000;">]</span> ,oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><br /><br /> <span style="color: #00C800;">Function</span> Test<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> oDlg<br /> cImpresa:=<span style="color: #ff0000;">"<<Impresa>>"</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">680</span>,<span style="color: #000000;">520</span> ;<br /> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Test"</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg;<br /> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> Placecontrol<span style="color: #000000;">(</span>oDlg<span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Return</span> <span style="color: #00C800;">NIL</span><br /><br /><br /> <span style="color: #00C800;">function</span> Placecontrol<span style="color: #000000;">(</span>oWnd<span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span> <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Arial"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-24</span> <span style="color: #B900B9;">// iMPRESA</span><br /><br /> @ <span style="color: #000000;">3</span>, <span style="color: #000000;">2</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span> <span style="color: #0000ff;">PROMPT</span> cImpresa <span style="color: #0000ff;">OF</span> oWnd DESIGN <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">250</span>, <span style="color: #000000;">24</span> TRANSPARENT <span style="color: #0000ff;">FONT</span> oFont<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span><br /><br /> oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">bRClicked</span> = <span style="color: #000000;">{</span> | nRow, nCol | LabelInspect<span style="color: #000000;">(</span>oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>, nRow, nCol,<span style="color: #ff0000;">"IMPRESA"</span>, @cImpresa <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /> oSay<span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Return</span> <span style="color: #00C800;">NIL</span><br /><br /><br /> <span style="color: #00C800;">function</span> LabelInspect<span style="color: #000000;">(</span> oCtrl, nRow, nCol, cSection, cImpresa<span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> oMenu<br /> <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #0000ff;">POPUP</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Colori"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>oCtrl:<span style="color: #000000;">nClrText</span>:=ChooseColor<span style="color: #000000;">(</span> oCtrl:<span style="color: #000000;">nClrText</span> <span style="color: #000000;">)</span>,oCtrl:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Fonts"</span> <span style="color: #0000ff;">ACTION</span> oCtrl:<span style="color: #000000;">SelFont</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&caption"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span>cImpresa:=GET_TEST<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,oCtrl:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">ENDMENU</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #00C800;">AT</span> nRow, nCol <span style="color: #0000ff;">OF</span> oCtrl<br /> <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><br /> <span style="color: #00C800;">FUNCTION</span> GET_TEST<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">LOcal</span> cName :=space<span style="color: #000000;">(</span><span style="color: #000000;">30</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> ctext<br /><br /> MsgGet<span style="color: #000000;">(</span> <span style="color: #ff0000;">"Please type your text"</span>,; <span style="color: #B900B9;">// Title</span><br /> <span style="color: #ff0000;">"Your text:"</span>,; <span style="color: #B900B9;">// Label</span><br /> @cName <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">return</span> cName<br /> </div>[/code:m6099r6g]
Saluti
Massimo |
help for the sample xbimg.prg | I wisjìh create from xbimg.prg sample a test with an archive dbf
I wish create a archive dbf with images with these fields
File C 60
Desc C 60
oApp():oGrid := TXBrowse():New( oApp():oDlg )
oApp():oGrid:nTop := 00
oApp():oGrid:nLeft := nSplit+2
oApp():oGrid:nBottom := oApp():oDlg:nGridBottom
oApp():oGrid:nRight := oApp():oDlg:nGridRight
aBrowse := { { { || "" }, i18n("Image), 10, 0 },;
{ { || CP->file }, i18n("File"), 60, 0 },;
{ { || CP->Desc }, i18n("Desc"), 300, 0 } }
FOR i := 1 TO Len(aBrowse)
oCol := oApp():oGrid:AddCol()
oCol:bStrData := aBrowse[ i, 1 ]
oCol:cHeader := aBrowse[ i, 2 ]
oCol:nWidth := aBrowse[ i, 3 ]
oCol:nDataStrAlign := aBrowse[ i, 4 ]
oCol:nHeadStrAlign := aBrowse[ i, 4 ]
NEXT
WITH OBJECT oApp():oGrid
WITH OBJECT oApp():oGrid:aCols[1]
:nEditType := TYPE_IMAGE
:lBmpStretch := .f.
:lBmpTransparent := .t.
:bStrImage := {|oCol, oBrw|oApp():oGrid:aRow[ 2 ] }
:nDataBmpAlign := AL_CENTER
END
WITH OBJECT oApp():oGrid:aCols[2]
:nEditType := EDIT_BUTTON
:bEditBlock := {|nRow, nCol, oCol| oCol:Value := cGetFile( "*.*", "Select a file" ) }
END
END
oApp():oGrid:SetRDD()
oApp():oGrid:CreateFromCode()
I wish insert the image and insert a record on Desc field
can you help me please? |
help for xbrowse | I want click with mouse on a record of xbrowse and change the bitmap
oCol:= oApp():oGrid3:AddCol()
oCol:AddBmpFile(".\BITMAPS\GRID\hand.BMP")
oCol:AddBmpFile(".\BITMAPS\GRID\handno.BMP")
oCol:bBmpData := { || Desp_Per()}
*oCol:bStrData := { || Desp_Per()}
oCol:cHeader := "Permesso"
oCol:nWidth := 100
oCol:oDataFont := oFontGrid
...
oApp():oGrid3:bLDblClick:={|| Asigna()}
STAT FUNC Desp_Per(cbmp)
LOCAL cPer:=IF((oDPer)->Permesso,1,2)
RETURN (cPer)
STAT FUNC Asigna()
IF lABC .AND. !Occupato(oDPer)
(oDPer)->Permesso:=!(oDPer)->Permesso
IF (oDPer)->Permesso
(oDPer)->ABC:=(oDPer)->Tipo
ELSE
(oDPer)->ABC:=""
ENDIF
(oDPer)->(DbUnlock())
Refr_Btn()
ENDIF
oApp:oGrid3:SetFocus()
RETURN (NIL)
[b:36503qjl]Sometimes run sometimes not run ok why ?[/b:36503qjl] |
help for xbrowse | Hola Silvio:
oGrid:aCols[1]:AddResource("ON")
oGrid:aCols[1]:AddResource("OFF")
oGrid:aCols[1]:cHeader := ""+CRLF+"Est"
oGrid:aCols[1]:nHeadStrAlign := 2 // Alineacion: 1.- derecha 2.- centrado 3.- izquierda
oGrid:aCols[1]:nHeadBmpAlign := 2
oGrid:aCols[1]:nWidth := 25
oGrid:aCols[1]:bBmpData := {|| IIF( oGrid:aRow[10] == 1, 1, 2 ) }
En este ejemplo haria lo siguiente, se le asiganan dos BMP, en funcion si la columna 10, pondria el ON o el OFF.
Un saludo
JLL |
help for xbrowse | sorry but
I must make a procedure to set access user login
i need the procedure to click with mouse to set if the user have a access free or not
oApp():oGrid3:bLDblClick:={|| Asigna()}
oApp():oGrid3:bKeyDown:={|nKey| IF(nKey=VK_RETURN,Asigna(),IF(nKey=VK_F5,Cambia(),))}
STAT FUNC Asigna()
IF lABC .AND. !Occupato(oDPer)
(oDPer)->Permesso:=!(oDPer)->Permesso
IF (oDPer)->Permesso
(oDPer)->ABC:=(oDPer)->Tipo
ELSE
(oDPer)->ABC:=""
ENDIF
(oDPer)->(DbUnlock())
Refr_Btn()
oApp:oGrid3:DrawSelect()
ENDIF
oApp:oGrid3:SetFocus()
RETURN (NIL)
this sometimes run sometimes not |
help for xbrowse tooltip | please Look this Image :
[img:fhv3yjy8]http://www.eoeo.it/wp-content/uploads/2015/02/tabel_tooltip.jpg[/img:fhv3yjy8]
I use and array aDataDay[ndocente][nOra]
I need to Know ( for the data of return ) some data as when I move the mouse over:
the row and the col to have the day and the hour on the case of picture 14 ( 1 monday 4 number of Hour)
the number of teacher ( nrecord) in this picture 8
and the value of cell in this picture 4B
How I can found ths data ? thanks
then with hese data I can search on archive the matter of lesson and I can show it with a tooltip |
help for xbrowse tooltip | [code=fw:26k1rjx1]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oCol:<span style="color: #000000;">bToolTip</span> := <span style="color: #000000;">{</span> | brw,r,c,f,oMouseCol,nMouseRow| MyColToolTip<span style="color: #000000;">(</span> brw,r,c,f,oMouseCol,nMouseRow <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /><br />...<br />...<br /><br /><span style="color: #00C800;">function</span> MyColToolTip<span style="color: #000000;">(</span> oBrw, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> uVal, nRow, nCol<br /> <br /> nRow := oBrw:<span style="color: #000000;">nArrayAt</span> + nMouseRow - oBrw:<span style="color: #000000;">nRowSel</span><br /> nCol := oMouseCol:<span style="color: #000000;">nCreationOrder</span><br /> uVal := oBrw:<span style="color: #000000;">nArrayData</span><span style="color: #000000;">[</span> nRow, nCol <span style="color: #000000;">]</span><br /> <br /><span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /> </div>[/code:26k1rjx1] |
help for xbrowse tooltip | Hi, I need something similar but to do so in all cells and is to browse my oQry or this is just to browse with array, try as in the example but it gives me error "UVAL: = oBrw: nArrayData [nRow, nCol] "/ Message not found: TXBrowse: NARRAYDATA, thanks, greetings ... using google translator... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
help for xbrowse tooltip | +1 |
help for xbrowse tooltip | [quote="joseluisysturiz":3a32kbjp]Hi, I need something similar but to do so in all cells and is to browse my oQry or this is just to browse with array, try as in the example but it gives me error "UVAL: = oBrw: nArrayData [nRow, nCol] "/ Message not found: TXBrowse: NARRAYDATA, thanks, greetings ... using google translator... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->[/quote:3a32kbjp]
My reply was only for Array Browse.
For any other browse:
[code=fw:3a32kbjp]<div class="fw" id="{CB}" style="font-family: monospace;">oCol:<span style="color: #000000;">bToolTip</span> := <span style="color: #000000;">{</span> | brw,r,c,f,oMouseCol,nMouseRow| MyColToolTip<span style="color: #000000;">(</span> brw,r,c,f,oMouseCol,nMouseRow <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /><br />...<br />...<br /><br /><span style="color: #00C800;">function</span> MyColToolTip<span style="color: #000000;">(</span> oBrw, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> uBm, uVal<br /> <br /> <span style="color: #00C800;">if</span> nMouseRow != oBrw:<span style="color: #000000;">nRowSel</span><br /> uBm := oBrw:<span style="color: #000000;">BookMark</span><br /> Eval<span style="color: #000000;">(</span> oBrw:<span style="color: #000000;">bSkip</span>, nMouseRow - oBrw:<span style="color: #000000;">nRowSel</span> <span style="color: #000000;">)</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> oBrw:<span style="color: #000000;">BookMark</span> := uBm<br /> <span style="color: #00C800;">else</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> <span style="color: #00C800;">endif</span> <br /> <br /><span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /> </div>[/code:3a32kbjp] |
help for xbrowse tooltip | Mr Nages,
[code=fw:2k2k4zi1]<div class="fw" id="{CB}" style="font-family: monospace;"> Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">23</span><span style="color: #000000;">-02</span><span style="color: #000000;">-2015</span>, <span style="color: #000000;">18</span>:<span style="color: #000000;">00</span>:<span style="color: #000000;">41</span><br /> Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1004</span> <span style="color: #0000ff;">Message</span> not found: <span style="color: #000000;">TXBROWSE</span>:<span style="color: #000000;">NARRAYDATA</span><br /><br />Stack Calls<br />===========<br /> Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\HARBOUR.PRG => _CLSSETERROR<span style="color: #000000;">(</span> <span style="color: #000000;">244</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">NARRAYDATA</span><span style="color: #000000;">(</span> <span style="color: #000000;">8313</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\Ptabell.prg => MYCOLTOOLTIP<span style="color: #000000;">(</span> <span style="color: #000000;">332</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\Ptabell.prg => <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>PTABELLONE<span style="color: #000000;">(</span> <span style="color: #000000;">187</span> <span style="color: #000000;">)</span><br /> </div>[/code:2k2k4zi1]
I made :
for nI = 2 to 61
[b:2k2k4zi1]oApp():oGrid:aCols[ nI ]:bToolTip := { | brw,r,c,f,oMouseCol,nMouseRow| MyColToolTip( brw,r,c,f,oMouseCol,nMouseRow ) }[/b:2k2k4zi1]
next
...
function MyColToolTip( oBrw, r, c, f, oMouseCol, nMouseRow )
local uVal, nRow, nCol
nRow := oBrw:nArrayAt + nMouseRow - oBrw:nRowSel
nCol := oMouseCol:nCreationOrder
uVal := oBrw:nArrayData[ nRow, nCol ]
return cValToChar( uVal ) |
help for xbrowse tooltip | Mr Nages: (tested on dbf)
[quote:3tgmxmlf] Path and name: D:\COUNTRY\NEWCONT32\Wcont32.Exe (32 bits)
Size: 2,646,016 bytes
Time from start: 0 hours 0 mins 13 secs
Error occurred at: 23/02/2015, 11:52:26
Error description: Error BASE/1082 Argument error: -
Args:
[ 1] = U
[ 2] = N 2
Stack Calls
===========
Called from: D:\COUNTR~1\NEWCON~1\wcont32.prg => MYCOLTOOLTIP(574)
Called from: D:\COUNTR~1\NEWCON~1\wcont32.prg => (b)COMPROBANTE(461)
Called from: XBROWSE.PRG => TXBROWSE:MOUSEMOVE(3403)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: CONTROL.PRG => TCONTROL:HANDLEEVENT(1490)
Called from: XBROWSE.PRG => TXBROWSE:HANDLEEVENT(10762)
Called from: .\source\classes\WINDOW.PRG => _FWH(3391)
Called from: => WINRUN(0)
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE(976)
Called from: D:\COUNTR~1\NEWCON~1\wcont32.prg => MAIN(192)
[/quote:3tgmxmlf]
[code=fw:3tgmxmlf]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oCol = oBrw:<span style="color: #000000;">AddCol</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /> oCol:<span style="color: #000000;">bStrData</span> = <span style="color: #000000;">{</span> || <span style="color: #000000;">(</span>cAlias<span style="color: #000000;">)</span>->NOMBRE <span style="color: #000000;">}</span> <br /> oCol:<span style="color: #000000;">cHeader</span> = <span style="color: #ff0000;">"DESCRIPCION DE LA CUENTA"</span> <br /> oCol:<span style="color: #000000;">nEditType</span> = <span style="color: #000000;">0</span> <span style="color: #B900B9;">//no editable</span><br /> oCol:<span style="color: #000000;">bToolTip</span> := <span style="color: #000000;">{</span> | oBrw,r,c,f,oMouseCol,nMouseRow| MyColToolTip<span style="color: #000000;">(</span> oBrw,r,c,f,oMouseCol,nMouseRow <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------</span><br /><span style="color: #00C800;">Function</span> MyColToolTip<span style="color: #000000;">(</span> oBrw, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> uBm, uVal<br /> <br /> <span style="color: #00C800;">if</span> nMouseRow != oBrw:<span style="color: #000000;">nRowSel</span><br /> uBm := oBrw:<span style="color: #000000;">BookMark</span><br /> Eval<span style="color: #000000;">(</span> oBrw:<span style="color: #000000;">bSkip</span>, nMouseRow - oBrw:<span style="color: #000000;">nRowSel</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">//here (variable nMouseRow do not exists)</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> oBrw:<span style="color: #000000;">BookMark</span> := uBm<br /> <span style="color: #00C800;">else</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> <span style="color: #00C800;">endif</span> <br /> <br /><span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /> </div>[/code:3tgmxmlf]
Regards |
help for xbrowse tooltip | Silvio
Change nArrayData as aArrayData.
It was my typing mistake |
help for xbrowse tooltip | This is working well for me here
[code=fw:xnz8zc1b]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> TestTip<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> oDlg, oFont, oBrw<br /><br /> USE CUSTOMER<br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">600</span>,<span style="color: #000000;">500</span> <span style="color: #0000ff;">PIXEL</span><br /> @ <span style="color: #000000;">10</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">-10</span>,<span style="color: #000000;">-10</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br /> DATASOURCE <span style="color: #ff0000;">"CUSTOMER"</span> <span style="color: #0000ff;">AUTOCOLS</span> ;<br /> CELL LINES NOBORDER<br /><br /> oBrw:<span style="color: #000000;">bToolTips</span> := ;<br /> <span style="color: #000000;">{</span> | oBrw,r,c,f,oMouseCol,nMouseRow| MyColToolTip<span style="color: #000000;">(</span> oBrw,r,c,f,oMouseCol,nMouseRow <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /><br /> oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------</span><br /><span style="color: #00C800;">Function</span> MyColToolTip<span style="color: #000000;">(</span> oBrw, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> uBm, uVal<br /><br /> <span style="color: #00C800;">if</span> nMouseRow != oBrw:<span style="color: #000000;">nRowSel</span><br /> uBm := oBrw:<span style="color: #000000;">BookMark</span><br /> Eval<span style="color: #000000;">(</span> oBrw:<span style="color: #000000;">bSkip</span>, nMouseRow - oBrw:<span style="color: #000000;">nRowSel</span> <span style="color: #000000;">)</span> <br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> oBrw:<span style="color: #000000;">BookMark</span> := uBm<br /> <span style="color: #00C800;">else</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /> </div>[/code:xnz8zc1b]
Instead of oCol:bToolTip, I assigned the codeblock to oBrw:bToolTips. This is the shortcut to assign the same codeblock to all columns in a single statement.
I am able to see the correct tool tips for all columns and there are no errors. Please try the above example just as it is. You may use any DBF.
Some advices though not relating to this:
bStrData has been deprecated many years back.
You can enjoy all the power and all features of xbrowse only when you use the command sytnax.
You have full liberty not to use the command syntax but at the cost of not using all features and full power of xbrowse. |
help for xbrowse tooltip | [quote:mhdynxgh]
function TestTip()
local oDlg, oFont, oBrw
USE CUSTOMER
DEFINE DIALOG oDlg SIZE 600,500 PIXEL
@ 10,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg ;
DATASOURCE "CUSTOMER" AUTOCOLS ;
CELL LINES NOBORDER
oBrw:bToolTips := ;
{ | oBrw,r,c,f,oMouseCol,nMouseRow| MyColToolTip( oBrw,r,c,f,oMouseCol,nMouseRow ) }
oBrw:CreateFromCode()
ACTIVATE DIALOG oDlg CENTERED
return nil
//----------------------------------------------------------
Function MyColToolTip( oBrw, r, c, f, oMouseCol, nMouseRow )
local uBm, uVal
if nMouseRow != oBrw:nRowSel
uBm := oBrw:BookMark
Eval( oBrw:bSkip, nMouseRow - oBrw:nRowSel )
uVal := oMouseCol:Value
oBrw:BookMark := uBm
else
uVal := oMouseCol:Value
endif
return cValToChar( uVal )
[/quote:mhdynxgh]
Mr. Nages.
Thanks for your time and patience, but I have not been able to make it work. Maybe it's my 1204 version .
Best regards. |
help for xbrowse tooltip | [quote:33zzyiwu]Thanks for your time and patience, but I have not been able to make it work. Maybe it's my 1204 version .
[/quote:33zzyiwu]
Yes. That is the reason |
help for xbrowse tooltip | thanks Nages,
it show the value of cell ok
but I have another problem because if you remember I have 61 column (first column is the teachers and the I have 10 columns for day for the hours)
with your script I have the number of column ===> nCol-1 ( the first is teachers)
How I can calc the day to have a return data type for sample 16 ( monday at 6 hour)
I tried with
nday:= int( (nCol-1) / 6) but it not run ok
I need this data to search on database the matter od lesson and show it with tooltip
Any idea ? |
help for xbrowse tooltip | [quote="FranciscoA":mw5n6nd7]
Thanks for your time and patience, but I have not been able to make it work. Maybe it's my 1204 version .
Best regards.[/quote:mw5n6nd7]
This may work for your version
[code=fw:mw5n6nd7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> MyColToolTip<span style="color: #000000;">(</span> oBrw, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> uBm, uVal<br /><br /> <span style="color: #B900B9;">// for older versions</span><br /> nMouseRow := oBrw:<span style="color: #000000;">MouseRowPos</span><span style="color: #000000;">(</span> r <span style="color: #000000;">)</span><br /> oMouseCol := oBrw:<span style="color: #000000;">MouseColPos</span><span style="color: #000000;">(</span> c <span style="color: #000000;">)</span><br /> oMouseCol := oBrw:<span style="color: #000000;">ColAtPos</span><span style="color: #000000;">(</span> oMouseCol <span style="color: #000000;">)</span><br /> <span style="color: #B900B9;">//</span><br /><br /> <span style="color: #00C800;">if</span> nMouseRow != oBrw:<span style="color: #000000;">nRowSel</span><br /> uBm := oBrw:<span style="color: #000000;">BookMark</span><br /> Eval<span style="color: #000000;">(</span> oBrw:<span style="color: #000000;">bSkip</span>, nMouseRow - oBrw:<span style="color: #000000;">nRowSel</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">//here (variable nMouseRow do not exists)</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> oBrw:<span style="color: #000000;">BookMark</span> := uBm<br /> <span style="color: #00C800;">else</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /><br /> </div>[/code:mw5n6nd7]
If you can please test and confirm if this is working, it may be useful for other users using old versions. |
help for xbrowse tooltip | José Luis.
Do you can tell us what version are you using? |
help for xbrowse tooltip | I use mysql and perfect function, use it as done Francisco and shows me the contents of any cell tool tip, thank you very much for your help...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
[code=fw:3if9zdr0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrow:<span style="color: #000000;">bToolTips</span> := <span style="color: #000000;">{</span> | oBrow, r, c, f, oMouseCol, nMouseRow| MyColToolTip<span style="color: #000000;">(</span> oBrow, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /><br /><span style="color: #00C800;">function</span> MyColToolTip<span style="color: #000000;">(</span> oBrw, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> uBm, uVal<br /><br /> <span style="color: #00C800;">if</span> nMouseRow != oBrw:<span style="color: #000000;">nRowSel</span><br /> uBm := oBrw:<span style="color: #000000;">BookMark</span><br /> Eval<span style="color: #000000;">(</span> oBrw:<span style="color: #000000;">bSkip</span>, nMouseRow - oBrw:<span style="color: #000000;">nRowSel</span> <span style="color: #000000;">)</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> oBrw:<span style="color: #000000;">BookMark</span> := uBm<br /> <span style="color: #00C800;">else</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /> </div>[/code:3if9zdr0] |
help for xbrowse tooltip | Mr. Nages : (using DBFs)
It works, but partially .
Only works well on the same line .
If we go down or go up to any line in the same column , does not work.
To work must select a different column and then stand on the desired cell.
Thanks.
[code=fw:3bol9mfc]<div class="fw" id="{CB}" style="font-family: monospace;"> oCol = oBrw:<span style="color: #000000;">AddCol</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /> oCol:<span style="color: #000000;">bEditValue</span> = <span style="color: #000000;">{</span> || <span style="color: #000000;">(</span>cAlias<span style="color: #000000;">)</span>->NOMBRE <span style="color: #000000;">}</span> <br /> oCol:<span style="color: #000000;">cHeader</span> = <span style="color: #ff0000;">"DESCRIPCION DE LA CUENTA"</span> <br /> oCol:<span style="color: #000000;">nEditType</span> = <span style="color: #000000;">0</span> <span style="color: #B900B9;">//no editable</span><br /> oCol:<span style="color: #000000;">bToolTip</span> := <span style="color: #000000;">{</span> | oBrw,r,c,f,oMouseCol,nMouseRow| MyColToolTip<span style="color: #000000;">(</span> oBrw,r,c,f,oMouseCol,nMouseRow <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------</span><br /><span style="color: #00C800;">Function</span> MyColToolTip<span style="color: #000000;">(</span> oBrw, r, c, f, oMouseCol, nMouseRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> uBm, uVal<br /><br /> <span style="color: #B900B9;">// for older versions</span><br /> nMouseRow := oBrw:<span style="color: #000000;">MouseRowPos</span><span style="color: #000000;">(</span> r <span style="color: #000000;">)</span><br /> oMouseCol := oBrw:<span style="color: #000000;">MouseColPos</span><span style="color: #000000;">(</span> c <span style="color: #000000;">)</span><br /> oMouseCol := oBrw:<span style="color: #000000;">ColAtPos</span><span style="color: #000000;">(</span> oMouseCol <span style="color: #000000;">)</span><br /> <span style="color: #B900B9;">//</span><br /><br /> <span style="color: #00C800;">if</span> nMouseRow != oBrw:<span style="color: #000000;">nRowSel</span><br /> uBm := oBrw:<span style="color: #000000;">BookMark</span><br /> Eval<span style="color: #000000;">(</span> oBrw:<span style="color: #000000;">bSkip</span>, nMouseRow - oBrw:<span style="color: #000000;">nRowSel</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">//here (variable nMouseRow do not exists)</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> oBrw:<span style="color: #000000;">BookMark</span> := uBm<br /> <span style="color: #00C800;">else</span><br /> uVal := oMouseCol:<span style="color: #000000;">Value</span><br /> <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /><br /> </div>[/code:3bol9mfc] |
help for xbrowse tooltip | [size=200:2egxjbtx]Mr Nages,
[b:2egxjbtx]thanks thanks very thanks[/b:2egxjbtx][/size:2egxjbtx]
[img:2egxjbtx]http://www.eoeo.it/wp-content/uploads/2015/02/TOOLTIP.jpg[/img:2egxjbtx] |
help ftp | Is customer.dbf in the same directory as your .EXE ? Re-reading your question it seems you want to open a remote dbf. Might be an opportunity to use the new HTML5 socket Antonio introduced a couple of month ago. If you can´t or don´t want I thing you´ll have to download the DBF before you can use it. |
help ftp | I want to open remote dbf...
any example? |
help ftp | I´m not aware of any direct way like use "remote/link/table.dbf". You might use hbnetio contrib. Have a look at harbour docs. |
help ftp | Hi Antonio, excuse me.
I have not experience with FTP and I'm trying.
I have on my pc server on 192.168.2.95 and on "c:\prova" i have the file CUSTOMER.DBF
I have this PRG:
#include "FiveWin.ch"
function Main()
local oInternet := TInternet():New()
local oFTP := TFTP():New( "192.168.2.95", oInternet, "usr", "psw" )
local aFiles
if ! Empty( oFTP:hFTP )
USE Customer
Browse()
USE
etc...
but I get this error:
Error description: (DOS Error 2) DBFNTX/1001 Open error: Customer.dbf
can you help me?
or
can you suggest me some other way to read the file CUSTOMER.DBF on Internet?
thanks |
help ftp | [b:27k2noy1]LetoDB[/b:27k2noy1] [url:27k2noy1]http://letodb.sourceforge.net/[/url:27k2noy1]
[quote:27k2noy1]Leto is a multiplatform database server or a database management system, chiefly intended for client programs, written on Harbour, be able to work with dbf/cdx files, located on a remote server. [/quote:27k2noy1]
[b:27k2noy1]Anser[/b:27k2noy1] |
help header xbrowse | Hi,
I have this xbrowse:
!CODICE ! DESCRIZIONE ! PREZZO ! <-----------header
!xxxxx ! abcdefg ! 1000,00 !
I would like that "PREZZO" is CENTER aligned and "1000,00" is RIGHT aligned
thanks for help. |
help header xbrowse | aamianodec,
[b:1v9kx763][color=#0000FF:1v9kx763]oCol = oBrw:AddCol()
oCol:cHeader := "PREZZO"
oCol:nHeadStrAlign := AL_CENTER
oCol:nDataStrAlign := AL_RIGHT[/color:1v9kx763][/b:1v9kx763]
or
[b:1v9kx763][color=#008040:1v9kx763]oBrw:aCols[3]:cHeader := "PREZZO"
oBrw:aCols[3]:nDataStrAlign := AL_CENTER
oBrw:aCols[3]:nHeadStrAlign := AL_RIGHT[/color:1v9kx763][/b:1v9kx763]
Best regards
Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
help header xbrowse | very good mr.ukoenig <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
help icon | Saludos a todos quisiera saber como hago para asociar el boton "?" de un diálogo con una ayuda específica para el uso del mismo
Gracias |
help icon | Primero estableces desde el programa cual va a ser tu fichero de ayuda:
SetHelpFile( "MiFicheroDeAyuda.chm" )
Y luego en el control que quieras ayuda añades la claúsula HELP ó HELPID
REDEFINE ... ... ID ... OF oDlg HELPID 1001 // en vez de 1001 el valor que sea
Tienes un ejemplo completo de todo lo que se puede hacer con las ayudas en samples/testchm.prg |
help icon | [b:1umnu4rr]surGom[/b:1umnu4rr]
Revisa aqui, esto puede ayudarte.
[url:1umnu4rr]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=27255&p=151596#p151596[/url:1umnu4rr]
Saludos.. |
help in marketing | Hey folks!
Who has already done some marketing for modharbour.org today?
Share your actions and motivate others!
Marketing and PR are essential for modharbour.org's success. Here are some reasons:
[b:gsfwne0c]Increase Awareness: [/b:gsfwne0c]
Effective marketing makes the project more known.
[b:gsfwne0c]Community Building: [/b:gsfwne0c]
PR and marketing attract supporters, helping improve the project.
[b:gsfwne0c]Build Trust: [/b:gsfwne0c]
PR activities strengthen credibility.
[b:gsfwne0c]Encourage Partnerships: [/b:gsfwne0c]
Good marketing and PR strategies attract potential partners.
[b:gsfwne0c]Collect Feedback: [/b:gsfwne0c]
Through marketing and PR, you gather valuable feedback for improvements.
[b:gsfwne0c]Funding: [/b:gsfwne0c]
Marketing increases the chances of finding sponsors or investors.
[b:gsfwne0c]Position as Industry Leader: [/b:gsfwne0c]
A good PR and marketing program positions modharbour.org as experts.
[b:gsfwne0c]Expand User Base: [/b:gsfwne0c]
Marketing and PR help make the project appealing to a broader audience. |
help me | tsbutton class 6.1 is compatible with fwppc ? |
help me | Dear Silvio,Just try it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
help me in function SaveToBmp | TO ALL I want the use function SaveToBmp with
# define NOTSRCCOPY
regards,hathal |
help on a GPF situation | I am looking for a working example using __TracePrgCalls( .T. ) as per the docs:
[quote:2lyrywas] * Once the tracing decribed below is turned on, you can call this
* in a PRG to trace PRG-level function calls:
*
* __TRACEPRGCALLS( <lOnOff> ) --> <lOldValue>
*
* It turns on|off tracing of PRG-level function and method calls.
* The symbol name is written just before it's called.
* This is very useful when debugging GPFs as it
* will trace all PRG-level calls up until the crash.
* Uses HB_TRACE so traces are in line with any C-level traces.[/quote:2lyrywas]
Is someone using it ? thanks
This may help many of us when a GPF suddenly happens <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
help on a GPF situation | This is the story about what happened with this feature:
[url:2946kg0p]http://comments.gmane.org/gmane.comp.lang.xharbour.devel/2053[/url:2946kg0p]
So, we have to rebuild hbvm.lib with -DHB_PRG_TRACE |
help on a GPF situation | How to build Harbour with this flag:
go.bat
[code=fw:156l4wjw]<div class="fw" id="{CB}" style="font-family: monospace;">set path=c:\bcc582\bin<br />set HB_USER_CFLAGS=-DHB_PRG_TRACE<br />win-make.exe</div>[/code:156l4wjw] |
help on a GPF situation | From our apps we have to do:
hb_TraceSysOut( .T. )
__TracePrgCalls( .T. ) |
help on a GPF situation | And run DbWin to see the output:
[url:zrypadtl]https://code.google.com/p/fivewin-contributions/downloads/detail?name=dbwin32.zip[/url:zrypadtl] |
help on a GPF situation | Maestro en xHarbour me retorna esto error:
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_TRACESYSOUT' referenced from C:
Que hacer?
Gracias, saludos. |
help on a GPF situation | João,
Puede ser que hb_TraceSysOut() sea una función de Harbour solamente. He revisado el código fuente de esas funciones en Harbour pero no las miré en xHarbour.
Prueba solo con __TracePrgCalls( .T. ) |
help on a GPF situation | Maestro en xHarbour esto está correcto?
#define HB_TR_DEBUG 5
HB_TR_FLUSH=1
HB_TR_LEVEL=HB_TR_DEBUG
HB_TR_OUTPUT= "c:\trace.txt"
And in our code:
hb_tracestate(1)
__TracePrgCalls( .t. )
doesn't create c:\trace.txt anymore.
<!-- m --><a class="postlink" href="http://marcosgambeta.files.wordpress.com/2010/08/hrbfunccore-20100802.pdf">http://marcosgambeta.files.wordpress.co ... 100802.pdf</a><!-- m -->
Regards, |
help on a GPF situation | [code=fw:2lm7vpcp]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#Define</span> HB_TR_DEBUG <span style="color: #000000;">5</span><br /><br /> <span style="color: #B900B9;">// hb_TraceSysOut( .T. ) // Funciona en Harbour no [x]Harbour</span><br /> HB_TR_FLUSH=<span style="color: #000000;">1</span><br /> HB_TR_LEVEL=HB_TR_DEBUG<br /> HB_TR_OUTPUT = cDirPleno + <span style="color: #ff0000;">"TRACE.LOG"</span><br /><br /> <span style="color: #B900B9;">//And in our code:</span><br /><br /> <span style="color: #B900B9;">// To trace calls for FWH</span><br /> __TRACEPRGCALLS<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /> HB_TRACELEVEL<span style="color: #000000;">(</span> <span style="color: #000000;">5</span> <span style="color: #000000;">)</span><br /> HB_TRACESTATE<span style="color: #000000;">(</span><span style="color: #000000;">1</span><span style="color: #000000;">)</span><br /> </div>[/code:2lm7vpcp] |
help on a GPF situation | [code=fw:wo4wzbeh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// testtrac.prg</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> HB_TR_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_DEBUG <span style="color: #000000;">5</span><br /><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_DEBUG <span style="color: #000000;">5</span><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"TRACING STATUS"</span><br /><br /> __TRACEPRGCALLS<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"hb_traceLevel"</span>, hb_traceLevel<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"hb_traceState"</span>, hb_traceState<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"LEVEL: HB_TR_ALWAYS"</span>, HB_TRACELEVEL<span style="color: #000000;">(</span> HB_TR_ALWAYS <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"LEVEL: HB_TR_FATAL"</span>, HB_TRACELEVEL<span style="color: #000000;">(</span> HB_TR_FATAL <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"LEVEL: HB_TR_ERROR"</span>, HB_TRACELEVEL<span style="color: #000000;">(</span> HB_TR_ERROR <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"LEVEL: HB_TR_WARNING"</span>, HB_TRACELEVEL<span style="color: #000000;">(</span> HB_TR_WARNING <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"LEVEL: HB_TR_INFO"</span>, HB_TRACELEVEL<span style="color: #000000;">(</span> HB_TR_INFO <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"LEVEL: HB_TR_DEBUG"</span>, HB_TRACELEVEL<span style="color: #000000;">(</span> HB_TR_DEBUG <span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:wo4wzbeh] |
help on a GPF situation | João,
gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
help on a GPF situation | Joao,
Conseguiste que te funcionase hb_traceSysOut( .T. ) que envía los mensajes con OutputDebugString() ?
Debe hacer que la salida sea por DbWin32 (por DebugView parece que no funciona)
gracias por tu ayuda! |
help on a GPF situation | Buenos días Maestro, No. Lo pregunté en el foro FiveWin Brasil, y nadie sabía de la existencia de este comando.
[code=fw:35ct7ub1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//-> \SAMPLES\HBSENHA.PRG</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> HB_TR_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_DEBUG <span style="color: #000000;">5</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_DEBUG <span style="color: #000000;">5</span><br /><br />MEMVAR cText ,cKey, cEncrypted, cPassWord<br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> *---------------------------------------------------------------------------------------*<br /> <span style="color: #00D7D7;">#pragma</span> TEXTHIDDEN<span style="color: #000000;">(</span><span style="color: #000000;">1</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">PUBLIC</span> cPassWord := <span style="color: #ff0000;">"Q65h3l8j41B"</span> <span style="color: #B900B9;">// <- Very important not to change Password or Delete !!! <------- "Top Secret ;-)"</span><br /><br /> <span style="color: #00D7D7;">#pragma</span> TEXTHIDDEN<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br /> *---------------------------------------------------------------------------------------*<br /><br /> __TRACEPRGCALLS<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /><br /> cText := <span style="color: #ff0000;">"This is my secret message."</span><br /><br /> cKey := HB_blowfishKey<span style="color: #000000;">(</span> cPassWord <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Original: "</span> + HB_StrToExp<span style="color: #000000;">(</span> cText <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">/* encrypt data */</span><br /> #ifdef __XHARBOUR__ <span style="color: #B900B9;">// xHarbour</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Encrypted: "</span> + StrToHex<span style="color: #000000;">(</span> cEncrypted := HB_blowfishEncrypt<span style="color: #000000;">(</span> cKey, cText <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> #else <span style="color: #B900B9;">// Harbour</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Encrypted: "</span> + HB_StrToHex<span style="color: #000000;">(</span> cEncrypted := HB_blowfishEncrypt<span style="color: #000000;">(</span> cKey, cText <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> #endif<br /><br /> <span style="color: #B900B9;">/* decrypt data */</span><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Decrypted: "</span> + HB_StrToExp<span style="color: #000000;">(</span> HB_blowfishDecrypt<span style="color: #000000;">(</span> cKey, cEncrypted <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"hb_traceLevel"</span>, hb_traceLevel<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"hb_traceState"</span>, hb_traceState<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">/*<br /> ? "LEVEL: HB_TR_ALWAYS", HB_TRACELEVEL( HB_TR_ALWAYS )<br /> ? "LEVEL: HB_TR_FATAL", HB_TRACELEVEL( HB_TR_FATAL )<br /> ? "LEVEL: HB_TR_ERROR", HB_TRACELEVEL( HB_TR_ERROR )<br /> ? "LEVEL: HB_TR_WARNING", HB_TRACELEVEL( HB_TR_WARNING )<br /> ? "LEVEL: HB_TR_INFO", HB_TRACELEVEL( HB_TR_INFO )<br /> ? "LEVEL: HB_TR_DEBUG", HB_TRACELEVEL( HB_TR_DEBUG )<br /> */</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> StrToHex<span style="color: #000000;">(</span> cString <span style="color: #000000;">)</span> <br /><span style="color: #00C800;">RETURN</span> Lower<span style="color: #000000;">(</span> cString <span style="color: #000000;">)</span><br /><br /><span style="color: #B900B9;">// FIN</span><br /> </div>[/code:35ct7ub1]
Regards, saludos. |
help on a GPF situation | En xHarbour:
[code=fw:pmjouqva]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />HBSENHA.c:<br /><br /><span style="color: #000000;">Error</span>: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_TRACESYSOUT'</span><br />Error: <span style="color: #000000;">Unable</span> <span style="color: #0000ff;">to</span> perform link<br />* Linking errors *<br /> </div>[/code:pmjouqva]
Regards, saludos. |
help on a GPF situation | Tenemos que conseguir poder visualizar toda la actividad de Harbour ahi <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
[img:1t7h9p5y]https://github.com/FiveTechSoft/screenshots/blob/master/hb_trace.jpg?raw=true[/img:1t7h9p5y] |
help on a GPF situation | Master, que versión de HARBOUR usas? En mi versión, esto no funciona.
Regards, saludos. |
help on a GPF situation | [code=fw:31lkgu5m]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//-> \SAMPLES\HBSENHA.PRG</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> HB_TR_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_DEBUG <span style="color: #000000;">5</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_DEBUG <span style="color: #000000;">5</span><br /><br />MEMVAR cText ,cKey, cEncrypted, cPassWord<br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> *---------------------------------------------------------------------------------------*<br /> <span style="color: #00D7D7;">#pragma</span> TEXTHIDDEN<span style="color: #000000;">(</span><span style="color: #000000;">1</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">PUBLIC</span> cPassWord := <span style="color: #ff0000;">"Q65h3l8j41B"</span> <span style="color: #B900B9;">// <- Very important not to change Password or Delete !!! <------- "Top Secret ;-)"</span><br /><br /> <span style="color: #00D7D7;">#pragma</span> TEXTHIDDEN<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br /> *---------------------------------------------------------------------------------------*<br /><br /> cText := <span style="color: #ff0000;">"This is my secret message."</span><br /><br /> cKey := HB_blowfishKey<span style="color: #000000;">(</span> cPassWord <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Original: "</span> + HB_StrToExp<span style="color: #000000;">(</span> cText <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">/* encrypt data */</span><br /> #ifdef __XHARBOUR__ <span style="color: #B900B9;">// xHarbour</span><br /><br /> __TRACEPRGCALLS<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Encrypted: "</span> + StrToHex<span style="color: #000000;">(</span> cEncrypted := HB_blowfishEncrypt<span style="color: #000000;">(</span> cKey, cText <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"hb_traceLevel"</span>, hb_traceLevel<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"hb_traceState"</span>, hb_traceState<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> #else <span style="color: #B900B9;">// Harbour</span><br /><br /> hb_traceSysOut<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Encrypted: "</span> + HB_StrToHex<span style="color: #000000;">(</span> cEncrypted := HB_blowfishEncrypt<span style="color: #000000;">(</span> cKey, cText <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> ? HB_TRACELOG<span style="color: #000000;">(</span> <span style="color: #ff0000;">"hbsenha"</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">// retorna vacio</span><br /><br /> ? HB_TRACEMODE<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #B900B9;">// retorna W</span><br /><br /> #endif<br /><br /> <span style="color: #B900B9;">/* decrypt data */</span><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Decrypted: "</span> + HB_StrToExp<span style="color: #000000;">(</span> HB_blowfishDecrypt<span style="color: #000000;">(</span> cKey, cEncrypted <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">/*<br /> ? "LEVEL: HB_TR_ALWAYS", HB_TRACELEVEL( HB_TR_ALWAYS )<br /> ? "LEVEL: HB_TR_FATAL", HB_TRACELEVEL( HB_TR_FATAL )<br /> ? "LEVEL: HB_TR_ERROR", HB_TRACELEVEL( HB_TR_ERROR )<br /> ? "LEVEL: HB_TR_WARNING", HB_TRACELEVEL( HB_TR_WARNING )<br /> ? "LEVEL: HB_TR_INFO", HB_TRACELEVEL( HB_TR_INFO )<br /> ? "LEVEL: HB_TR_DEBUG", HB_TRACELEVEL( HB_TR_DEBUG )<br /> */</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> StrToHex<span style="color: #000000;">(</span> cString <span style="color: #000000;">)</span><br /><span style="color: #00C800;">RETURN</span> Lower<span style="color: #000000;">(</span> cString <span style="color: #000000;">)</span><br /><br /><span style="color: #B900B9;">// FIN</span><br /> </div>[/code:31lkgu5m]
Regards, saludos. |
help on a GPF situation | [img:sss7kc83]https://github.com/FiveTechSoft/screenshots/blob/master/trace2.jpg?raw=true[/img:sss7kc83] |
help on a GPF situation | Maestro, ¿cómo llamo internamente dentro del programa para invocar DBWIN32.exe?
Ya lo he copiado DBWIN32.exe a la carpeta \ samples.
Gracias.
Regards, saludos. |
help on a GPF situation | No és posible, no funciona! Que hago mal?
[code=fw:u041z54o]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//-> \SAMPLES\TESTE.PRG</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> HB_TR_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_DEBUG <span style="color: #000000;">5</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ALWAYS <span style="color: #000000;">0</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_FATAL <span style="color: #000000;">1</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_ERROR <span style="color: #000000;">2</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_WARNING <span style="color: #000000;">3</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_INFO <span style="color: #000000;">4</span><br /><span style="color: #00D7D7;">#define</span> HB_TR_LEVEL_DEBUG <span style="color: #000000;">5</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> hb_tracelevel<span style="color: #000000;">(</span><span style="color: #000000;">5</span><span style="color: #000000;">)</span><br /><br /> hb_traceloglevel<span style="color: #000000;">(</span><span style="color: #000000;">5</span><span style="color: #000000;">)</span><br /><br /> hb_TraceSysOut<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /> __TracePrgCalls<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">IF</span> File<span style="color: #000000;">(</span> <span style="color: #ff0000;">"test.txt"</span> <span style="color: #000000;">)</span><br /><br /> OutputDebugString<span style="color: #000000;">(</span> <span style="color: #ff0000;">"El archivo existe"</span> + hb_osnewline<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">ELSE</span><br /><br /> OutputDebugString<span style="color: #000000;">(</span> <span style="color: #ff0000;">"El archivo no existe"</span> + hb_osnewline<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">ENDIF</span><br /><br /> ? hb_traceMode<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #B900B9;">// W ? // no llama DBWIN32.exe ??</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #B900B9;">// FIN</span><br /> </div>[/code:u041z54o]
Regards, saludos. |
help on a GPF situation | Listo!
[code=fw:3s3vs32z]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Ejemplo:<br /><br /><span style="color: #00C800;">IF</span> File<span style="color: #000000;">(</span> <span style="color: #ff0000;">"test.txt"</span> <span style="color: #000000;">)</span><br /> OutputDebugString<span style="color: #000000;">(</span> <span style="color: #ff0000;">"El archivo existe"</span> + hb_osnewline<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><span style="color: #00C800;">ELSE</span><br /> OutputDebugString<span style="color: #000000;">(</span> <span style="color: #ff0000;">"El archivo no existe"</span> + hb_osnewline<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><span style="color: #00C800;">ENDIF</span><br /><br />Al incluir esto en nuestro codigo fuente realmente no estaremos viendo nada, en primer lugar antes de ejecutar nuestro programa debemos tener en ejecucion dbwin32.exe, este programa se encarga de mostrar en pantalla la informacion pasada como parametro a la funcion OutputDebugString<span style="color: #000000;">(</span><span style="color: #000000;">)</span>.<br /> </div>[/code:3s3vs32z]
[url:3s3vs32z]http://codigo-base.blogspot.com/2008/07/depurando-en-windows_4979.html[/url:3s3vs32z]
Regards, saludos. |
help on a GPF situation | Ahora lo "divertido" será capturar esas salidas en nuestro programa para no necesitar el dbwin2, no? |
help on a GPF situation | Joao,
Ejecutas primero dbwin32.exe, luego defines esa variable de entorno y ejecutas tu EXE
> ¿cómo llamo internamente dentro del programa para invocar DBWIN32.exe?
set HB_TR_SYSOUT=yes
tienes que tener esa variable de entorno definida y Harbour se encarga del resto
Harbour tiene que haber sido construido usando esto:
set HB_BUILD_DEBUG=yes |
help on a GPF situation | [url:1mlgo2f2]https://github.com/harbour/core/blob/master/doc/tracing.txt[/url:1mlgo2f2]
[quote:1mlgo2f2]INTRODUCTION
============
This file explains how to enable tracing in Harbour.
TRACING
=======
Harbour implements tracing by adding calls to the following macro in
the C code:
HB_TRACE( level, ( "printf-style parameters", arg1, arg2 ) );
The level specified for the HB_TRACE call affects Harbour in two ways:
compilation time and run time.
COMPILATION TIME
================
At compilation time, the macro checks whether the preprocessor
constant HB_TR_LEVEL is set to any of the following values:
#define HB_TR_ALWAYS 0
#define HB_TR_FATAL 1
#define HB_TR_ERROR 2
#define HB_TR_WARNING 3
#define HB_TR_INFO 4
#define HB_TR_DEBUG 5
#define HB_TR_LEVEL_ALWAYS 0
#define HB_TR_LEVEL_FATAL 1
#define HB_TR_LEVEL_ERROR 2
#define HB_TR_LEVEL_WARNING 3
#define HB_TR_LEVEL_INFO 4
#define HB_TR_LEVEL_DEBUG 5
If it is not set to any of these, the macro is set to the value of
HB_TR_DEFAULT, which is currently set (in hbtrace.h) to HB_TR_WARNING.
Whether the user explicitly sets HB_TR_LEVEL or it is set by the
compiler, its effect is as follows: any calls in the code with a level
higher than HB_TR_LEVEL are obliterated from the code; these calls
simply disappear, and there is no effect in the code performance
thereafter.
RUN TIME
========
At run time, the user can set the environment variable HB_TR_LEVEL to
one of
HB_TR_ALWAYS
HB_TR_FATAL
HB_TR_ERROR
HB_TR_WARNING
HB_TR_INFO
HB_TR_DEBUG
with the following effect: any calls to HB_TRACE that were left by the
compiler and which have a level lower or equal to HB_TR_LEVEL will
print its arguments on STDERR.
EXAMPLES
========
HB_TR_LEVEL HB_TR_LEVEL Description
compilation run-time
----------- ----------- ----------------------------------------
HB_TR_INFO HB_TR_ERROR All calls with levels HB_DEBUG are
or erased from the code, so they have no
HB_TR_LEVEL_INFO performance effect; only calls with
levels HB_TR_ERROR, HB_TR_FATAL and
HB_TR_ALWAYS are printed.
HB_TR_WARNING HB_TR_INFO All calls with levels HB_INFO and
or HB_DEBUG are erased from the code, so
HB_TR_LEVEL_WARNING they have no performance effect; only
calls with levels HB_TR_WARNING,
HB_TR_ERROR, HB_TR_FATAL and
HB_TR_ALWAYS are printed. Notice how
setting HB_TR_INFO at run-time has no
effect, since the code was compiled with
a lower tracing level.
For example, I compile Harbour on Windows with gcc (mingw), so I
usually set the HB_USER_CFLAGS environment variable like this:
export HB_USER_CFLAGS='-DHB_TR_LEVEL=HB_TR_INFO'
or for other OS (e.g.: MS-DOS, Windows)
SET HB_USER_CFLAGS=-DHB_TR_LEVEL_INFO
and make sure I have all the tracing for the INFO, WARNING, ERROR,
FATAL and ALWAYS levels. If I get too much information, at run-time I
can set an environment variable like this:
export HB_TR_LEVEL=HB_TR_WARNING
or for other OS (e.g.: MS-DOS, Windows)
SET HB_TR_LEVEL=HB_TR_WARNING
and get rid of all the tracing for the INFO level. In this case, all
the calls to the tracing function for the INFO level will be done
anyway, so there will be a performance hit.
USAGE
=====
When Harbour is compiled/run with some level of tracing and then used
to compile a regular Harbour application, the app will output LOTS of
tracing information to STDERR. If you are using a sensible command
shell (such as bash) you can redirect STDERR to a file like this:
my_app 2> trace.txt
REDIRECTION
===========
The output generated while tracing goes to STDERR by default. You can
control this at run-time by setting the environment variable
HB_TR_OUTPUT to the name of a file where you would like the tracing
output to be directed. If there is any problem opening the file for
writing, the output reverts to STDERR.
When it happens an error and the controller of errors of Harbour cannot
intercept it (e.g.: GPF), it can happen that part of information of tracing
it is not written. This problem is avoided setting the environment
variable HB_TR_FLUSH to 1 (one). This makes that every time that one
record is sent to write, don't remain in the buffer, but rather it is
written in the file before continuing with the execution.
This set can produce an important reduction of speed of execution.
TRACING THE PREPROCESSOR AND COMPILER
=====================================
Usually, you will not want tracing enabled in the preprocessor and
compiler; otherwise, you will see the trace output while compiling
Harbour itself. If you REALLY want to enable tracing in the
preprocessor and/or compiler, you must define, in addition to
HB_TR_LEVEL as described above, the following variable, and then
recompile the preprocessor/compiler:
HB_TRACE_UTILS
The value is of no importance.
TRACING AND RUNTIME
===================
It is also possible to enable and disable tracing at run-time, and to
query and set the trace level. From C code:
* To query the current tracing state, and optionally change the
current state to a given value (which should be in the range [0,1],
otherwise the current state remains unchanged):
hb_tracestate( state );
Therefore, to just query the current state, you can safely call
current_state = hb_tracestate( -1 );
To turn tracing completely off:
hb_tracestate( 0 );
To turn tracing back on:
hb_tracestate( 1 );
* To query the current tracing level, and optionally change the
current level to a given value (which should be in the range [0,5],
otherwise the current level remains unchanged):
hb_tracelevel( level );
Therefore, to just query the current level, you can safely call
current_level = hb_tracelevel( -1 );
There are wrapper functions callable from Clipper code:
current_state := hb_traceState( [<new_state>] )
current_level := hb_traceLevel( [<new_level>] )[/quote:1mlgo2f2] |
help on a GPF situation | This example generates info.log and uses dbwin32. Please have dbwin32 running before calling go.bat
go.bat
[code=fw:fb8x3nc4]<div class="fw" id="{CB}" style="font-family: monospace;">call <span style="color: #ff0000;">"%ProgramFiles(x86)%<span style="color: #000000;">\M</span>icrosoft Visual Studio<span style="color: #000000;">\2</span>019<span style="color: #000000;">\C</span>ommunity<span style="color: #000000;">\V</span>C<span style="color: #000000;">\A</span>uxiliary<span style="color: #000000;">\B</span>uild<span style="color: #000000;">\v</span>cvarsall.bat"</span> x86_x64<br />set HB_TR_LEVEL=debug<br />set HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG<br />set HB_TR_SYSOUT=yes<br />set HB_TR_OUTPUT=info.log<br />c:\harbour\bin\win\msvc64\hbmk2 test.prg -comp=msvc64<br />test</div>[/code:fb8x3nc4]
test.prg
[code=fw:fb8x3nc4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> hb_traceLevel<span style="color: #000000;">(</span> <span style="color: #000000;">5</span> <span style="color: #000000;">)</span><br /> hb_traceSysOut<span style="color: #000000;">(</span> .T. <span style="color: #000000;">)</span><br /> hb_traceLog<span style="color: #000000;">(</span> <span style="color: #ff0000;">"hello"</span> <span style="color: #000000;">)</span><br /> Test<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> TEST <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> HB_TRACE<span style="color: #000000;">(</span> HB_TR_DEBUG, <span style="color: #000000;">(</span> <span style="color: #ff0000;">"TEST()(%s)"</span>, <span style="color: #ff0000;">"ok"</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /><span style="color: #000000;">}</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDUMP</div>[/code:fb8x3nc4]
Harbour must have been built using this:
set HB_BUILD_DEBUG=yes
Please check the contents of the generated file info.log and the dbwin32 output |
help on a GPF situation | I am building Harbour 64 bits this way:
Remove the rem here to have full Harbour activity:
set HB_TR_LEVEL=debug
go.bat (run this from c:\harbour)
[code=fw:rdlwzcg7]<div class="fw" id="{CB}" style="font-family: monospace;">call <span style="color: #ff0000;">"%ProgramFiles(x86)%<span style="color: #000000;">\M</span>icrosoft Visual Studio<span style="color: #000000;">\2</span>019<span style="color: #000000;">\C</span>ommunity<span style="color: #000000;">\V</span>C<span style="color: #000000;">\A</span>uxiliary<span style="color: #000000;">\B</span>uild<span style="color: #000000;">\v</span>cvarsall.bat"</span> x86_amd64<br />set HB_COMPILER=msvc64<br />set HB_BUILD_MODE=c<br />set HB_USER_PRGFLAGS=-l-<br />set HB_BUILD_CONTRIBS<br /><br />set HB_BUILD_DEBUG=yes<br />rem set HB_TR_LEVEL=debug<br />set HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG<br /><br />set HB_WITH_OPENSSL=c:\OpenSSL-Win64\include<br />set HB_WITH_CURL=c:\curl\include<br />set HB_OPENSSL_STATIC=yes <br />set HB_STATIC_OPENSSL=yes <br />set HB_STATIC_CURL=yes<br />set HB_BUILD_DYN=no<br />set HB_BUILD_CONTRIB_DYN=no<br />del .\src\common\obj\win\msvc64\hbver.obj<br />del .\src\common\obj\win\msvc64\hbver_dyn.obj<br />del .\src\common\obj\win\msvc\hbverdsp.obj<br />win-make.exe<br />copy c:\harbour\lib\win\msvc64\libcurl-x64.lib c:\harbour\lib\win\msvc64\libcurl.lib<br />copy c:\harbour\lib\win\msvc64\libssl-1_1-x64.lib c:\harbour\lib\win\msvc64\ssleay32.lib<br />copy c:\harbour\lib\win\msvc64\libcrypto-1_1-x64.lib c:\harbour\lib\win\msvc64\libcrypto.lib</div>[/code:rdlwzcg7] |
help on a GPF situation | <!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=45&t=40965&start=0">viewtopic.php?f=45&t=40965&start=0</a><!-- l -->
[img:4dnbxs08]https://github.com/FiveTechSoft/screenshots/blob/master/modharbour_trace.jpg?raw=true[/img:4dnbxs08] |
help on string comparisons | Hi
I have this field in recordset: oRs:Fields("CODICE"):value
Field CODICE in table is CHAR(15) but in oRs object it lost right blanks.
inside table I have due article:
1st article "5224366010"
2nd article "5224366010V10"
when field oRs:Fields("CODICE"):value is "5224366010V10"
[code=fw:fczgwku4]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cCdpar = <span style="color: #ff0000;">"45224366010"</span><br /><span style="color: #00C800;">IF</span> oRs:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"CODICE"</span><span style="color: #000000;">)</span>:<span style="color: #000000;">value</span> <> cCdpar<br /> cCdpar = oLgoft:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"LGCDPA"</span><span style="color: #000000;">)</span>:<span style="color: #000000;">value</span><br /><span style="color: #00C800;">endif</span><br /> </div>[/code:fczgwku4]
the IF istruction is false but articles are diferrent.
how can I to solve it? have I to use SET EXACT ON? |
help on string comparisons | Can you try with this
[code=fw:3h4xhcsb]<div class="fw" id="{CB}" style="font-family: monospace;">cCdpar = <span style="color: #ff0000;">"45224366010"</span><br /><span style="color: #00C800;">IF</span> !alltrim<span style="color: #000000;">(</span>oRs:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"CODICE"</span><span style="color: #000000;">)</span>:<span style="color: #000000;">value</span><span style="color: #000000;">)</span> == alltrim<span style="color: #000000;">(</span>cCdpar<span style="color: #000000;">)</span><br /> cCdpar = oLgoft:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"LGCDPA"</span><span style="color: #000000;">)</span>:<span style="color: #000000;">value</span><br /><span style="color: #00C800;">endif</span><br /> </div>[/code:3h4xhcsb] |
help on string comparisons | hi Marc, thank you, that's good solution.
But is SET EXACT ON a good solution too?
why CHAR fields in recordest lose right blanks ? |
help on string comparisons | which database are you using? the column is char(15) or varchar(15)?
On our application on SQL Server we have all column "char" and the spaces are not trimmed.
they are trimmed with varchar |
help on string comparisons | Hi Antonino
Database is BD2 on iSeries IBM and field CODICE is CHAR(15) (not VARCHAR) but when recordset read table chars are trimmed:
Field CHAR(15) in DBU = "123456abc "
field read = "123456abc". |
help sample | anyone have an small sample of interpoint ? |
help to MANUEL MERCADO | How run the command SBGROUP ?
I must create beach configuration : 60x30, 70x30, 85x30
Can I create 100x30 buttons in a dialog ? |
help to Rc files | where may I found description do rc filewhat does mean any parameters in this line ?{ CONTROL "", 120, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 16, 19, 149, 70 EDITTEXT 130, 16, 106, 149, 51, ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_BORDER | WS_VSCROLL | WS_TABSTOP LTEXT "Multiline-Get with READONLY", -1, 18, 94, 111, 8 CONTROL "", 140, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 176, 19, 160, 177} |
help to Rc files | kajot,normally you don't see this code and there is no need to edit or analyze this.This rc file is the output of a resource editor like Borland resource workshop or similar programs.With those programs you are designing dialogs visually and the rc code is generated automatically.If you would like to know details of this code you can try to modify screen positions, sizes, styles and id numbers with your resource editor and watch it's output.Regards,Detlef |
help to compile ER | I download it from <!-- m --><a class="postlink" href="https://bitbucket.org/fivetech/easyreport/downloads">https://bitbucket.org/fivetech/easyreport/downloads</a><!-- m -->
Isaw there is a xhp file for xmate
and with xmate I tried to compile it
Seem need other files and I cannot compile it
wich are the files I need to compile it with the last fwh ?
thanks |
help to compile ER | What mistakes do you get? |
help to compile ER | I wish have all original files and compile it with xmate..
Do you have xhp file with orinal files to compile
for a sample we not have these
C:\Entwicklung\FiveWin\Addons\OZScript\Source\TscrLin.prg=16,.F.,0,0,
C:\Entwicklung\FiveWin\Addons\OZScript\Source\TScript.prg=17,.F.,0,0,
C:\Entwicklung\FiveWin\Addons\OZScript\Source\TScrFun.prg=18,.F.,0,0,
C:\Entwicklung\xHarbour\Addons\mail\mail.lib
C:\Entwicklung\xHarbour\Addons\tsmtp\TSOCKET.PRG=23,.F.,0,0,
C:\Entwicklung\xHarbour\Addons\tsmtp\TPOP3.PRG=24,.F.,0,0,
C:\Entwicklung\xHarbour\Addons\tsmtp\WINSOCK.C=25,.F.,1,1,
then I wish use [b:3mh9kmy6]tree of fw[/b:3mh9kmy6] and not these
C:\Entwicklung\FiveWin\Addons\TreeView5\SOURCE\TREEVIEW.PRG=19,.F.,100,1,
C:\Entwicklung\FiveWin\Addons\TreeView5\SOURCE\TREELINK.PRG=20,.F.,0,0,
C:\Entwicklung\FiveWin\Addons\TreeView5\SOURCE\TREEITEM.PRG=21,.F.,0,0,
C:\Entwicklung\FiveWin\Addons\TreeView5\SOURCE\TVITEM.PRG=22,.F.,0,0,
C:\Entwicklung\FiveWin\Addons\TreeView5\LIB\TREE32.LIB=31,.F.,0,0,
then I think this class [b:3mh9kmy6]are changed[/b:3mh9kmy6] but I not Know where
%HOME%\tget.prg=12,.F.,0,0,
%HOME%\mget.prg=13,.F.,0,0,
%HOME%\dialog.prg=14,.F.,0,0,
%HOME%\control.prg=15,.F.,0,0, |
help to compile ER | Silvio,
It seems as you are trying to build the original 16 bits version |
help to compile ER | Please can you send me all files on a zip I can compile with the last fwh to my private mails . thanks |
help to compile ER | Antonio
with Harbour I have these errors
Progetto: harbour_ereport, Ambiente: Five_Pelles:
[1]:Harbour.Exe "source\ereport.prg" /m /n0 /gc1 /es2 /ic:\work\fwh\include;c:\work\bcc582\include;c:\work\harbour\include /ic:\work\Harbour\Include /jitaliano.HIT /iinclude;c:\work\fwh\include;c:\work\Harbour\include /o"Obj\ereport.c"
Harbour 3.2.0dev (r1406271520)
Copyright (c) 1999-2014, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m -->
Compiling 'source\ereport.prg'...
Lines 10122, Functions/Procedures 98
Generating C source output to 'Obj\ereport.c'... Done.
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -Ic:\work\fwh\include;c:\work\bcc582\include;c:\work\harbour\include -IC:\WORK\bcc7\Include;c:\work\Harbour\Include -nH:\FIVETECH\EASYRE~2\Obj "ereport.c"
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
ereport.c:
Error E2209 c:\work\bcc582\include\_stddef.h 57: Unable to open include file 'yvals.h'
*** 1 errors in Compile ***
with xharbour
Progetto: ereport, Ambiente: xFive_Pelles:
[1]:Harbour.Exe "source\ereport.prg" /m /n0 /gc1 /es2 /ic:\work\fwh\include;c:\work\bcc582\include;c:\work\harbour\include /ic:\work\xHarbour\Include /jH:\FIVETECH\EASYRE~2\I18n\Main.hil /iinclude;c:\work\fwh\include;c:\work\xHarbour\include /o"Obj\ereport.c"
xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603)
Copyright 1999-2015, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Compiling 'source\ereport.prg'...
Generating international list to 'H:\FIVETECH\EASYRE~2\I18n\Main.hil'...
hbclass.ch(134) Error E0025 Error in #if expression
hbclass.ch(290) Error E0009 Label error in #translate/#command: ''
source\ereport.prg(4689) Error E0030 Syntax error: "syntax error at ';'"
source\ereport.prg(4693) Error E0030 Syntax error: "syntax error at 'FUNCTION'"
source\ereport.prg(4800) Error E0030 Syntax error: "syntax error at ';'"
source\ereport.prg(5299) Error E0030 Syntax error: "syntax error at ';'"
source\ereport.prg(5346) Error E0030 Syntax error: "syntax error at ';'"
7 errors
No code generated |
help to compile ER | Silvio,
You are using bcc 582 headers with bcc 7:
[quote:3a16bp76]Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
ereport.c:
Error E2209 c:\work\bcc582\include\_stddef.h 57: Unable to open include file 'yvals.h'[/quote:3a16bp76]
Please setup bcc 7 properly:
c:\bcc7\bin\bcc32.cfg
-I "c:\bcc7\include";"c:\bcc7\include\windows\crtl";"c:\bcc7\include\dinkumware";"c:\bcc7\include\windows\rtl";"c:\bcc7\include\windows\sdk";"c:\bcc7\include\windows\sdk\atl"
-L"c:\bcc7\lib";"c:\bcc7\lib\psdk"
c:\bcc7\bin\ilink32.cfg
-L"c:\bcc7\lib";"c:\bcc7\lib\psdk"[/code] |
help to compile ER | opppss
mhm.. it's very strange I use bcc7 normally
this afternoon I control |
help to compile c5new.c | I have problems with c5new.c
I have xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6715)
I
when I compile it make errors but create the lib
[b:3g7y6xo8]I have this problem [/b:3g7y6xo8]
if I link the lib , then I cannot see bitmaps on combobox control of fivewin
I must compile with lib of P a c o for vmenu.prg and vitem.prg ( vtaskbar)
I have some error when I compile c5new.c
I not Know why but I made many tests
Error E2451 c5cnew.c 303: Undefined symbol 'hb_stackST' in function HB_FUN_BOX
Error E2451 c5cnew.c 339: Undefined symbol 'hb_stackST' in function HB_FUN_BOXEX
Error E2451 c5cnew.c 730: Undefined symbol 'hb_stackST' in function HB_FUN_FILLSOLIDRECT
Error E2451 c5cnew.c 940: Undefined symbol 'hb_stackST' in function HB_FUN_ROUNDRECTEX
Warning W8064 c5cnew.c 1114: Call to function with no prototype in function C5_IsAppThemed
Warning W8065 c5cnew.c 1123: Call to function 'C5_IsAppThemed' with no prototype in function HB_FUN_C5_ISAPPTHEMED
Warning W8064 c5cnew.c 1137: Call to function with no prototype in function C5_IsThemeActive
Warning W8065 c5cnew.c 1146: Call to function 'C5_IsThemeActive' with no prototype in function HB_FUN_C5_ISTHEMEACTIVE
Warning W8057 c5cnew.c 1237: Parameter 'pClipRect' is never used in function C5_DrawThemeBackground
Warning W8075 c5cnew.c 1311: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Warning W8075 c5cnew.c 1737: Suspicious pointer conversion in function HB_FUN_MENUDRAWITEM2
Warning W8004 c5cnew.c 2563: 'width' is assigned a value that is never used in function VerticalGradient
Error E2451 c5cnew.c 2787: Undefined symbol 'hb_stackST' in function HB_FUN_CGETFILEEX
Warning W8057 c5cnew.c 2926: Parameter 'lp' is never used in function BrowseCallbackProc
Warning W8081 c5cnew.c 3029: void functions may not return a value in function HB_FUN_POW
Warning W8004 c5cnew.c 3398: 'hBrush' is assigned a value that is never used in function HorizontalGradient
*** 5 errors in Compile ***
the lib is created [b:3g7y6xo8]but then I cannot show bitmaps on combobox [/b:3g7y6xo8]control of fivewin
this is strange because I used the lib always and I never have problems with it
have U found this error ? |
help to compile c5new.c | I saw all ERRORs are this
if ( hb_pcount() ....
perhaps the function hb_pcount() must be declare in different mode or it is ok ?
all error are [b:rgtih5cn]'hb_stackST' [/b:rgtih5cn] but I not found it
Error E2451 c5cnew.c 303: Undefined symbol 'hb_stackST' in function HB_FUN_BOX
Error E2451 c5cnew.c 339: Undefined symbol 'hb_stackST' in function HB_FUN_BOXEX
Error E2451 c5cnew.c 730: Undefined symbol 'hb_stackST' in function HB_FUN_FILLSOLIDRECT
Error E2451 c5cnew.c 940: Undefined symbol 'hb_stackST' in function HB_FUN_ROUNDRECTEX
Error E2451 c5cnew.c 2787: Undefined symbol 'hb_stackST' in function HB_FUN_CGETFILEEX
someone can explain me please ? |
help to compile c5new.c | Silvio,
I think this version of Canalfive lib must work for you, it works with recent versions of xharbour y fwh.
You will find in this sfx file the source code and the lib compiled, I hope It works for you.
<!-- m --><a class="postlink" href="http://www.box.net/shared/8uq143h73f">http://www.box.net/shared/8uq143h73f</a><!-- m --> |
help to compile c5new.c | I cannot open it I have windows seven 64 bit |
help to compile c5new.c | can you send me all on zip file to email please |
help to compile c5new.c | [quote="Silvio":wgjrlxvn]can you send me all on zip file to email please[/quote:wgjrlxvn]
ok, this is a zip file
<!-- m --><a class="postlink" href="http://www.box.net/shared/udggepx16d">http://www.box.net/shared/udggepx16d</a><!-- m --> |
help to compile c5new.c | now is ok
I found the error
when we compile thelib must not link also the imagelist.prg file because it create errr on combobox with bitmas
imagelist.prg is a test of P A C O not is a class of library |
help to compile c5new.c | Silvio is the same error that happen to me. How you solve it. I try to delete de imagelist and nothing happen.
with bcc55:
--------------------Configuración: tInforme - Debug--------------------
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
G:\policia\C5\C5LIB\Source\c5cnew.c:
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 303: Undefined symbol 'hb_stackST' in function HB_FUN_BOX
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 339: Undefined symbol 'hb_stackST' in function HB_FUN_BOXEX
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 730: Undefined symbol 'hb_stackST' in function HB_FUN_FILLSOLIDRECT
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 940: Undefined symbol 'hb_stackST' in function HB_FUN_ROUNDRECTEX
Warning W8064 G:\policia\C5\C5LIB\Source\c5cnew.c 1114: Call to function with no prototype in function C5_IsAppThemed
Warning W8065 G:\policia\C5\C5LIB\Source\c5cnew.c 1123: Call to function 'C5_IsAppThemed' with no prototype in function HB_FUN_C5_ISAPPTHEMED
Warning W8064 G:\policia\C5\C5LIB\Source\c5cnew.c 1137: Call to function with no prototype in function C5_IsThemeActive
Warning W8065 G:\policia\C5\C5LIB\Source\c5cnew.c 1146: Call to function 'C5_IsThemeActive' with no prototype in function HB_FUN_C5_ISTHEMEACTIVE
Warning W8057 G:\policia\C5\C5LIB\Source\c5cnew.c 1237: Parameter 'pClipRect' is never used in function C5_DrawThemeBackground
Warning W8075 G:\policia\C5\C5LIB\Source\c5cnew.c 1311: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Warning W8075 G:\policia\C5\C5LIB\Source\c5cnew.c 1737: Suspicious pointer conversion in function HB_FUN_MENUDRAWITEM2
Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 2563: 'width' is assigned a value that is never used in function VerticalGradient
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 2787: Undefined symbol 'hb_stackST' in function HB_FUN_CGETFILEEX
Warning W8057 G:\policia\C5\C5LIB\Source\c5cnew.c 2926: Parameter 'lp' is never used in function BrowseCallbackProc
Warning W8057 G:\policia\C5\C5LIB\Source\c5cnew.c 2926: Parameter 'pData' is never used in function BrowseCallbackProc
Warning W8081 G:\policia\C5\C5LIB\Source\c5cnew.c 3029: void functions may not return a value in function HB_FUN_POW
Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 3398: 'hBrush' is assigned a value that is never used in function HorizontalGradient
Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 3398: 'height' is assigned a value that is never used in function |
help to compile c5new.c | I sent you my zip, here i compiled it with success !! ( only some warnings) |
help to compile easy Report rrom GitHub | I have compiled ER and Ilink these files
%HOME%\EasyReport-master\source\ereport.prg=1,.F.,1,1,
%HOME%\EasyReport-master\source\cfunc.c=2,.F.,1,1,
%HOME%\EasyReport-master\source\epFunc.prg=3,.F.,1,1,
%HOME%\EasyReport-master\source\erfile.prg=4,.F.,1,1,
%HOME%\EasyReport-master\source\eritems.prg=5,.F.,1,1,
%HOME%\EasyReport-master\source\eritems2.prg=6,.F.,0,0,
%HOME%\EasyReport-master\source\erMain.prg=7,.F.,0,0,
%HOME%\EasyReport-master\source\erstart.prg=8,.F.,0,0,
%HOME%\EasyReport-master\source\ertools.prg=9,.F.,0,0,
%HOME%\EasyReport-master\source\setmask.c=10,.F.,1,1,
%HOME%\EasyReport-master\source\TCFoldex.prg=11,.F.,1,1,
it make these errors
[code=fw:thf2bt9u]<div class="fw" id="{CB}" style="font-family: monospace;">Progetto: <span style="color: #000000;">ereport</span>, Ambiente: <span style="color: #000000;">bcc7Harbor</span>:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\ereport.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\ereport.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>report.prg'</span>...<br />Lines <span style="color: #000000;">10406</span>, Functions/Procedures <span style="color: #000000;">98</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>report.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj ereport.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />ereport.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj EasyReport-master\source\cfunc.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />EasyReport-master\source\cfunc.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\epFunc.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\epFunc.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>pFunc.prg'</span>...<br />Lines <span style="color: #000000;">58</span>, Functions/Procedures <span style="color: #000000;">4</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>pFunc.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj epFunc.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />epFunc.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\erfile.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\erfile.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>rfile.prg'</span>...<br />Lines <span style="color: #000000;">6185</span>, Functions/Procedures <span style="color: #000000;">20</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>rfile.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj erfile.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />erfile.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\eritems.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\eritems.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>ritems.prg'</span>...<br />Lines <span style="color: #000000;">7818</span>, Functions/Procedures <span style="color: #000000;">61</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>ritems.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj eritems.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />eritems.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\eritems2.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\eritems2.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>ritems2.prg'</span>...<br />Lines <span style="color: #000000;">5362</span>, Functions/Procedures <span style="color: #000000;">12</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>ritems2.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj eritems2.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />eritems2.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\erMain.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\erMain.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>rMain.prg'</span>...<br />Lines <span style="color: #000000;">5338</span>, Functions/Procedures <span style="color: #000000;">6</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>rMain.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj erMain.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />erMain.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\erstart.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\erstart.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>rstart.prg'</span>...<br />Lines <span style="color: #000000;">5414</span>, Functions/Procedures <span style="color: #000000;">8</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>rstart.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj erstart.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />erstart.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\ertools.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\ertools.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\e</span>rtools.prg'</span>...<br />Lines <span style="color: #000000;">7871</span>, Functions/Procedures <span style="color: #000000;">79</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\e</span>rtools.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj ertools.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />ertools.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj EasyReport-master\source\setmask.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />EasyReport-master\source\setmask.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Harbour</span>.Exe EasyReport-master\source\TCFoldex.prg /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\TCFoldex.c<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1904111533<span style="color: #000000;">)</span><br />Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2019</span>, https:<span style="color: #B900B9;">//harbour.github.io/</span><br />Compiling <span style="color: #ff0000;">'EasyReport-master<span style="color: #000000;">\s</span>ource<span style="color: #000000;">\T</span>CFoldex.prg'</span>...<br />Lines <span style="color: #000000;">5317</span>, Functions/Procedures <span style="color: #000000;">4</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\T</span>CFoldex.c'</span>... Done.<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include -nC:\Work\Errori\EASYRE~<span style="color: #000000;">1</span>\Obj TCFoldex.c<br />Embarcadero C++ <span style="color: #000000;">7.30</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />TCFoldex.c:<br /><span style="color: #000000;">[</span><span style="color: #000000;">1</span><span style="color: #000000;">]</span>:<span style="color: #000000;">iLink32</span>.Exe -Gn -aa -Tpe -s -v @ereport.bcl<br />Turbo Incremental Link <span style="color: #000000;">6.80</span> Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1997</span><span style="color: #000000;">-2017</span> Embarcadero Technologies, Inc.<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_GETINISECTION'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERTOOLS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_GETINIENTRY'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERTOOLS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_VRD_LF2SF'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERFILE.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_ENTRYNR'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERFILE.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_VRDITEM'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERITEMS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_VRDBARCODE'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERITEMS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_VRD_ATOKEN'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERTOOLS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_FWEDITHSTRINGS'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERTOOLS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_FWGETSTRINGS'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERTOOLS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_FWSAVEHSTRINGS'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERTOOLS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_VRD'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERTOOLS.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_TSCRIPT'</span> referenced <span style="color: #0000ff;">from</span> C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERSTART.OBJ<br />Warning: <span style="color: #00C800;">Public</span> symbol <span style="color: #ff0000;">'_HB_FUN_ERSTART'</span> defined in both module C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERMAIN.OBJ and C:\WORK\ERRORI\EASYREPORT_GITHUB\OBJ\ERSTART.OBJ<br />Error: <span style="color: #000000;">Unable</span> <span style="color: #0000ff;">to</span> perform link</div>[/code:thf2bt9u]
I use harbour and Embarcadero C++ 7.30
why we must use TCFoldex and Tscript ? |
help to compile easyreport | Can Know with prgs I must compile for Easyreport ? ( I not understood how)
I use xmate thanks |
help to compile easyreport | Look ereport.mak |
help to compile easyreport | Silvio,
Just download the files from the repository and the run go.bat
[url:2aiud9c2]https://bitbucket.org/fivetech/easyreport[/url:2aiud9c2]
that easy <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
help to compile easyreport | Antonio,
descargando el repositorio y ejecutando go.bat da errores al compilar.
Saludos |
help to compile easyreport | [quote="Baxajaun":2bs1c0n5]Antonio,
descargando el repositorio y ejecutando go.bat da errores al compilar.
Saludos[/quote:2bs1c0n5]
Que errores te marca ? , aquí funciona bien .
------------- editado -------
ya las veo , con xMate no me las marca por la configuración que tengo . Me pongo con ello y aviso cuando este terminado. |
help to compile easyreport | Buenas tardes Manuel,
muchas gracias.
Saludos |
help to compile easyreport | Ya esta listo ....un if no cerrado y un par de bugs... |
help to compile easyreport | Manuel,
perfecto. Muchas gracias.
Saludos |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.