messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2013-03-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Puedes proporcionar un PRG de ejemplo de como usas RmChart, para que podamos probarlo y ver que le ocurre ? gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:50", "topic": "C STRUCTURE", "username": "Antonio Linares" } ]
C STRUCTURE
[ { "date": "2013-03-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias, sigue el ejemplo que funciona con xHarbour\n\n[code=fw:1ezsd5io]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.Ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"cstruct.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"RMCHART.Ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> DLL_OSAPI 0x20<br /><br />typedef struct <span style=\"color: #000000;\">&#123;</span> CTYPE_DOUBLE nDouble<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> DataStructD12<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> TesteGrafico<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> aDados := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">225.25</span>, <span style=\"color: #000000;\">100.00</span>, <span style=\"color: #000000;\">100.00</span>, <span style=\"color: #000000;\">150.00</span>, <span style=\"color: #000000;\">250.00</span>, <span style=\"color: #000000;\">300.00</span>, <span style=\"color: #000000;\">25.00</span>, <span style=\"color: #000000;\">75.00</span>, <span style=\"color: #000000;\">300.00</span>, <span style=\"color: #000000;\">200.00</span>, <span style=\"color: #000000;\">325.00</span>, <span style=\"color: #000000;\">300.00</span> <span style=\"color: #000000;\">&#125;</span> , <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">220.00</span>, <span style=\"color: #000000;\">100.00</span>, <span style=\"color: #000000;\">125.00</span>, <span style=\"color: #000000;\">300.00</span>, <span style=\"color: #000000;\">150.00</span>, <span style=\"color: #000000;\">125.00</span>, <span style=\"color: #000000;\">85.00</span>, <span style=\"color: #000000;\">50.00</span>, <span style=\"color: #000000;\">285.00</span>, <span style=\"color: #000000;\">275.00</span>, <span style=\"color: #000000;\">295.00</span>, <span style=\"color: #000000;\">280.00</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">125.25</span>, <span style=\"color: #000000;\">100.00</span>, <span style=\"color: #000000;\">100.00</span>, <span style=\"color: #000000;\">150.00</span>, <span style=\"color: #000000;\">250.00</span>, <span style=\"color: #000000;\">300.00</span>, <span style=\"color: #000000;\">25.00</span>, <span style=\"color: #000000;\">75.00</span>, <span style=\"color: #000000;\">300.00</span>, <span style=\"color: #000000;\">200.00</span>, <span style=\"color: #000000;\">325.00</span>, <span style=\"color: #000000;\">300.00</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">LOCAL</span> cLegenda := <span style=\"color: #ff0000;\">\"Entradas*Saidas*Mais Um\"</span><br /><span style=\"color: #00C800;\">LOCAL</span> cLabels := <span style=\"color: #ff0000;\">\"Janeiro*Fevereiro*Março*Abril*Maio*Junho*Julho*Agosto*Setembro*Outubro*Novembro*Dezembro\"</span><br /><span style=\"color: #00C800;\">LOCAL</span> cTitulo := <span style=\"color: #ff0000;\">\"Grafico de Teste Grafico\"</span><br /><span style=\"color: #00C800;\">PRIVATE</span> hDll := DllLoad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"rmchart.dll\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgGra1 <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">770</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oClassVar:<span style=\"color: #000000;\">oFntB</span> <span style=\"color: #0000ff;\">COLOR</span> oClassVar:<span style=\"color: #000000;\">nCorDlgT</span>,oClassVar:<span style=\"color: #000000;\">nCorDlgJ</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oDlgGra1:<span style=\"color: #000000;\">lHelpIcon</span> := .F.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oChart := TActiveX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> oDlgGra1, <span style=\"color: #ff0000;\">\"RMChart.RMChartX\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgGra1 <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> GeraRmc<span style=\"color: #000000;\">&#40;</span> oDlgGra1, oChart, aDados, cTitulo, cLabels, cLegenda <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; DllUnload<span style=\"color: #000000;\">&#40;</span> hDLL <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> GeraRmc<span style=\"color: #000000;\">&#40;</span> oDlgGra, oChart, aDados, cTitulo, cLabels, cLegenda <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> nRetVal := nMax := <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00C800;\">LOCAL</span> cImagem := <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #B900B9;\">//\"C:\\SIG32new\\Bitmaps\\Paper.jpg\"</span><br /><span style=\"color: #00C800;\">LOCAL</span> cUnidade := <span style=\"color: #ff0000;\">\"R$ \"</span><br /><span style=\"color: #00C800;\">LOCAL</span> cTextoVert := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">LOCAL</span> aDadosGraf:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oData1 IS DataStructD12<br /><span style=\"color: #00C800;\">LOCAL</span> oData2 IS DataStructD12<br /><span style=\"color: #00C800;\">LOCAL</span> oData3 IS DataStructD12<br /><br /><span style=\"color: #00C800;\">FOR</span> cTrGra1:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span> aDados <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; nMax := <span style=\"color: #0000ff;\">MAX</span><span style=\"color: #000000;\">&#40;</span> nMax, Amax<span style=\"color: #000000;\">&#40;</span> aDados<span style=\"color: #000000;\">&#91;</span>cTrGra1<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">FOR</span> cTrGra2:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span> aDados<span style=\"color: #000000;\">&#91;</span>cTrGra1<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> cTrGra1 == <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oData1:<span style=\"color: #000000;\">nDouble</span><span style=\"color: #000000;\">&#91;</span>cTrGra2<span style=\"color: #000000;\">&#93;</span> := aDados<span style=\"color: #000000;\">&#91;</span>cTrGra1,cTrGra2<span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; ELSEIF cTrGra1 == <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oData2:<span style=\"color: #000000;\">nDouble</span><span style=\"color: #000000;\">&#91;</span>cTrGra2<span style=\"color: #000000;\">&#93;</span> := aDados<span style=\"color: #000000;\">&#91;</span>cTrGra1,cTrGra2<span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; ELSEIF cTrGra1 == <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oData3:<span style=\"color: #000000;\">nDouble</span><span style=\"color: #000000;\">&#91;</span>cTrGra2<span style=\"color: #000000;\">&#93;</span> := aDados<span style=\"color: #000000;\">&#91;</span>cTrGra1,cTrGra2<span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">NEXT</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> cTrGra1 == <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> aDadosGraf, oData1<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF cTrGra1 == <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> aDadosGraf, oData2<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF cTrGra1 == <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> aDadosGraf, oData3<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">NEXT</span><br /><br />nMax := <span style=\"color: #0000ff;\">ROUND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> INT<span style=\"color: #000000;\">&#40;</span> nMax/<span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">10</span> , <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><br /><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_CREATECHART\"</span>, oDlgGra:<span style=\"color: #000000;\">hWnd</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">770</span>, <span style=\"color: #000000;\">400</span>, ColorAzure, RMC_CTRLSTYLE3DLIGHT, .F., cImagem, <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_ADDREGION\"</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">760</span>, <span style=\"color: #000000;\">400</span>, <span style=\"color: #ff0000;\">\"Sig SoftWare\"</span>, .F. <span style=\"color: #000000;\">&#41;</span><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_ADDCAPTION\"</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">1</span>, cTitulo, ColorTransparent, ColorRed, <span style=\"color: #000000;\">9</span>, .T. <span style=\"color: #000000;\">&#41;</span><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_ADDGRID\"</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">1</span>, ColorLightBlue, .F., <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">685</span>, <span style=\"color: #000000;\">330</span>, RMC_BICOLOR_LABELAXIS <span style=\"color: #000000;\">&#41;</span><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_ADDLABELAXIS\"</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">1</span>, cLabels, <span style=\"color: #000000;\">1</span>, LEN<span style=\"color: #000000;\">&#40;</span> aDados<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, RMC_LABELAXISBOTTOM, <span style=\"color: #000000;\">8</span>, ColorBlack, RMC_TEXTCENTER, ColorBlack, RMC_LINESTYLENONE, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_ADDDATAAXIS\"</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">1</span>, RMC_DATAAXISRIGHT, <span style=\"color: #000000;\">0.0</span>, nMax, LEN<span style=\"color: #000000;\">&#40;</span> aDados<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">8</span>, ColorBlack, ColorBlack, RMC_LINESTYLESOLID, <span style=\"color: #000000;\">0</span>, cUnidade, cTextoVert, <span style=\"color: #ff0000;\">\"\"</span>, RMC_TEXTCENTER <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">FOR</span> x:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span>aDadosGraf<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_ADDBARSERIES\"</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">1</span>, aDadosGraf<span style=\"color: #000000;\">&#91;</span>x<span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">12</span>, RMC_BARGROUP, RMC_BAR_FLAT_GRADIENT2, .F., <span style=\"color: #000000;\">0</span>, .F., <span style=\"color: #000000;\">1</span>, RMC_VLABEL_NONE, x, RMC_HATCHBRUSH_ONPRINTING <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">NEXT</span><br /><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_ADDLEGEND\"</span>, <span style=\"color: #000000;\">1001</span>, <span style=\"color: #000000;\">1</span>, cLegenda, RMC_LEGEND_BOTTOM, ColorTransparent, RMC_LEGENDNORECT, ColorRed, <span style=\"color: #000000;\">8</span>, .T. <span style=\"color: #000000;\">&#41;</span><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_DRAW\"</span>, <span style=\"color: #000000;\">1001</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><span style=\"color: #B900B9;\">///////////////////////////////////////////////////////////////////////////////////////</span><br /><span style=\"color: #B900B9;\">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //</span><br /><span style=\"color: #B900B9;\">///////////////////////////////////////////////////////////////////////////////////////</span><br /><span style=\"color: #00C800;\">FUNCTION</span> ImprimeGrafico<span style=\"color: #000000;\">&#40;</span> oDlgGra <span style=\"color: #000000;\">&#41;</span><br /><br />nRetVal := DllCall<span style=\"color: #000000;\">&#40;</span>hDll,DLL_OSAPI,<span style=\"color: #ff0000;\">\"RMC_DRAW2PRINTER\"</span>, <span style=\"color: #000000;\">1001</span>, oDlgGra:<span style=\"color: #000000;\">hWnd</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, RMC_EMF <span style=\"color: #000000;\">&#41;</span><br />?nRetVal<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">////////////////////////////DADOS DA FUNCAO////////////////////////////////////////////</span><br /><span style=\"color: #B900B9;\">// NOME &nbsp; &nbsp; &nbsp; : aMax &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //</span><br /><span style=\"color: #B900B9;\">// SINTESE &nbsp; &nbsp;: Retornar o maior valor de um vetor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //</span><br /><span style=\"color: #B900B9;\">// PARAMETROS : <1> aVetor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //</span><br /><span style=\"color: #B900B9;\">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<2> nElemento (para vetores multimensionais) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //</span><br /><span style=\"color: #B900B9;\">// RETORNO &nbsp; &nbsp;: xMaior elemento do vetor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //</span><br /><span style=\"color: #B900B9;\">///////////////////////////////////////////////////////////////////////////////////////</span><br /><span style=\"color: #00C800;\">function</span> aMax<span style=\"color: #000000;\">&#40;</span> aVetor, nElem <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">local</span> aNovoVet<br /><span style=\"color: #00C800;\">local</span> xMaxElem<br /><br /><span style=\"color: #00C800;\">DEFAULT</span> nElem:=<span style=\"color: #000000;\">0</span><br /><br />aNovoVet:=aclone<span style=\"color: #000000;\">&#40;</span> aVetor <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">if</span> nElem=<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; aNovoVet:=asort<span style=\"color: #000000;\">&#40;</span> aNovoVet <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; xMaxElem:=aNovoVet<span style=\"color: #000000;\">&#91;</span>len<span style=\"color: #000000;\">&#40;</span>aNovoVet<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#93;</span><br /><span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; aNovoVet:=aasort<span style=\"color: #000000;\">&#40;</span> aNovoVet, nElem <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; xMaxElem:=aNovoVet<span style=\"color: #000000;\">&#91;</span>nElem, len<span style=\"color: #000000;\">&#40;</span>aNovoVet<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#93;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> xMaxElem<br /><br /><span style=\"color: #B900B9;\">////////////////////////////DADOS DA FUNCAO////////////////////////////////////////////</span><br /><span style=\"color: #B900B9;\">// NOME &nbsp; &nbsp; &nbsp; : AaSort &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //</span><br /><span style=\"color: #B900B9;\">// FINALIDADE : ordenar os elementos de um vetor muldimensional &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//</span><br /><span style=\"color: #B900B9;\">// PARAMETROS : <1> aVetor a ser ordenado &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//</span><br /><span style=\"color: #B900B9;\">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[2] nElemento do vetor a ser ordenado (default=1) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//</span><br /><span style=\"color: #B900B9;\">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[3] cOrdem Crescente ou Decrescente (default='C') &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//</span><br /><span style=\"color: #B900B9;\">// RETORNO &nbsp; &nbsp;: aVetor ordenado &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//</span><br /><span style=\"color: #B900B9;\">///////////////////////////////////////////////////////////////////////////////////////</span><br /><span style=\"color: #00C800;\">function</span> AaSort<span style=\"color: #000000;\">&#40;</span> aVetor, nElem, cOrdem <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">local</span> aRetorno, x, y<br /><br /><span style=\"color: #00C800;\">DEFAULT</span> nElem:=<span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">DEFAULT</span> cOrdem:=<span style=\"color: #ff0000;\">'C'</span><br /><span style=\"color: #00C800;\">if</span> cOrdem=<span style=\"color: #ff0000;\">'C'</span><br />&nbsp; &nbsp; &nbsp; &nbsp; aRetorno:= asort<span style=\"color: #000000;\">&#40;</span> aVetor,,, <span style=\"color: #000000;\">&#123;</span> |x, y| x<span style=\"color: #000000;\">&#91;</span>nElem<span style=\"color: #000000;\">&#93;</span> < y<span style=\"color: #000000;\">&#91;</span>nElem<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; aRetorno:= asort<span style=\"color: #000000;\">&#40;</span> aVetor,,, <span style=\"color: #000000;\">&#123;</span> |x, y| x<span style=\"color: #000000;\">&#91;</span>nElem<span style=\"color: #000000;\">&#93;</span> > y<span style=\"color: #000000;\">&#91;</span>nElem<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> aRetorno<br />&nbsp;</div>[/code:1ezsd5io]", "time": "13:38", "topic": "C STRUCTURE", "username": "aferra" } ]
C STRUCTURE
[ { "date": "2013-03-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Existe una versión demo de \"rmchart.dll\" ?", "time": "15:20", "topic": "C STRUCTURE", "username": "Antonio Linares" } ]
C STRUCTURE
[ { "date": "2013-03-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui\n\n<!-- m --><a class=\"postlink\" href=\"http://www.4shared.com/account/home.jsp#dir=n6d-L3b3\">http://www.4shared.com/account/home.jsp#dir=n6d-L3b3</a><!-- m -->", "time": "15:40", "topic": "C STRUCTURE", "username": "aferra" } ]
C STRUCTURE
[ { "date": "2013-03-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Already reported to 4shared and removed accordingly:\n\n[quote:uczz5hwc]Hello,\n\nThank you for letting us know. We have deactivated the links to the illegal files.\n\nIf you know any other illegal use of our service, please let us know. We will do\nour best to remove the files as soon as possible.\n\nWe appreciate your desire to make our service better. Thank you.\n\n\nBest regards,\nVadim\n<!-- e --><a href=\"mailto:support@4shared.com\">support@4shared.com</a><!-- e -->[/quote:uczz5hwc]", "time": "21:58", "topic": "C STRUCTURE", "username": "Antonio Linares" } ]
C STRUCTURE
[ { "date": "2013-03-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Lo siento, pero no te proporcionaré más soporte técnico hasta que no elimines los ficheros ilegales que tienes en tu cuenta de 4shared...\n\nSorry, but I will not provide you any further tech support until you remove all the illegal files that you keep on your 4shared account...", "time": "20:43", "topic": "C STRUCTURE", "username": "Antonio Linares" } ]
C STRUCTURE
[ { "date": "2013-03-21", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"http://www.4shared.com/rar/iktULs11/RmkChart_42.html\">http://www.4shared.com/rar/iktULs11/RmkChart_42.html</a><!-- m -->\nesse é o arquivo", "time": "12:34", "topic": "C STRUCTURE", "username": "aferra" } ]
C STRUCTURE
[ { "date": "2016-05-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá,\n\nVoltando ao assunto do rmchart, com base ao exemplo do aferra, a minha duvida é de como exibir todos os dados de todos os 12 meses?\nConsegui portar o código para o harbour.", "time": "22:07", "topic": "C STRUCTURE", "username": "asimoes" } ]
C STRUCTURE
[ { "date": "2014-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI am developing with xHarbour(version dated 17/11/2-11 from xHarbout.com and Fivewin for Harbour. I realise this is an xHarbour issue rather than a Fivewin issue, but I am hoping someone on this forum can help me. \n\nI am trying to get DLLCAL() working wit little to no success. My sample code and (what it returns) can be seen below. All numbers are zero and the string is blank.\n\nAny suggestions or help would be appreciated.\n\nCheers,\nPat Driscoll\n\n\n #include \"CStruct.ch\" // required for \"typedef struct\"\n #include \"Wintypes.ch\" // required Windows C data types\n\n pragma pack(4) // all Windows API structures\n // are 4 byte aligned\n\n // structure declaration taken via\n // copy&paste from Windows SDK\n typedef struct _OSVERSIONINFOEX { ;\n DWORD dwOSVersionInfoSize; // ˆ this \";\" must be added\n DWORD dwMajorVersion;\n DWORD dwMinorVersion;\n DWORD dwBuildNumber;\n DWORD dwPlatformId;\n TCHAR szCSDVersion[128];\n WORD wServicePackMajor;\n WORD wServicePackMinor;\n WORD wSuiteMask;\n BYTE wProductType;\n BYTE wReserved;\n } OSVERSIONINFOEX, *POSVERSIONINFOEX, *LPOSVERSIONINFOEX;\n\n #define DC_CALL_STD 0x0020\n\nPROCEDURE Main()\n LOCAL oVerInfo\n\n\n // Create OSVERSIONINFOEX structure object\n oVerInfo := (struct OSVERSIONINFOEX)\n\n // assign structure size to structure member\n oVerInfo:dwOSVersionInfoSize := oVerInfo:sizeOf()\n\n // pass structure object by reference to DllCall()\n // (it is an OUT parameter)\n DllCall( \"Kernel32.dll\", DC_CALL_STD , \"GetVersionEx\", @oVerInfo )\n\n // display result of API\n MsgInfo(str(oVerInfo:dwMajorVersion)) // result: 0\n MsgInfo(str(oVerInfo:dwMinorVersion)) // result: 0\n MsgInfo(str(oVerInfo:dwBuildNumber)) // result: 0\n\n // this member contains a byte array\n // retrieve it as character string\n MsgInfo(oVerInfo:szCSDVersion:asString()) // result: blank spaces\n RETURN", "time": "12:42", "topic": "C Struct", "username": "patdriscoll" } ]
C Struct
[ { "date": "2014-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Pat,\n\nPlease try to build it NOT linking the FWH libraries.\n\nIt may be a function conflict name due to the versions that you are using.", "time": "18:42", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2014-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nThanks for your reply.\n\nI compiled a DOS version of just the PRG (renaming the FWH folder to fool xBuildW that there was no Fivewin installed). I replace? the MsgInfo() with ? and I get the same result. \n\nI have managed to call other DLLs successfully in the past, but not using cStructures (this was using the exact same versions of xHB and FWH). The bigger picture is that I am interfacing to a Digital Persona bioscan SDK and was having troubles, so went back to a documented example using c Structures as parameters. \n\nInterestingly I made some calls to the GetTimeZoneInformation function of kernel32.dll and was able to get meaningful returns only for StandardName and DaylightName. Other things like StandardDate:wHour, for example return 0 as well.\n\nI am confused.\n\nCheers,\n\nPat.", "time": "19:46", "topic": "C Struct", "username": "patdriscoll" } ]
C Struct
[ { "date": "2014-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Pat,\n\nBased on your results, to me it seems as a xharbour bug. I suggest you to contact xhb.com and report it to them. We can't help you on that, sorry.\n\nWhy don't you create an import library from the DLL that you need to manage and then use direct link using some C wrappers ? Its very easy and you have the FWH sources at winapi folder plenty of examples <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> If you need help just say it.\n\nAlso I take the oportunity to insist that you (all of you) migrate to Harbour (many readers will say here: \"oh, Antonio again on the same\") but Harbour is rock solid , with a growing ang growing users base, and you will be happier and we will have less tech support <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "20:32", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2014-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nThanks again for your reply and advice.\n\nSo you are advising that I move from xHarbour to Harbour, yes? I am open to this advice, but I am not a C programmer. For me using xHB.com was a cheater's way of remaining C illiterate when I moved from Clipper, thus allowing me to focus on delivering client applications. Lazy, I know.\n\nMy biggest concern is the many applications I have that are using Fivewin/xHB. By moving to Fivewin/Harbour, what will I lose? I know there is more to gain you say <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->.\n\nAnyway I am going to give it a go. Can you point me to a \"getting started document\" to download harbour and comile one of my existing programs, please?\n\nThanks again, Antonio.\n\nCheers,\n\nPat.", "time": "21:09", "topic": "C Struct", "username": "patdriscoll" } ]
C Struct
[ { "date": "2014-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "In the forum you will find many examples of the use of harbour: mak, bat, etc., also included in the distribution FWH faith. \nAlso: <!-- m --><a class=\"postlink\" href=\"http://harbour.github.io/faq/index.html\">http://harbour.github.io/faq/index.html</a><!-- m -->", "time": "21:18", "topic": "C Struct", "username": "cnavarro" } ]
C Struct
[ { "date": "2014-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Pat,\n\nYou can download the most recent Harbour for Borland that we have published from here:\n\n[url:2selqmui]https&#58;//code&#46;google&#46;com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_bcc582_20131007&#46;zip[/url:2selqmui]\n\nPlease send me an email and I will explain you where to download Borland bcc582\n\nTo build your app, you just need this two go.bat and test.mak file:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=160199#p160199\">viewtopic.php?p=160199#p160199</a><!-- l -->\n\nYou will not notice at all that you are using a C compiler to generate the harbour OBJs <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "21:39", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2014-06-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\n[quote=\"Antonio Linares\":3gyrw3tb]Also I take the oportunity to insist that you (all of you) migrate to Harbour (many readers will say here: \"oh, Antonio again on the same\") but Harbour is rock solid , with a growing ang growing users base, and you will be happier and we will have less tech support <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:3gyrw3tb]\n\nAny news regarding OleDefaultArg() function in Harbour?\n\nEMG", "time": "20:28", "topic": "C Struct", "username": "Enrico Maria Giordano" } ]
C Struct
[ { "date": "2014-06-13", "forum": "FiveWin for Harbour/xHarbour", "text": "I am not able to locate hbole.ch in habour\\include folder.", "time": "11:05", "topic": "C Struct", "username": "nageswaragunupudi" } ]
C Struct
[ { "date": "2014-06-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nFinally (thanks to Przemek)\n\n#include \"hbole.ch\"\n #define WIN_DISP_E_PARAMNOTFOUND ( 0x80020004L )\n\n function OleDefaultArg()\n return __oleVariantNew( WIN_VT_ERROR, WIN_DISP_E_PARAMNOTFOUND )", "time": "10:09", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2014-06-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nthank you! I'll try Harbour again. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "10:56", "topic": "C Struct", "username": "Enrico Maria Giordano" } ]
C Struct
[ { "date": "2014-06-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Here it is:\n\n[url:1767anff]https&#58;//github&#46;com/harbour/core/tree/master/contrib/hbwin[/url:1767anff]", "time": "11:25", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2014-06-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nthank you.\n\nEMG", "time": "11:33", "topic": "C Struct", "username": "Enrico Maria Giordano" } ]
C Struct
[ { "date": "2014-06-19", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Enrico Maria Giordano\":otadirmi]Antonio,\n\n[quote=\"Antonio Linares\":otadirmi]Also I take the oportunity to insist that you (all of you) migrate to Harbour (many readers will say here: \"oh, Antonio again on the same\") but Harbour is rock solid , with a growing ang growing users base, and you will be happier and we will have less tech support <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:otadirmi]\n\nAny news regarding OleDefaultArg() function in Harbour?\n\nEMG[/quote:otadirmi]\n\nEnrico\nYou can give an example of using this function OleDefaultArg ()?\nPuedes poner un ejemplo de uso de esta funcion OleDefaultArg()?\n\nI found this link\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27404&hilit=OleDefaultArg&start=30#p152620\">viewtopic.php?f=3&t=27404&hilit=OleDefaultArg&start=30#p152620</a><!-- l -->\n\nNo entiendo en qué tipo de parámetros se puede usar\nI do not understand what kind of parameters can be used", "time": "12:07", "topic": "C Struct", "username": "cnavarro" } ]
C Struct
[ { "date": "2014-06-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobal,\n\n[quote=\"cnavarro\":1x8n8qgm]You can give an example of using this function OleDefaultArg ()?\nPuedes poner un ejemplo de uso de esta funcion OleDefaultArg()?\n\nI found this link\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27404&hilit=OleDefaultArg&start=30#p152620\">viewtopic.php?f=3&t=27404&hilit=OleDefaultArg&start=30#p152620</a><!-- l -->\n\nNo entiendo en qué tipo de parámetros se puede usar\nI do not understand what kind of parameters can be used[/quote:1x8n8qgm]\n\nIt is in the link you reported.\n\nEMG", "time": "12:49", "topic": "C Struct", "username": "Enrico Maria Giordano" } ]
C Struct
[ { "date": "2014-06-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobal,\n\nOleDefaultArg() is to OLE quite similar to what NIL is to Harbour <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "20:56", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2014-06-20", "forum": "FiveWin for Harbour/xHarbour", "text": "And the function picks the right type of parameter? \nI get it, so no need to take into account all the parameters of filling functions, no?\n\nY la funcion recoge el tipo de parámetro adecuado?\nYa entiendo, asi no hay que tener en cuenta rellenar todos los parámetros de las funciones, no?", "time": "22:03", "topic": "C Struct", "username": "cnavarro" } ]
C Struct
[ { "date": "2014-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobal,\n\nI have never needed it but I guess so.\n\nEnrico has been using it for long time so surely he may be able to complete my description <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "07:09", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2014-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, Cristobal,\n\n[quote=\"Antonio Linares\":372t74e0]Cristobal,\n\nI have never needed it but I guess so.\n\nEnrico has been using it for long time so surely he may be able to complete my description <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:372t74e0]\n\nWhat I know is that some OLE methods fail if OleDefaultArg() is not used for some missing parameters (not necessarily all of them).\n\nSamples:\n\n[code=fw:372t74e0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oSel:<span style=\"color: #000000;\">InsertFile</span><span style=\"color: #000000;\">&#40;</span> cTmp, OLEDEFAULTARG<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, .F. <span style=\"color: #000000;\">&#41;</span><br /><br />oExcel:<span style=\"color: #000000;\">WorkBooks</span>:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">&#40;</span> cXls, , , OLEDEFAULTARG<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, , , , OLEDEFAULTARG<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, , , .T., , .T. <span style=\"color: #000000;\">&#41;</span></div>[/code:372t74e0]\n\nEMG", "time": "08:08", "topic": "C Struct", "username": "Enrico Maria Giordano" } ]
C Struct
[ { "date": "2014-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":k9g3vos9]Cristobal,\n\nI have never needed it but I guess so.\n\nEnrico has been using it for long time so surely he may be able to complete my description <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:k9g3vos9]\nI have also been using.", "time": "08:16", "topic": "C Struct", "username": "nageswaragunupudi" } ]
C Struct
[ { "date": "2014-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Enrico, Rao", "time": "08:25", "topic": "C Struct", "username": "cnavarro" } ]
C Struct
[ { "date": "2014-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Anyway the entire discussion started with using C Struct of xHarbour. May be, xHarbour's implementation has some issues. \n\nBut FWH also implements C Structures for its own use. \nPlease refer to struct.ch and tstruct.prg and examples in samples folder.\nUsing the STRUCT command for C structures for interfacing with Windows API has been working well for FWH.\n\nMy be one can use FWH's built in C Struct, instead of xHarbour's C Struct", "time": "08:57", "topic": "C Struct", "username": "nageswaragunupudi" } ]
C Struct
[ { "date": "2014-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote=\"nageswaragunupudi\":1ju6xmss]Anyway the entire discussion started with using C Struct of xHarbour. May be, xHarbour's implementation has some issues.[/quote:1ju6xmss]\n\nI need of a reduced and self-contained sample of the problem in order to try to fix it. A sample that I can build and run here. Without it I can't fix anything, sorry.\n\nEMG", "time": "09:52", "topic": "C Struct", "username": "Enrico Maria Giordano" } ]
C Struct
[ { "date": "2014-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Pat,\n\nAs I said at the beginning, when you are going to manage complex C structures, the best way to do it is from C language. \n\nIts really easy, as you don't need to master the C language. With a little example you will be able to understand it and do it yourself <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nFrom FWH provided source code (FWH\\source\\winapi\\wndis.c), Just place this code at the bottom of your main PRG:\n\n[code=fw:251g8gxd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> GETVERSION <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//  --> anVersions</span><br /><span style=\"color: #000000;\">&#123;</span><br />      OSVERSIONINFO vi;<br /><br />      vi.dwOSVersionInfoSize = sizeof<span style=\"color: #000000;\">&#40;</span> OSVERSIONINFO <span style=\"color: #000000;\">&#41;</span>;<br />      GetVersionEx<span style=\"color: #000000;\">&#40;</span> &vi <span style=\"color: #000000;\">&#41;</span>;<br /><br />      hb_reta<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />      hb_storvnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> long <span style=\"color: #000000;\">&#41;</span> vi.dwMajorVersion, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />      hb_storvnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> long <span style=\"color: #000000;\">&#41;</span> vi.dwMinorVersion, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>;<br />      hb_storvnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> long <span style=\"color: #000000;\">&#41;</span> vi.dwBuildNumber,  <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span>;<br />      hb_storvnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> long <span style=\"color: #000000;\">&#41;</span> vi.dwPlatformId,   <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span>;<br />      hb_storvc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> char * <span style=\"color: #000000;\">&#41;</span> vi.szCSDVersion,   <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:251g8gxd]", "time": "14:12", "topic": "C Struct", "username": "Antonio Linares" } ]
C Struct
[ { "date": "2012-12-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All\n\nC Struct -> Harbour Using Help!!\n\nHarbour Function from C structure to assign a value.\nThe value read from the Harbour Function C struct is different.\n1) passed Value: 10\n2) read Value: 2\n\n[code=fw:3vyfrbss]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">/* Harbour Sample Function */</span><br /><br /><span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   ...   <br />   oWnd:<span style=\"color: #000000;\">bCommNotify</span> = <span style=\"color: #000000;\">&#123;</span> | pParam, nValue | EventNotify<span style=\"color: #000000;\">&#40;</span> pParam, nValue <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />   <br />   oThread := ThreadOn<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">20</span>, oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span>      <span style=\"color: #B900B9;\">// Input Parameter 10, 20, oWnd:hWnd</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /><span style=\"color: #00C800;\">Function</span> EventNotify<span style=\"color: #000000;\">&#40;</span> pParam, nValue <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> GetWaitData<span style=\"color: #000000;\">&#40;</span> pParam <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>             <span style=\"color: #B900B9;\">// Return Value 2</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">/*---------------------------------------------------------------------------------------*/</span><br /><br /><span style=\"color: #B900B9;\">/* C Function Sample Source */</span><br /><br />typedef struct thread_param<br /><span style=\"color: #000000;\">&#123;</span> <br />     long nParamNo;<br />     int  nIndexCode;  <br /><span style=\"color: #000000;\">&#125;</span> THREAD_PARAM, *LPTHREAD_PARAM;<br /><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> THREADON <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />    DWORD dwThreadID;<br />    HANDLE hThread;<br /><br />    LPTHREAD_PARAM pWaitParam = <span style=\"color: #000000;\">&#40;</span> LPTHREAD_PARAM <span style=\"color: #000000;\">&#41;</span> hb_xgrab<span style=\"color: #000000;\">&#40;</span> sizeof<span style=\"color: #000000;\">&#40;</span> THREAD_PARAM <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />      <br />    memset<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> char * <span style=\"color: #000000;\">&#41;</span>pWaitParam, <span style=\"color: #000000;\">0</span>, sizeof<span style=\"color: #000000;\">&#40;</span> THREAD_PARAM <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />      <br />    pWaitParam->nParamNo = hb_parnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>; <br />    pWaitParam->nIndexCode = hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>; <br />      <br />    CommNotifyHwnd = <span style=\"color: #000000;\">&#40;</span>HWND<span style=\"color: #000000;\">&#41;</span>hb_parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />    hThread = CreateThread<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">NULL</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#40;</span>LPTHREAD_START_ROUTINE<span style=\"color: #000000;\">&#41;</span>WaitThread, <span style=\"color: #000000;\">&#40;</span>LPVOID<span style=\"color: #000000;\">&#41;</span>pWaitParam, <span style=\"color: #000000;\">0</span>, &dwThreadID <span style=\"color: #000000;\">&#41;</span>;<br />    ....<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><br />DWORD WINAPI WaitThread<span style=\"color: #000000;\">&#40;</span> LPVOID pVoid <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   DWORD dwExitCode;<br />   LPTHREAD_PARAM pWaitParam = <span style=\"color: #000000;\">&#40;</span>LPTHREAD_PARAM<span style=\"color: #000000;\">&#41;</span>pVoid;<br /><br />   SendMessage<span style=\"color: #000000;\">&#40;</span> CommNotifyHwnd, WM_COMMNOTIFY, <span style=\"color: #000000;\">&#40;</span>WPARAM<span style=\"color: #000000;\">&#41;</span>pWaitParam, <span style=\"color: #000000;\">&#40;</span>LPARAM<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br />   ....<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> GETWAITDATA <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   LPTHREAD_PARAM pWaitParam = <span style=\"color: #000000;\">&#40;</span>LPTHREAD_PARAM<span style=\"color: #000000;\">&#41;</span>hb_param<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, HB_IT_ANY <span style=\"color: #000000;\">&#41;</span>;<br />   hb_retnl<span style=\"color: #000000;\">&#40;</span> pWaitParam->nParamNo <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:3vyfrbss]\n\nThanks", "time": "18:51", "topic": "C Struct -> Harbour Using Help!!", "username": "oknbs" } ]
C Struct -> Harbour Using Help!!
[ { "date": "2012-12-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Are you returning pWaitParam to high level (PRG) ?\n\nIt is not in your code...\n\n<!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "11:32", "topic": "C Struct -> Harbour Using Help!!", "username": "Antonio Linares" } ]
C Struct -> Harbour Using Help!!
[ { "date": "2012-12-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you for your answer Antonio. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\noknbs.", "time": "04:42", "topic": "C Struct -> Harbour Using Help!!", "username": "oknbs" } ]
C Struct -> Harbour Using Help!!
[ { "date": "2009-01-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Amigos del foro:\n\n[b:35s9u6ks]Necesito urgente una ayudita.[/b:35s9u6ks]\n\nAlguien me puede dar un telefono o celular de contacto de Paco Garcia de C a n a l F i v e. \no la dirección para mandarle una nota escrita.\n\nLe enviado varios correos, los cuales llegan a destino ( pues no me rebotan )\npero no tengo respuesta alguna. \n\nEstoy muy complicado <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> con unos controles que le compre y necesito ubicarlo URGENTE !!.\n\nCualquier ayuda se los agradezco.\n\nSaludos,", "time": "16:08", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "jcaro" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2009-01-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\npodrias plantear el problema, tal vez entre todos podamos ayudarte, Paco ya no dá soporte a productos fwh..., es más creo q hasta ya no programa.\nSalu2, Ariel.", "time": "01:10", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "Ariel" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2009-01-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Ariel por responder- pero es un problema de los códigos fuentes. \nNecesito conversarlo con él. \n\nSaludos,", "time": "20:48", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "jcaro" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2009-01-10", "forum": "FiveWin para Harbour/xHarbour", "text": "jcaro,\n\npostea tu dirección de correo para que puedan ubicarte, creo que es lo más conveniente.", "time": "01:29", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "wmormar" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2009-01-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias William :\n\nMi correo es jcaro ( arroba) .mitaller.cl \n\nEs muy urgente hablar con Paco - no tengo problemas en llamarlo a España o donde este. \nSolo que se comunique conmigo o que me dijan como !! <!-- s:idea: --><img src=\"{SMILIES_PATH}/icon_idea.gif\" alt=\":idea:\" title=\"Idea\" /><!-- s:idea: --> . \n\nSaludos,\n\n\nr", "time": "15:34", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "jcaro" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2009-01-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Informo que Paco se contacto conmigo y todo esta [b:lpmpjcm6]solucionado !![/b:lpmpjcm6] <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nGracias a todos los que me ayudaron , saludos.", "time": "20:38", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "jcaro" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2009-01-13", "forum": "FiveWin para Harbour/xHarbour", "text": "jcaro,\n\nVes que tan fácil es colocar nuestro correo y esperar ayuda.\n\nasí de simple.", "time": "03:12", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "wmormar" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2009-01-13", "forum": "FiveWin para Harbour/xHarbour", "text": "[b:bnfh2x17]GRACIAS[/b:bnfh2x17] William:\n\nEs cierto eso, pero a veces uno evita poner el mail - porque lo bombardean despues con correos\nbasura o spam- Es mas que nada una medida de filtro.\n\nSaludos,", "time": "14:39", "topic": "C a n a l F i v e - Urgente una ayuda", "username": "jcaro" } ]
C a n a l F i v e - Urgente una ayuda
[ { "date": "2021-08-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\n\nWhen I maintain my old application.\nxHarbour v1.2.3 / FWH1312\n\nI have C code in PRG below:\n\n[code=fw:1zk0ldns]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br />   <span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"windows.h\"</span><br /><br />   int  WINAPI PEA_SamExeNhiQuery<span style=\"color: #000000;\">&#40;</span>LPSTR cHostname, int nPort, LPSTR cBuscode, int nCom, LPSTR cDocid, LPSTR cPatdid, LPSTR cPatbirth<span style=\"color: #000000;\">&#41;</span>;<br />   void WINAPI PEA_GetMsg<span style=\"color: #000000;\">&#40;</span>LPSTR cBuffer,int * nLen <span style=\"color: #000000;\">&#41;</span>;<br /><br />   <span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> PEA_SAMEXENHIQUERY <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #000000;\">&#123;</span><br />     LPSTR  cHostname = hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span> ;<br />     int    nPort     = hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />     LPSTR  cBuscode  = hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span> ;<br />     int    nCom      = hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span>;<br />     LPSTR  cDocid    = hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span> ;<br />     LPSTR  cPatdid   = hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#41;</span> ;<br />     LPSTR  cPatbirth = hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#41;</span> ;<br />     int    nErrCode ;<br /><br />     nErrCode = PEA_SamExeNhiQuery<span style=\"color: #000000;\">&#40;</span>cHostname,nPort,cBuscode,nCom,cDocid,cPatdid,cPatbirth <span style=\"color: #000000;\">&#41;</span> ;<br /><br />     hb_retni<span style=\"color: #000000;\">&#40;</span> nErrCode <span style=\"color: #000000;\">&#41;</span>;<br />   <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> PEA_GETMSG <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #000000;\">&#123;</span><br />     LPSTR  cBuffer = hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />     long   nLen    = hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />     PEA_GetMsg<span style=\"color: #000000;\">&#40;</span> cBuffer, &nLen <span style=\"color: #000000;\">&#41;</span>;<br />   <span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP <br /> </div>[/code:1zk0ldns]\n\nWhen I compile it. appear error message below:\n\n hb_retni( nErrCode ); Undefined symbol 'hb_stackST'\n\nAny suggestion?", "time": "04:45", "topic": "C into PRG problem-RESOLVED", "username": "richard-service" } ]
C into PRG problem-RESOLVED
[ { "date": "2021-08-17", "forum": "FiveWin for Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"https://comp.lang.xharbour.narkive.com/ixJp2vGG/compilation-problemm\">https://comp.lang.xharbour.narkive.com/ ... n-problemm</a><!-- m -->", "time": "07:27", "topic": "C into PRG problem-RESOLVED", "username": "hmpaquito" } ]
C into PRG problem-RESOLVED
[ { "date": "2021-08-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:1i44a380]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br />&nbsp; &nbsp;<span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"windows.h\"</span><br />&nbsp; &nbsp;<span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapi.h\"</span><br />&nbsp; &nbsp;...<br />&nbsp;</div>[/code:1i44a380]", "time": "16:30", "topic": "C into PRG problem-RESOLVED", "username": "carlos vargas" } ]
C into PRG problem-RESOLVED
[ { "date": "2021-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"carlos vargas\":32oaffir][code=fw:32oaffir]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br />   <span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"windows.h\"</span><br />   <span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapi.h\"</span><br />   ...<br /> </div>[/code:32oaffir][/quote:32oaffir]\n\nI will try it again. Thank you so much.", "time": "08:22", "topic": "C into PRG problem-RESOLVED", "username": "richard-service" } ]
C into PRG problem-RESOLVED
[ { "date": "2021-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"hmpaquito\":3c60b57v]https://comp.lang.xharbour.narkive.com/ixJp2vGG/compilation-problemm[/quote:3c60b57v]\n\nThanks for your good information.", "time": "08:22", "topic": "C into PRG problem-RESOLVED", "username": "richard-service" } ]
C into PRG problem-RESOLVED
[ { "date": "2021-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "A better way is:\n\n #include <windows.h>\n #include <hbapi.h>\n\nMeans to look for them in the include paths", "time": "11:43", "topic": "C into PRG problem-RESOLVED", "username": "Antonio Linares" } ]
C into PRG problem-RESOLVED
[ { "date": "2021-08-24", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3pmstgk9]A better way is:\n\n #include <windows.h>\n #include <hbapi.h>\n\nMeans to look for them in the include paths[/quote:3pmstgk9]\n\nAntonio,\n\nSolved! Thank you.", "time": "10:36", "topic": "C into PRG problem-RESOLVED", "username": "richard-service" } ]
C into PRG problem-RESOLVED
[ { "date": "2023-10-24", "forum": "Off Topic / Otros temas", "text": "This is supported by C compilers, but I guess it is a quite unknown feature:\n\nA single #name stringify the name\n\nA double ## joins two names\n\n[code=fw:3ebm9dqx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> Test<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</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 /><span style=\"color: #00D7D7;\">#include</span> <stdio.h><br /><br /><span style=\"color: #00D7D7;\">#define</span> MEMBER<span style=\"color: #000000;\">&#40;</span>TYPE,<span style=\"color: #0000ff;\">NAME</span>,MORE<span style=\"color: #000000;\">&#41;</span> TYPE <span style=\"color: #0000ff;\">NAME</span> MORE<br /><br /><span style=\"color: #00D7D7;\">#define</span> TSTRUCT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">NAME</span>,MEMBERS<span style=\"color: #000000;\">&#41;</span> \\<br />typedef struct <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #000000;\">&#123;</span> \\<br />MEMBERS \\<br /><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #0000ff;\">NAME</span>; \\<br />const char* const <span style=\"color: #0000ff;\">NAME</span>##_Members = #MEMBERS;<br /><br />TSTRUCT<span style=\"color: #000000;\">&#40;</span>S,<br /> MEMBER<span style=\"color: #000000;\">&#40;</span>int,x;,<br /> MEMBER<span style=\"color: #000000;\">&#40;</span>void*,z<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>;,<br /> MEMBER<span style=\"color: #000000;\">&#40;</span>char,<span style=\"color: #000000;\">&#40;</span>*f<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#40;</span>char,char<span style=\"color: #000000;\">&#41;</span>;,<br /> MEMBER<span style=\"color: #000000;\">&#40;</span>char,y;,<br /><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>;<br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> TEST <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   S test;<br /><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> test.x <span style=\"color: #000000;\">&#41;</span>;<br />   <span style=\"color: #B900B9;\">// hb_retc( S_Members );</span><br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:3ebm9dqx]", "time": "08:20", "topic": "C language #define # and ## operators use", "username": "Antonio Linares" } ]
C language #define # and ## operators use
[ { "date": "2009-12-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr. Antonio como declarar esta função em FIVEWIN:\n\nshort int (STDCALL *SWEDA_CapturarDispositivo) (short int Dispositivo, short int Opcoes, char *Arquivo, short int Extensao, long Timeout, TCallBackCD CallBack, void *Instancia);\n\ntentei assim: \n\n#include <hbapi.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <time.h>\n#include <string.h>\n#include \"loadlib.h\"\n\ntypedef int (*fSWEDA_CapturarDispositivo) (short int Dispositivo, short int Opcoes, char *Arquivo, short int Extensao, long Timeout, void *CallBack, void *Instancia);\n\nstatic void *pLib = NULL;\nstatic fSWEDA_CapturarDispositivo SWEDA_CapturarDispositivo = NULL;\n\n/******************************************************************************/\n\nHB_FUNC(INICIASWD)\n{\n char cErrMsg[1024] = {0};\n// char cLibPrinc[] = \"libswmfd.so.0\";\n char cLibPrinc[] = \"libswmfd.so\";\n int iRet = FALSE;\n\n if (pLib == NULL)\n {\n if ((pLib = LoadLib(cLibPrinc, TRUE, cErrMsg)) == NULL);\n else if ((SWEDA_CapturarDispositivo = (fSWEDA_CapturarDispositivo) GetFunc(pLib, \"SWEDA_CapturarDispositivo\" , cLibPrinc, cErrMsg)) == NULL);\n else iRet = TRUE;\n }\n\n if (!iRet)\n {\n hb_storc(cErrMsg, 1);\n hb_retl(iRet);\n }\n else\n {\n hb_retl(iRet);\n }\n}\n\nHB_FUNC(_SWEDATES)\n{\n short int a = hb_parni(1);\n short int b = hb_parni(2);\n char c[150] = {0} ;\n short int d = hb_parnl(4);\n long e = hb_parnl(5);\n char f[150] = {0} ;\n char g[150] = {0} ;\n\n strcpy(c, hb_parc(3));\n strcpy(f, hb_parc(6));\n strcpy(g, hb_parc(7));\n\n ErroFunc(SWEDA_CapturarDispositivo,\"SWEDA_CapturarDispositivo\");\n hb_retni(SWEDA_CapturarDispositivo(a, b, c, d, e, f, g));\n}\n\nChamo ela assim:\n\n _SWEDATES(1,0,'',0,15000)\n\nMais o sistema encerra sem dar nenhuma mensagem de erro.", "time": "14:18", "topic": "C para Sr. Antonio", "username": "MGA" } ]
C para Sr. Antonio
[ { "date": "2009-12-15", "forum": "FiveWin para Harbour/xHarbour", "text": "SGS,\n\nThese lines are wrongly declared:\n\nchar c[150] = {0} ; \nchar f[150] = {0} ;\nchar g[150] = {0} ;\n\nPlease change them this way:\n\nchar c[150]; \nchar f[150];\nchar g[150];", "time": "15:08", "topic": "C para Sr. Antonio", "username": "Antonio Linares" } ]
C para Sr. Antonio
[ { "date": "2009-12-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Obrigado Sr. Antonio.", "time": "16:59", "topic": "C para Sr. Antonio", "username": "MGA" } ]
C para Sr. Antonio
[ { "date": "2016-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi \nI try to convert xHarbour to Harbour. when I recompile some C file that appear error. \nHow to compatible Harbour?\n\n[code=fw:2ku5o0hx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cText = hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6</span>, n <span style=\"color: #000000;\">&#41;</span> ; =>Line <span style=\"color: #000000;\">229</span><br />cText = hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span>, n <span style=\"color: #000000;\">&#41;</span> ; =>Line <span style=\"color: #000000;\">513</span><br />nX    = hb_parnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span>, n <span style=\"color: #000000;\">&#41;</span> ;  =>Line <span style=\"color: #000000;\">514</span><br />cText = hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span>, n <span style=\"color: #000000;\">&#41;</span> ; =>Line <span style=\"color: #000000;\">553</span><br />nX    = hb_parnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span>, n <span style=\"color: #000000;\">&#41;</span> ; =>Line <span style=\"color: #000000;\">554</span><br />nX = hb_parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ; =>Line <span style=\"color: #000000;\">591</span><br /> </div>[/code:2ku5o0hx]\n[quote:2ku5o0hx]\nHarbour 3.2.0dev (r1603082110)\n...\nEmbarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.\nObj\\TextTool.C:\nWarning W8075 Obj\\TextTool.C 13: Suspicious pointer conversion in function HB_FUN_KWTEXT\nWarning W8075 Obj\\TextTool.C 38: Suspicious pointer conversion in function HB_FUN_DRTEXT\nWarning W8075 Obj\\TextTool.C 64: Suspicious pointer conversion in function HB_FUN_DR3DTEXT\nError E2227 Obj\\TextTool.C 229: Extra parameter in call to hb_parc in function HB_FUN_DR3DMULTI\nWarning W8075 Obj\\TextTool.C 229: Suspicious pointer conversion in function HB_FUN_DR3DMULTI\nWarning W8075 Obj\\TextTool.C 351: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 355: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 375: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 376: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 377: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 378: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 380: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 381: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 383: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 385: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 387: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 393: Suspicious pointer conversion in function GradeText\nWarning W8075 Obj\\TextTool.C 429: Suspicious pointer conversion in function HB_FUN_DRGRDTXT\nError E2227 Obj\\TextTool.C 513: Extra parameter in call to hb_parc in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 513: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nError E2227 Obj\\TextTool.C 514: Extra parameter in call to hb_parnl in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 530: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 534: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nError E2227 Obj\\TextTool.C 553: Extra parameter in call to hb_parc in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 553: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nError E2227 Obj\\TextTool.C 554: Extra parameter in call to hb_parnl in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 569: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 570: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 571: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 572: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 574: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 575: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 577: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 579: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 581: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nWarning W8075 Obj\\TextTool.C 585: Suspicious pointer conversion in function HB_FUN_MULGRDTXT\nError E2227 Obj\\TextTool.C 591: Extra parameter in call to hb_parnl in function HB_FUN_MULGRDTXT\n[/quote:2ku5o0hx]", "time": "19:01", "topic": "C problem, harbour compile 32 bit", "username": "richard-service" } ]
C problem, harbour compile 32 bit
[ { "date": "2016-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "cText = ( char * ) hb_parc( 6, n )", "time": "21:00", "topic": "C problem, harbour compile 32 bit", "username": "Antonio Linares" } ]
C problem, harbour compile 32 bit
[ { "date": "2016-09-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\nI use these code work fine for xHarbour , but not work Harbour.\nIt's appear error message Error E0030 Syntax error \"syntax error at 'L'\"\n\n[code=fw:38wg0h2v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#define</span> MF_BYPOSITION 0x0400L<br /><span style=\"color: #00D7D7;\">#define</span> MF_BYCOMMAND  0x0000L<br /><span style=\"color: #00D7D7;\">#define</span> MF_GRAYED     0x0001L<br /><span style=\"color: #00D7D7;\">#define</span> SC_CLOSE      0xF060L<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> NoCloseButton<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #B900B9;\">// puedes usar cualquiera de estas 2 opciones</span><br />   EnableMenuItem<span style=\"color: #000000;\">&#40;</span> GetSystemMenu<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">hWnd</span>, .F. <span style=\"color: #000000;\">&#41;</span>, SC_CLOSE, nOr<span style=\"color: #000000;\">&#40;</span> MF_BYCOMMAND, MF_GRAYED <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//=> This Line ERROR</span><br />   <span style=\"color: #B900B9;\">//ModifyMenu( GetSystemMenu( oWnd:hWnd, .F. ), SC_CLOSE, nOr( MF_BYCOMMAND, MF_GRAYED), -10, \"Close\")</span><br />   DrawMenuBar<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// actualiza el menu</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">Nil</span><br /> </div>[/code:38wg0h2v]", "time": "05:17", "topic": "C problem, harbour compile 32 bit", "username": "richard-service" } ]
C problem, harbour compile 32 bit
[ { "date": "2016-09-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, Try with\n\n[code=fw:3pkruh62]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#define</span> MF_BYPOSITION 0x0400<br /><span style=\"color: #00D7D7;\">#define</span> MF_BYCOMMAND &nbsp;0x0000<br /><span style=\"color: #00D7D7;\">#define</span> MF_GRAYED &nbsp; &nbsp; 0x0001<br /><span style=\"color: #00D7D7;\">#define</span> SC_CLOSE &nbsp; &nbsp; &nbsp;0xF060<br />&nbsp;</div>[/code:3pkruh62]", "time": "11:22", "topic": "C problem, harbour compile 32 bit", "username": "cnavarro" } ]
C problem, harbour compile 32 bit
[ { "date": "2016-09-27", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"cnavarro\":ic208f95]Yes, Try with\n\n[code=fw:ic208f95]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#define</span> MF_BYPOSITION 0x0400<br /><span style=\"color: #00D7D7;\">#define</span> MF_BYCOMMAND  0x0000<br /><span style=\"color: #00D7D7;\">#define</span> MF_GRAYED     0x0001<br /><span style=\"color: #00D7D7;\">#define</span> SC_CLOSE      0xF060<br /> </div>[/code:ic208f95][/quote:ic208f95]\nThanks a lot. working fine.", "time": "19:32", "topic": "C problem, harbour compile 32 bit", "username": "richard-service" } ]
C problem, harbour compile 32 bit
[ { "date": "2016-10-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobal:\n\nThank you for your reply. Still getting the same error.\n\nxLINK: error: Unresolved external symbol '_SmsGetProvider referenced from (Testsms.obj)'.\n\nThanks,\nRandal", "time": "17:34", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-18", "forum": "FiveWin for Harbour/xHarbour", "text": "All,\n\nI am trying to write a C wrapper for a function. I've used the DLL command successfully for most of the functions however this function I think is going to require a C wrapper. I do have the lib for this function as well.\n\nThis particular function populates a C structure with values. I need to call the function and then return the values in C structure to my .prg. I found a sample on the forum and tried to duplicate it but have not been successful.\n\nThe error I'm getting is:\n\nxLINK: error: Unresolved external symbol '_SMSGETPROVIDER referenced from (Testsms.obj)'.xLINK: error: Unresolved external symbol '_SMSGETPROVIDER referenced from (Testsms.obj)'.\n\nThis is a communications library named SocketTools. I've been using the DLL command version for sending emails via smtp for a few years and it works very well. I am using xHarbour. Below is my code.\n\nDefinition of function from help file.\n\n/*\nINT WINAPI SmsGetProvider( \n LPCTSTR lpszPhoneNumber, \n LPSMSPROVIDER lpProvider \n); \n*/\n\n\n#INCLUDE \"fivewin.ch\"\n\nFUNCTION TestSms\n\n SmsGetProvider( ) \n\nRETURN NIL\n\n\n#pragma BEGINDUMP \n\n#include <windows.h>\n#include <hbapi.h>\n\n#define SMS_MAXPROVIDERGUIDLEN 38\n#define SMS_MAXPROVIDERNAMELEN 128\n#define SMS_MAXCOMPANYNAMELEN 128\n#define SMS_MAXDOMAINNAMELEN 128\n\n\ntypedef struct tagSMS_PROVIDER\n{ \n int nProviderId;\n int nCountryCode;\n int nRegionCode;\n int nMessageLength;\n char szGuid[SMS_MAXPROVIDERGUIDLEN];\n char szName[SMS_MAXPROVIDERNAMELEN];\n char szCompany[SMS_MAXCOMPANYNAMELEN];\n char szDomain[SMS_MAXDOMAINNAMELEN];\n\n} SMS_PROVIDER ; \n\n\nHB_FUNC ( SMSGETPROVIDER )\n{\n SMS_PROVIDER aProvider ;\n\n aProvider.nProviderId = hb_parnl( 1, 1 ); \n aProvider.nCountryCode = hb_parnl( 1, 2 ); \n aProvider.nRegionCode = hb_parnl( 1, 3 ); \n aProvider.nMessageLength = hb_parnl( 1, 4 ); \n hb_retnl( SMSGETPROVIDER(&aProvider) );\n}\n\n#pragma ENDDUMP\n\n\n\nHere is the .DEF contents if it helps.\nLIBRARY \"CSTXTAV8.DLL\"\n\nEXPORTS\n\tSmsInitializeA\t\t\t@1\n\tSmsInitializeW\t\t\t@2\n\tSmsUninitialize\t\t\t@3\n\tSmsEnableTraceA\t\t\t@4\n\tSmsEnableTraceW\t\t\t@5\n\tSmsDisableTrace\t\t\t@6\n\tSmsEnumProvidersA\t\t@7\n\tSmsEnumProvidersW\t\t@8\n\tSmsGetErrorStringA\t\t@9\n\tSmsGetErrorStringW\t\t@10\n\tSmsGetFirstProviderA\t@11\n\tSmsGetFirstProviderW\t@12\n\tSmsGetGatewayA\t\t\t@13\n\tSmsGetGatewayW\t\t\t@14\n\tSmsGetLastError\t\t\t@15\n\tSmsGetNextProviderA\t\t@16\n\tSmsGetNextProviderW\t\t@17\n\tSmsGetProviderA\t\t\t@18\n\tSmsGetProviderW\t\t\t@19\n\tSmsSendMessageA\t\t\t@20\n\tSmsSendMessageW\t\t\t@21\n\tSmsSetLastError\t\t\t@22\n\n\nAny help greatly appreciated.\n\nThanks,\nRandal", "time": "16:47", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-18", "forum": "FiveWin for Harbour/xHarbour", "text": "First test with\n\n[quote:3m5k86tv]\n\naProvider.nProviderId = hb_parni( 1, 1 ); \naProvider.nCountryCode = hb_parni( 1, 2 ); \naProvider.nRegionCode = hb_parni( 1, 3 ); \naProvider.nMessageLength = hb_parni( 1, 4 ); \nhb_retnl( [b:3m5k86tv]SmsGetProvider[/b:3m5k86tv](&aProvider) ); // C is Case sensitive\n\n[/quote:3m5k86tv]", "time": "16:59", "topic": "C wrapper help", "username": "cnavarro" } ]
C wrapper help
[ { "date": "2016-10-18", "forum": "FiveWin for Harbour/xHarbour", "text": "They have not provided any .h header file ?", "time": "17:47", "topic": "C wrapper help", "username": "cnavarro" } ]
C wrapper help
[ { "date": "2016-10-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, there is a header file. I've added that to the top of my .prg but still get the same error message.\n\nThe header file is rather long so here is the portion of the header file that pertains to the function I'm trying to use. If you need the whole .h file let me know.\n\ntypedef struct _SMSPROVIDERW\n{\n\tINT nProviderId;\n\tINT nCountryCode;\n\tINT nRegionCode;\n\tINT nMessageLength;\n\tDWORD dwFlags;\n\tDWORD dwReserved;\n\tWCHAR szGuid[SMS_MAXPROVIDERGUIDLEN];\n\tWCHAR szName[SMS_MAXPROVIDERNAMELEN];\n\tWCHAR szCompany[SMS_MAXCOMPANYNAMELEN];\n\tWCHAR szDomain[SMS_MAXDOMAINNAMELEN];\n} SMSPROVIDERW, *LPSMSPROVIDERW;\n\ntypedef struct _SMSPROVIDERA\n{\n\tINT nProviderId;\n\tINT nCountryCode;\n\tINT nRegionCode;\n\tINT nMessageLength;\n\tDWORD dwFlags;\n\tDWORD dwReserved;\n\tCHAR szGuid[SMS_MAXPROVIDERGUIDLEN];\n\tCHAR szName[SMS_MAXPROVIDERNAMELEN];\n\tCHAR szCompany[SMS_MAXCOMPANYNAMELEN];\n\tCHAR szDomain[SMS_MAXDOMAINNAMELEN];\n} SMSPROVIDERA, *LPSMSPROVIDERA;\n\n#ifdef UNICODE\n#define SMSPROVIDER SMSPROVIDERW\n#define LPSMSPROVIDER LPSMSPROVIDERW\n#else\n#define SMSPROVIDER SMSPROVIDERA\n#define LPSMSPROVIDER LPSMSPROVIDERA\n#endif\n\n\nHere are the functions defined in the .h file...\n\n\nPUBLIC INT WINAPI SmsGetProviderW(\n\tIN LPCWSTR lpszPhoneNumber,\n\tOUT LPSMSPROVIDERW lpProvider\n\t);\n\nPUBLIC INT WINAPI SmsGetProviderA(\n\tIN LPCSTR lpszPhoneNumber,\n\tOUT LPSMSPROVIDERA lpProvider\n\t);\n\n#ifdef UNICODE\n#define SmsGetProvider SmsGetProviderW\n#else\n#define SmsGetProvider SmsGetProviderA\n#endif\n\nI have tried changing the function name to include A or W as above but still get the same error.\n\nxLINK: error: Unresolved external symbol '_SmsGetProviderW referenced from (Testsms.obj)'.\n\nThanks,\nRandal", "time": "18:19", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "You have to link some libs they surely provide containing the undefined function.\n\nEMG", "time": "09:57", "topic": "C wrapper help", "username": "Enrico Maria Giordano" } ]
C wrapper help
[ { "date": "2016-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico:\n\nThanks for your reply. They do provide a lib and dll and I am linking the library file. Here is a list of functions from the lib.\n\nCSTXTAV8.DLL:__IMPORT_DESCRIPTOR_CSTXTAV8\nCSTXTAV8.DLL:__NULL_IMPORT_DESCRIPTOR\nCSTXTAV8.DLL:CSTXTAV8_NULL_THUNK_DATA\nCSTXTAV8.DLL:_SmsDisableTrace@0\nCSTXTAV8.DLL:_SmsEnableTraceA@8\nCSTXTAV8.DLL:_SmsEnableTraceW@8\nCSTXTAV8.DLL:_SmsEnumProvidersA@12\nCSTXTAV8.DLL:_SmsEnumProvidersW@12\nCSTXTAV8.DLL:_SmsGetErrorStringA@12\nCSTXTAV8.DLL:_SmsGetErrorStringW@12\nCSTXTAV8.DLL:_SmsGetFirstProviderA@8\nCSTXTAV8.DLL:_SmsGetFirstProviderW@8\nCSTXTAV8.DLL:_SmsGetGatewayA@12\nCSTXTAV8.DLL:_SmsGetGatewayW@12\nCSTXTAV8.DLL:_SmsGetLastError@0\nCSTXTAV8.DLL:_SmsGetNextProviderA@8\nCSTXTAV8.DLL:_SmsGetNextProviderW@8\nCSTXTAV8.DLL:_SmsGetProviderA@8\nCSTXTAV8.DLL:_SmsGetProviderW@8\nCSTXTAV8.DLL:_SmsInitializeA@8\nCSTXTAV8.DLL:_SmsInitializeW@8\nCSTXTAV8.DLL:_SmsSendMessageA@12\nCSTXTAV8.DLL:_SmsSendMessageW@12\nCSTXTAV8.DLL:_SmsSetLastError@4\nCSTXTAV8.DLL:_SmsUninitialize@0\n\nWhat am I doing wrong?\n\nThanks,\nRandal", "time": "14:56", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "How are you linking the lib?\n\nEMG", "time": "15:10", "topic": "C wrapper help", "username": "Enrico Maria Giordano" } ]
C wrapper help
[ { "date": "2016-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Enrico Maria Giordano\":1x0o9kvq]How are you linking the lib?\n\nEMG[/quote:1x0o9kvq]\n\n\nI'm using xBuilder so I've just added it to the project. I also tried using the command line option to make sure the lib is being linked and I get the same error.\n\nThanks,\nRandal", "time": "17:01", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Randal,\n\nWhat error do you get ?", "time": "17:35", "topic": "C wrapper help", "username": "Antonio Linares" } ]
C wrapper help
[ { "date": "2016-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":2fj40z3t]Randal,\n\nWhat error do you get ?[/quote:2fj40z3t]\n\n\nxLINK: error: Unresolved external symbol '_SmsGetProvider referenced from (Testsms.obj)'.\n\nThanks,\nRandal", "time": "20:25", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Randal,\n\nPlease modify this line:\n\nhb_retnl( SMSGETPROVIDER(&aProvider) );\n\ninto:\n\nhb_retnl( SmsGetProviderA(&aProvider) );", "time": "21:29", "topic": "C wrapper help", "username": "Antonio Linares" } ]
C wrapper help
[ { "date": "2016-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":1baubtt3]Randal,\n\nPlease modify this line:\n\nhb_retnl( SMSGETPROVIDER(&aProvider) );\n\ninto:\n\nhb_retnl( SmsGetProviderA(&aProvider) );[/quote:1baubtt3]\n\n\nI get the same error message.\n\nxLINK: error: Unresolved external symbol '_SmsGetProviderA referenced from (Testsms.obj)'.\n\nRandal", "time": "04:51", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "The DLL is using C++ mode.\n\nSo you need to compile your C code using C++ mode\n\nUsing Borland or Microsoft this is quite easy. What C compiler are you using ?\n\nCould you use free xHarbour ? that would easily solve it.", "time": "10:43", "topic": "C wrapper help", "username": "Antonio Linares" } ]
C wrapper help
[ { "date": "2016-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3l2odu1s]The DLL is using C++ mode.\n\nSo you need to compile your C code using C++ mode\n\nUsing Borland or Microsoft this is quite easy. What C compiler are you using ?\n\nCould you use free xHarbour ? that would easily solve it.[/quote:3l2odu1s]\n \nAntonio:\n\nI'm using xHarbour commercial and xCC. Is there anyway to compile this using xCC?\n\nThanks,\nRandal", "time": "17:21", "topic": "C wrapper help", "username": "Randal" } ]
C wrapper help
[ { "date": "2016-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Randal,\n\nI execute xcc.exe and get this:\n\nI don't see an option for C++\n\nc:\\xhb\\bin>xcc\nPelles ISO C Compiler, Version 3.00.0 (Beta)\nCopyright (c) Pelle Orinius 1999-2005\n\nSyntax:\nxCC [options] srcfile{.C|.ASM}\n\nOptions:\n/D<name>[=<text>] Define a preprocessor symbol\n/E Preprocess only (to stdout)\n/Fo<outfile> Name the output file\n/Gd Use __cdecl as default calling convention (default)\n/Gh Enable hook function call\n/Gm Don't decorate __stdcall or __fastcall symbols (if /Ze)\n/Gn Don't decorate exported __stdcall symbols (if /Ze)\n/Gr Use __fastcall as default calling convention (if /Ze)\n/Gz Use __stdcall as default calling convention (if /Ze)\n/I<path> Add a search path for #include files\n/J Default char type is unsigned\n/MD Enable dynamic C runtime library (POCRT.DLL)\n/MT Enable multi-threading support (CRTMT.LIB)\n/O1 Same as /Os\n/O2 Same as /Ot\n/Op[-] Improve floating-point consistency\n/Os Optimize, favor code space\n/Ot Optimize, favor code speed\n/Ox Perform maximum optimizations\n/T<target> Select output target (/T? displays a list)\n/U<name> Undefine a preprocessor symbol\n/V<n> Set verbosity level 0, 1 or 2 (default n = 0)\n/W<n> Set warning level 0, 1 or 2 (default n = 1)\n/X Don't search standard places for #include files\n/Zd Enable line number debugging information\n/Ze Enable Microsoft extensions\n/Zg Write function prototypes to stdout\n/Zi Enable full debugging information\n/Zl Omit default library name in object file\n/Zs Syntax check only\n/Zx Enable Pelles C extensions", "time": "18:36", "topic": "C wrapper help", "username": "Antonio Linares" } ]
C wrapper help
[ { "date": "2016-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "[url:qbpet7th]http&#58;//forum&#46;pellesc&#46;de/index&#46;php?topic=5117&#46;0[/url:qbpet7th]\n\n[quote:qbpet7th]Pelles C does not support C++[/quote:qbpet7th]\n\nIf you want to use that DLL you may need to change your C compiler or maybe build a DLL that access the DLL in C++\n\nEXE --> first DLL --> second C++ DLL\n\ncomplex but it may work", "time": "18:39", "topic": "C wrapper help", "username": "Antonio Linares" } ]
C wrapper help
[ { "date": "2022-08-15", "forum": "Utilities / Utilidades", "text": "Buenas !!!\n\nUna utilidad que parece muy interesante [url:25qah74t]https&#58;//cyapass&#46;com/[/url:25qah74t].\n\nUsing CYaPass\nAll you have to do is:\nAdd / Select a SiteKey (reminds you which site the password is used for)\nDraw your secret pattern (it is never stored anywhere)\nThe program remembers which password requirements (uppercase, special characters, length) are required by the site.\nThe program generates your password and copies the password to your clipboard.\nYou just paste the password wherever you need to use it.\n\nWatch this video which shows how you C'YaPass in action across devices (shown on iPhone and Windows, but it is the same on Android).\n\n[url:25qah74t]https&#58;//youtu&#46;be/05EzOreh_Fg[/url:25qah74t]\n\nSaludos,", "time": "09:57", "topic": "C'YaPass: Forget All Your Passwords", "username": "Baxajaun" } ]
C'YaPass: Forget All Your Passwords
[ { "date": "2010-04-15", "forum": "FiveWin for Harbour/xHarbour", "text": "I have to convert an function in C++ to fivewin, but i'm having trouble with struct\n\nThere is the files .CPP and .H\n<!-- m --><a class=\"postlink\" href=\"http://www.4shared.com/file/6A3J6R76/RFDBinarioC.html\">http://www.4shared.com/file/6A3J6R76/RFDBinarioC.html</a><!-- m -->\n\nHere is my BIGGEST trouble, the Struct DLLReadStatusData and the method LeStatus()\n\n[code=fw:5gc7olvp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#pragma</span> once<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><br />typedef int <span style=\"color: #000000;\">&#40;</span>WINAPI *TRATADORA<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>long lnErro, LPSTR szDescricao, char bErroNaoFatal <span style=\"color: #000000;\">&#41;</span>;<br /><br />struct DLLReadStatusData <span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; int nTamanhoStatus;<br />&nbsp; &nbsp; int nSituacaoAtual;<br />&nbsp; &nbsp; int nCodigoErro;<br />&nbsp; &nbsp; long lnTamanhoLeitura;<br />&nbsp; &nbsp; long lnProgressoLeitura;<br />&nbsp; &nbsp; char* szSituacaoAtual;<br /><span style=\"color: #000000;\">&#125;</span>;<br /><br /><span style=\"color: #00C800;\">class</span> CLeitura<br /><span style=\"color: #000000;\">&#123;</span><br /><span style=\"color: #00C800;\">public</span>:<br />&nbsp; &nbsp; <span style=\"color: #000000;\">CLeitura</span><span style=\"color: #000000;\">&#40;</span>void<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; ~CLeitura<span style=\"color: #000000;\">&#40;</span>void<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Define o BaudRate de comunicação com a impressora</span><br />&nbsp; &nbsp; void DefineBaudRate<span style=\"color: #000000;\">&#40;</span>long lnBaudRate<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Lê as memórias MF e MFD da impressora e grava em arquivo</span><br />&nbsp; &nbsp; int LeMemorias<span style=\"color: #000000;\">&#40;</span>char* szPortaSerial, char* szNomeArquivo, char* szSerieECF, char bAguardaConcluirLeitura<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Cancelar a leitura das Memórias</span><br />&nbsp; &nbsp; void CancelaLeitura<span style=\"color: #000000;\">&#40;</span>void<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Lê a versão da DLL</span><br />&nbsp; &nbsp; void Versao<span style=\"color: #000000;\">&#40;</span>char* szVersao<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Retorna o status atual do processo de Leitura</span><br />&nbsp; &nbsp; int LeStatus<span style=\"color: #000000;\">&#40;</span>DLLReadStatusData* pStatusData<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Função usada para definir a função de callback que será responsável por tratar os erros da Leitura.dll</span><br />&nbsp; &nbsp; void TrataErro<span style=\"color: #000000;\">&#40;</span>TRATADORA funcTratadora<span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #00C800;\">private</span>:<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Handle para a Leitura.dll</span><br />&nbsp; &nbsp; HINSTANCE m_hLeituraDLL;<br /><span style=\"color: #000000;\">&#125;</span>;<br />&nbsp;</div>[/code:5gc7olvp]", "time": "15:30", "topic": "C++ -> Fivewin", "username": "sambomb" } ]
C++ -> Fivewin
[ { "date": "2010-04-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Samir,\n\nWhat error do you get ?", "time": "19:09", "topic": "C++ -> Fivewin", "username": "Antonio Linares" } ]
C++ -> Fivewin
[ { "date": "2010-04-17", "forum": "FiveWin for Harbour/xHarbour", "text": "The program abort when I call de dll with the parameter as ptr. Ptr because I need to receive the var send by reference...", "time": "02:29", "topic": "C++ -> Fivewin", "username": "sambomb" } ]
C++ -> Fivewin
[ { "date": "2010-04-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Samir,\n\nPlease show me how you are calling the DLL function from your PRG", "time": "08:43", "topic": "C++ -> Fivewin", "username": "Antonio Linares" } ]
C++ -> Fivewin
[ { "date": "2010-02-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nHow i do to create a object activeX or ole in C++ alone.\n\ni try \n\ninit main(){\n obj = CreateObject(\"progID\");\n return 0;\n}\n\nmore no compile show me that dont have function createObject, i tryed too ToleAuto more too no work.\n\nSomeone can help ?\n\nthanks", "time": "04:25", "topic": "C++ ?? xHarbour :(", "username": "lailton.webmaster" } ]
C++ ?? xHarbour :(
[ { "date": "2010-02-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Lailton,\n\nYou have to use the function CoCreateInstance():\n\n[url:1wnnoiqj]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/ms686615(VS&#46;85)&#46;aspx[/url:1wnnoiqj]", "time": "20:02", "topic": "C++ ?? xHarbour :(", "username": "Antonio Linares" } ]
C++ ?? xHarbour :(
[ { "date": "2010-02-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio,\n\nU can show me a sample using this.\n\ni will try alone, but if u can show me a sample.\n\nthanks", "time": "03:56", "topic": "C++ ?? xHarbour :(", "username": "lailton.webmaster" } ]
C++ ?? xHarbour :(
[ { "date": "2010-02-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Lailton,\n\nIf you search in google for CoCreateInstance and CLSCTX_INPROC_SERVER you may find many examples. \n\nWe don't have a simple example to provide, sorry.", "time": "12:39", "topic": "C++ ?? xHarbour :(", "username": "Antonio Linares" } ]
C++ ?? xHarbour :(
[ { "date": "2010-02-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks.\n\nIm looking about this.\nmore think that this not work in bcc55 fine. because all sample dont compile or dont have .h file.\ni will try download microsoft visual C++ to make test too.\n\nthanks.", "time": "16:29", "topic": "C++ ?? xHarbour :(", "username": "lailton.webmaster" } ]
C++ ?? xHarbour :(
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas tardes,\n\nAca dejo el link para los que tienen proyectado desarrollar una clase para Oracle\n\n<!-- m --><a class=\"postlink\" href=\"http://www.oracle.com/technetwork/database/occidownloads-083553.html\">http://www.oracle.com/technetwork/datab ... 83553.html</a><!-- m -->\n\nSaludos,", "time": "21:33", "topic": "C++ API for Oracle Database (Para Daniel Garcia-Gil)", "username": "Compuin" } ]
C++ API for Oracle Database (Para Daniel Garcia-Gil)
[ { "date": "2011-09-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Compuin,\n\nMe parece que harbour en las contrib sddoci habia algo ya avanzado para atacar oracle con su api.\n\nSaludos,\n\nLautaro Moreira", "time": "16:34", "topic": "C++ API for Oracle Database (Para Daniel Garcia-Gil)", "username": "Lautaro" } ]
C++ API for Oracle Database (Para Daniel Garcia-Gil)
[ { "date": "2023-11-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Until this past year, my builds with FWH, Harbour, and MSVC never required me to install the Microsoft C++ Redistributables. Now I must install both the current pair ( 32 & 64 bit ), and the 32 bit Version 12. \n\nIs there a tool I can use to see what, in my application, now requires these ? It all started when I completed a major upgrade to my software application, so something I may have added could be the cause, or it could be that the Visual Studio 2022 now requires this with it's libraries.\n\nYour thoughts are appreciated.", "time": "20:27", "topic": "C++ Redistributables Required", "username": "TimStone" } ]
C++ Redistributables Required
[ { "date": "2023-11-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Tim,\n\nCould you please send me your old EXE and the current one using [url:lzj7fpbc]https&#58;//wormhole&#46;app/[/url:lzj7fpbc] ?\n\nI want to compare the required external DLLs for both EXEs\n\nthank you", "time": "20:34", "topic": "C++ Redistributables Required", "username": "Antonio Linares" } ]
C++ Redistributables Required
[ { "date": "2007-06-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Supongamos que creo una function en Borland C++ llamada MIFUNC() y que para ello empleo una function CFUNC() de una DLL externa, por ejemplo ICM32.DLL.\nSupongamos que todo va bien y se crea el OBJ correctamente.\nCuando utilizo MIFUNC() en un PRG ¿necesito utilizar ICM32.DLL para compilar/linkar, o el algoritmo CFUNC() ya va embebido en el OBJ?\nGracias. Saludos", "time": "17:02", "topic": "C++ y DLL", "username": "antolin" } ]
C++ y DLL
[ { "date": "2007-06-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Necesitas la DLL tambien.\n\nTal como ocurre con el RDDADS.\n\nEl RDDADS son un monton de wrappers a funciones que estan almacenadas en el ACE32.DLL, estas funciones utilizan a su vez otros DLLs como el ADSLOC32 y el AXWCS32.DLL, razon por lo cual aunque tengas que crear un ACE32.LIB a partir del ACE32.DLL, es necesrio incluir los DLLs que tienen dichas fucnions.", "time": "20:25", "topic": "C++ y DLL", "username": "R.F." } ]
C++ y DLL
[ { "date": "2007-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas Gracias", "time": "19:02", "topic": "C++ y DLL", "username": "antolin" } ]
C++ y DLL
[ { "date": "2009-04-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi to all:\nOnly a comment: I,d just used C++2009 with Harbour and FWH April and everything go ok.\nI used a diferent anigif.c posted in this forum for that.\n\nSaludos\n\nRuben Fernandez", "time": "16:29", "topic": "C++2009", "username": "Ruben Fernandez" } ]
C++2009
[ { "date": "2009-04-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados amigos:\n\nHe tenido la oportunidad de probar Harbour y FWH Abril con C++2009 y funciono perfecto, sin problemas.\nUtilice una version de anigif.c que estaba en el foro dejada por Antonio.\n\nSolo es un comentario de una prueba que hice por si alguien le interesa.\n\nSaludos\n\nRuben Fernandez", "time": "16:32", "topic": "C++2009", "username": "Ruben Fernandez" } ]
C++2009
[ { "date": "2009-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Ruben,\n\nDo you mean Borland C++ 2009 ? Or MSVC ?\n\nThanks for sharing your results <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "02:51", "topic": "C++2009", "username": "Antonio Linares" } ]
C++2009
[ { "date": "2009-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio:\n\nBorland C++ 2009\n\nRegards\n\nRuben Fernandez", "time": "06:54", "topic": "C++2009", "username": "Ruben Fernandez" } ]
C++2009
[ { "date": "2009-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nIs Borland C++ 2009 a Freeware ? Any specific advantage by using Borland C++ 2009, instead of the one (BCC55) which we all use right now ?\n\nRegards\n\nAnser", "time": "08:52", "topic": "C++2009", "username": "anserkk" } ]
C++2009
[ { "date": "2009-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Anser:\n\nBorland C++2009 is not free, and I don´t know for any advantage over BCC5.5.\nI use Borland C++2009 trial version. Just to know if all was ok with this version.\n\nThan kyou, best regards\n\nRuben Fernandez.", "time": "13:45", "topic": "C++2009", "username": "Ruben Fernandez" } ]
C++2009
[ { "date": "2009-04-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr.Ruben\n\nThanks for the info.\n\nRegards\nAnser", "time": "08:15", "topic": "C++2009", "username": "anserkk" } ]
C++2009