topic
stringlengths
1
63
text
stringlengths
1
577k
xBrwowse acentos y Ñ/ñ [SOLUCIONADO]
[code=fw:3i7wct5u]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \SAMPLES\RAMONUTF.PRG &nbsp;- Harbour / xHarbour compiler</span><br /><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;">"HbCompat.ch"</span><br /><br /><span style="color: #B900B9;">// REQUEST HB_CODEPAGE_PTISO &nbsp;// Se quita por ser del idioma portugués</span><br />REQUEST HB_CODEPAGE_UTF8EX<br />REQUEST HB_LANG_ES<br />REQUEST HB_CODEPAGE_ESWIN &nbsp;<span style="color: #B900B9;">// Para reconocer la EÑE y ACENTOS en los índices</span><br />REQUEST HB_CODEPAGE_ES850 &nbsp;<span style="color: #B900B9;">// Se añade el idioma español</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cStr := <span style="color: #ff0000;">"PEÑÀGUILA, Peñàguila, TURÍS, Turís, CÀLIG, Càlig, XÀTIVA, Xàtiva, AGROCÍTRICOS, Agrocítricos, L'ALCÚDIA, L'Alcúdia"</span>+CRLF+;<br />&nbsp; &nbsp;<span style="color: #ff0000;">"ÁGORA, Ágora, ALMÀSSERA, Almàssera, PERÚ, Perú, BOGOTÁ, Bogotá, VALÈNCIA, València, ZARIGÜEÑA, Zarigüeña"</span><br />&nbsp;<br />&nbsp; &nbsp;HB_SETCODEPAGE<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ES850"</span> <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Se añade el código de página del idioma español</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">// HB_CDPSELECT( "PTISO" ) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Se quita por corresponder al idioma portugués</span><br />&nbsp; &nbsp;hb_cdpSelect<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"UTF8EX"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;HB_LANGSELECT <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ES"</span> <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Idioma Español</span><br />&nbsp; &nbsp;HB_SetCodePage <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ESWIN"</span> <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Para reconocer la EÑE y ACENTOS en los índices</span><br /><br />&nbsp; &nbsp;? <span style="color: #ff0000;">'UTF8toSTR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: '</span>, hb_utf8tostr<span style="color: #000000;">&#40;</span> cStr <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: #B900B9;">// FIN / END</span><br />&nbsp;</div>[/code:3i7wct5u] Regards, saludos.
xBuildW ?
Amigos: Alguien utiliza xBuildW de xHarbour.com <!-- m --><a class="postlink" href="http://www.xharbour.com/products/addons.php">http://www.xharbour.com/products/addons.php</a><!-- m --> para compilar sus aplicaciones ? Tengo algunas dudas. Saludos
xBuildW ?
Hola Armando, Recien unos dias, he estado trabajando con xHarbour, y he logrado armar un pequeño proyecto .xbp con el xBuildW y funciona bien
xBuildW ?
Blessed: Cierto, tambien acabo de probarlo pero con un solo PRG y funciona bien, quisiera saber si es confiable para varios PRGs y hasta cuantos ? Saludos
xBuildW ?
Armando, Use xBuilder desde hace varios años. Para mi es 100% confiable, tengo varios proyectos hasta con mas de 20 PRGs y nunca he tenido ningun problema. Tambien puedes incluir programas en C dentro de tus proyectos. Lo mejor de todo es la facilidad de uso pues casi todo es intuitivo y no va a requerir ninguna "curva de aprendizaje". Te ahorraras mucho tiempo usando el xBuilder. Saludos George
xBuildW ?
George: Muchas gracias por tu respuesta, a mi tambien me parece muy sencillo, aunque tiene pequeños detalles como que no es posible auto abrir el último proyecto, o tal vez no se como configurarlo. Saludos
xBuilder & Fwh
All, Does xHarbour/xBuilder version Sept 08 work ok with FWH Version 9.05? Thanks, Randal
xBuilder & Fwh
[quote="Randal":189razkr]All, Does xHarbour/xBuilder version Sept 08 work ok with FWH Version 9.05? Thanks, Randal[/quote:189razkr] yes, it does. Regards, Detlef
xBuilder & Fwh
Detlef, Thanks for the reply. I upgraded yesterday but found there is a problem with the xml class (which I use) in Apr 09 version of xHarbour. I understand the fixed it in the latest beta but I think I'll wait for the next production release. Thanks again, Randal
xBuilder and SaveToBMP() issue
Please See below a sample that is working fine with Harbour + Fivewin and xHarbour (free version) + Fivewin. But is not working with xBuilder (xHarbour commercial version) + Fivewin. I mean the file BMP is created but cannot be open when created thru xBuilder. [code=fw:1o5sjva1]<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;">"TGraph.ch"</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">LOCAL</span> oDlg, oGraph<br /><br />    <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg;<br />           <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">600</span>, <span style="color: #000000;">500</span><br /><br />    @ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> GRAPH oGraph;<br />           <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">250</span>, <span style="color: #000000;">200</span>;<br />           TYPE <span style="color: #000000;">1</span>;<br />           YVALUES 3D XGRID YGRID XVALUES LEGENDS<br /><br />    oGraph:<span style="color: #000000;">aSeries</span> = <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Serie 1"</span>, CLR_CYAN , , <span style="color: #000000;">&#125;</span>,;<br />                       <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Serie 2"</span>, CLR_YELLOW, <span style="color: #000000;">2</span>, .T. <span style="color: #000000;">&#125;</span>,;<br />                       <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Serie 3"</span>, CLR_HRED, <span style="color: #000000;">3</span>, .F. <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br /><br />    oGraph:<span style="color: #000000;">aData</span> = <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">14280</span>, <span style="color: #000000;">20420</span>, <span style="color: #000000;">12870</span>, <span style="color: #000000;">25347</span>, <span style="color: #000000;">7640</span> <span style="color: #000000;">&#125;</span>,;<br />                     <span style="color: #000000;">&#123;</span> <span style="color: #000000;">8350</span>, <span style="color: #000000;">10315</span>, <span style="color: #000000;">15870</span>, <span style="color: #000000;">5347</span>, <span style="color: #000000;">12340</span> <span style="color: #000000;">&#125;</span>,;<br />                     <span style="color: #000000;">&#123;</span> <span style="color: #000000;">12345</span>, <span style="color: #000000;">-8945</span>, <span style="color: #000000;">10560</span>, <span style="color: #000000;">15600</span>, <span style="color: #000000;">17610</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span><br /><br />    oGraph:<span style="color: #000000;">nClrX</span> = CLR_GREEN<br />    oGraph:<span style="color: #000000;">nClrY</span> = CLR_RED<br /><br />  @ <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Save2BMP"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oGraph:<span style="color: #000000;">Save2Bmp</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"GRAPH.BMP"</span><span style="color: #000000;">&#41;</span>, <br /> <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"File GRAPH.BMP has been saved"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />    <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg  <span style="color: #0000ff;">CENTER</span><br /><br />    <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:1o5sjva1] Please can confirm this problem any of you that are using xBuilder? Regards George
xBuilder and SaveToBMP() issue
George, Could you please provide both bitmaps (in a ZIP file) with the right and wrong ones ? thanks
xBuilder and SaveToBMP() issue
Antonio, Sent to your email. Saludos George
xBuilder and SaveToBMP() issue
George, It seems as there are just two different bytes and they make the difference: With Harbour: BM65 (first 4 bytes) with xHarbour: MB65 (first 4 bytes) I think we can easily fix this <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xBuilder and SaveToBMP() issue
Good to know! Thanks George.
xBuilder and SaveToBMP() issue
George, Problem solved <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=98298#p98298">viewtopic.php?p=98298#p98298</a><!-- l -->
xBuilder and SaveToBMP() issue
Very well. I was following this thread. Regards George
xBullZipPDFPrinter_6_0_0como pdf
Saludos, uso el controlador BullZipPDFPrinter para realizar impresiones pdf, usan el printer normal de fw, este controlador lo tengo instalado como predetermindo, por tengo usando PRINTER . de fw. LA IMPRESION me la manda al BullZipPDF, pero de repente esta impresion se pierde y tengo problemas para generar el pdf de la factura electronica. Alguna sugerencia para que la impresion la mande directa a un pdf sin usar mas recursos?. Gracias.
xBullZipPDFPrinter_6_0_0como pdf
Saludos, uso el controlador BullZipPDFPrinter para realizar impresiones pdf, usan el printer normal de fw, este controlador lo tengo instalado como predetermindo, por tengo usando PRINTER . de fw. LA IMPRESION me la manda al BullZipPDF, pero de repente esta impresion se pierde y tengo problemas para generar el pdf de la factura electronica. Alguna sugerencia para que la impresion la mande directa a un pdf sin usar mas recursos?. Gracias.
xBullZipPDFPrinter_6_0_0como pdf
Buén dia, simples: [url:1es8v1ru]https&#58;//www&#46;sumatrapdfreader&#46;org/free-pdf-reader&#46;html[/url:1es8v1ru] Saludos.
xChoice() works with FWH 19.06?
Mr. Rao, xChoice() function works with FWH 1906? Wiht FWH 15.07 works fine. Note: aPrompts is an array like { "Hola", "que tal" } [code=fw:3prtkrlm]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/* *********************************************************************************** */</span><br /><span style="color: #00C800;">FUNCTION</span> XChoice<span style="color: #000000;">&#40;</span> aPrompts, cTitle <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">/*by nageswaragunupudi » Mon Aug 19, 2013 8:30 pm<br />You may try using this function in the place of AChoice<br />*/</span><br />   <span style="color: #00C800;">local</span> nSelect  := <span style="color: #000000;">0</span><br /><br />   <span style="color: #00C800;">DEFAULT</span> cTitle := <span style="color: #ff0000;">"Select"</span><br /><br />   XBROWSER aPrompts <span style="color: #0000ff;">TITLE</span> cTitle <span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">&#40;</span> nSelect := oBrw:<span style="color: #000000;">nArrayAt</span> <span style="color: #000000;">&#41;</span> ;<br />      SETUP <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">lHeader</span> := .f., oBrw:<span style="color: #000000;">lRecordSelector</span> := .f., oBrw:<span style="color: #000000;">lHScroll</span> := .f., ;<br />      oBrw:<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">bInit</span> := <span style="color: #000000;">&#123;</span> |oDlg| oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Anar al primer registre.</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Anar un regitstre enrera</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Anar un registre endavant</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Anar al darrer registre</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Afegir un registre</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Modificar un registre</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Eliminar un registre</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">8</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ;   <span style="color: #B900B9;">// Imprimir</span><br />                                  oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">9</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">// Exportar a XLS</span><br /><br /><span style="color: #00C800;">Return</span> nSelect<br /><span style="color: #B900B9;">/* *********************************************************************************** */</span></div>[/code:3prtkrlm] Error occurred at: 16-08-2019, 17:11:16 Error description: Error BASE/1132 Error de rango: acceso al array Args: [ 1] = A { ... } length: 2 [ 2] = N 3 Stack Calls =========== Called from: => (b)EVAL( 1378 ) Called from: .\source\function\XBROWSER.PRG => FITSIZES( 301 ) Called from: .\source\function\XBROWSER.PRG => (b)XBROWSE( 250 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 864 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 1120 ) Called from: => DIALOGBOXINDIRECT( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 304 ) Called from: .\source\function\XBROWSER.PRG => XBROWSE( 278 ) Called from: c:\desarrol\treball\Ampa1906\prg\Lib00.PRG => XCHOICE( 1378 )
xChoice() works with FWH 19.06?
Try with Prueba asi [quote:3md37rmy] /* *********************************************************************************** */ FUNCTION XChoice( aPrompts, cTitle ) /*by nageswaragunupudi » Mon Aug 19, 2013 8:30 pm You may try using this function in the place of AChoice */ local nSelect := 0 DEFAULT cTitle := "Select" XBROWSER aPrompts TITLE cTitle SELECT ( nSelect := oBrw:nArrayAt ) ; SETUP ( oBrw:lHeader := .f., oBrw:lRecordSelector := .f., oBrw:lHScroll := .f., ; oBrw:oWnd:bInit := { |oDlg| [b:3md37rmy]oDlg:aControls[ 1 ]:Hide()[/b:3md37rmy] } ) Return nSelect /* *********************************************************************************** */ [/quote:3md37rmy]
xDevStudio
Siguiendo un enlace del foro he llegado a la página de xDevStudio <!-- m --><a class="postlink" href="http://www.sqllib.com.br/download.php?id=xDevStudio">http://www.sqllib.com.br/download.php?id=xDevStudio</a><!-- m --> . Alguien sabe si hay una versión en castellano o sólo está en portugues. Saludos,
xDevStudio
Sólo en Português... Puedes hablar directamente con el Autor del Proyecto: Vailton Renato <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> Creo que tenga una Vérsion en Ingléz...
xDocViewer
xDocViewer creates automatically previews of word documents. You can browse the previews with very high speed and then tag/sort the documents to directories with one click. After you tag/sort one document the preview positions automatically to the next document. You can sort hundrets of documents in a very short time. You can create new directories at runtime, search for documents and establish filters. This software can also handle PDF-files and jpg-photos. Build around xbrowse . Best regards, Otto [url:dx2k9nqm]http&#58;//www&#46;youtube&#46;com/watch?v=nAmq3X24h_0[/url:dx2k9nqm]
xDocViewer
EXCELLANT
xHARBOUR en modo consola (solucionado)
Estimados alguien que use xharbour en modo consola me pueda enviar los archivos de linkeo ya que no he podido hacerlo andar si es posible que pueda ejecuar este simple ejemplo [quote:2on5s34b]function main() alert( "Hola" ) return nil[/quote:2on5s34b] desde ya gracias
xHARBOUR en modo consola (solucionado)
estimaods, dejo aqui lo que tengo hecho para ver si alguien lo puede echar una manito y dejarlo funcionando, compila bien pero no hace nada <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> [b:36jea2ko]modulo1.prg[/b:36jea2ko] [quote:36jea2ko]ANNOUNCE RDDSYS function main() cls alert( "consola" ) @ 10,10 say "Hola" inkey(0) return nil //--------------------------------------- procedure RddInit() REQUEST HB_LANG_ES REQUEST DBFCDX, DBFFPT return //---------------------------------------[/quote:36jea2ko] [b:36jea2ko]do.bat[/b:36jea2ko] [quote:36jea2ko]@ECHO OFF CLS if A%1 == A GOTO :SINTAX if NOT EXIST %1.prg GOTO :NOEXIST ECHO Compiling... set hdir=c:\xharbour set bcdir=c:\borland\bcc582 %hdir%\bin\harbour %1 /n /a /i..\include;%hdir%\include;c: /p %2 %3 > clip.log @type clip.log IF ERRORLEVEL 1 PAUSE IF ERRORLEVEL 1 GOTO EXIT echo -O2 -e%1.exe -I%hdir%\include %1.c > b32.bc %bcdir%\BIN\bcc32 -M -c @b32.bc :ENDCOMPILE echo %bcdir%\lib\c0w32.obj + > b32.bc echo %1.obj, + >> b32.bc echo %1.exe, + >> b32.bc echo %1.map, + >> b32.bc echo %hdir%\lib\rtl.lib + >> b32.bc echo %hdir%\lib\vm.lib + >> b32.bc echo %hdir%\lib\gtgui.lib + >> b32.bc echo %hdir%\lib\lang.lib + >> b32.bc echo %hdir%\lib\macro.lib + >> b32.bc echo %hdir%\lib\rdd.lib + >> b32.bc echo %hdir%\lib\dbfntx.lib + >> b32.bc echo %hdir%\lib\dbfcdx.lib + >> b32.bc echo %hdir%\lib\dbffpt.lib + >> b32.bc echo %hdir%\lib\debug.lib + >> b32.bc echo %hdir%\lib\common.lib + >> b32.bc echo %hdir%\lib\pp.lib + >> b32.bc rem Uncomment these two lines to use Advantage RDD rem echo %hdir%\lib\rddads.lib + >> b32.bc rem echo %hdir%\lib\ace32.lib + >> b32.bc echo %bcdir%\lib\cw32.lib + >> b32.bc echo %hdir%\lib\hbsix.lib + >> b32.bc echo %hdir%\lib\pcrepos.lib + >> b32.bc echo %bcdir%\lib\import32.lib, >> b32.bc ECHO * ECHO Linking... %bcdir%\BIN\ilink32 -Gn -Tpe -s @b32.bc rem delete temporary files rem @del %1.c IF ERRORLEVEL 1 GOTO LINKERROR ECHO * Application successfully built %1 GOTO EXIT ECHO :LINKERROR rem PAUSE * Linking errors * GOTO EXIT :SINTAX ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG ECHO {-- Don't specify .PRG extension GOTO EXIT :NOEXIST ECHO The specified PRG %1 does not exist :EXIT[/quote:36jea2ko] [code=fw:36jea2ko]<div class="fw" id="{CB}" style="font-family: monospace;">EJECUTAR <span style="color: #00C800;">DO</span> MODULO1</div>[/code:36jea2ko] [b:36jea2ko]INFO DE XHARBOUR[/b:36jea2ko] [code=fw:36jea2ko]<div class="fw" id="{CB}" style="font-family: monospace;">Harbour Build Info<br />---------------------------<br />Version: <span style="color: #000000;">xHarbour</span> build <span style="color: #000000;">1.2</span><span style="color: #000000;">.1</span> Intl. <span style="color: #000000;">&#40;</span>SimpLex<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span>Rev. <span style="color: #000000;">9656</span><span style="color: #000000;">&#41;</span><br />PCode Version: <span style="color: #000000;">10</span><br />Compiler: <span style="color: #000000;">Borland</span> C++ <span style="color: #000000;">5.8</span><span style="color: #000000;">.2</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bit<span style="color: #000000;">&#41;</span><br />Platform: <span style="color: #000000;">Windows</span> XP Professional <span style="color: #000000;">5.01</span><span style="color: #000000;">.2600</span> Service Pack <span style="color: #000000;">3</span></div>[/code:36jea2ko]
xHARBOUR en modo consola (solucionado)
@Echo Off SET CLIPPER= SET LIB= SET INCLUDE= REM path=%path%;c:\bcc55 set include=c:\bcc55\include Cls Echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ Echo ³ FiveWin for xHarbour 2.3 - January 2002 xHarbour development power ³Ü Echo ³ (c) FiveTech, 1993-2002 for Microsoft Windows 95/98/NT/2000/ME and XP ³Û Echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ Echo ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß SET CLIPPER= Set hdir=C:\xHarbour Set bcdir=C:\BCC55 @If Exist HELLO.Exe Del HELLO.EXE @If Exist HELLO.OBJ Del HELLO.OBJ @If Exist HELLO.C Del HELLO.C @If Exist HELLO.MAP Del HELLO.MAP %hdir%\bin\harbour HELLO /M /N /i%hdir%\include /W0 /P HELLO.C > CLIP.LOG REM @If "HELLO" == "" Goto Linka REM :Linka REM If ErrorLevel 1 Type Erro. REM &&| More REM If ErrorLevel 1 Pause REM If ErrorLevel 1 Goto Exit echo -O2 -eHELLO.exe -I%hdir%\include HELLO.c > b32.bc %bcdir%\bin\bcc32 -M -c -v @b32.bc :ENDCOMPILE echo \BCC55\lib\c0w32.obj + > b32.bc echo HELLO.obj, + >> b32.bc echo HELLO.exe, + >> b32.bc echo HELLO.map, + >> b32.bc echo %hdir%\lib\rtl.lib + >> b32.bc echo %hdir%\lib\vm.lib + >> b32.bc echo %hdir%\lib\gtwin.lib + >> b32.bc echo %hdir%\lib\lang.lib + >> b32.bc echo %hdir%\lib\macro.lib + >> b32.bc echo %hdir%\lib\rdd.lib + >> b32.bc echo %hdir%\lib\dbfntx.lib + >> b32.bc echo %hdir%\lib\dbfcdx.lib + >> b32.bc echo %hdir%\lib\dbffpt.lib + >> b32.bc echo %hdir%\lib\hbsix.lib + >> b32.bc echo %hdir%\lib\hbzip.lib + >> b32.bc echo %hdir%\lib\debug.lib + >> b32.bc echo %hdir%\lib\common.lib + >> b32.bc echo %hdir%\lib\pp.lib + >> b32.bc echo %hdir%\lib\codepage.lib + >> b32.bc echo %bcdir%\lib\cw32.lib + >> b32.bc echo %bcdir%\lib\import32.lib + >> b32.bc echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc echo %bcdir%\lib\psdk\iphlpapi.lib >> b32.bc rem %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc IF ERRORLEVEL 1 GOTO LINKERROR Echo * Application successfully built rem HELLO REM UPX -9 HELLO.EXE Goto Exit Echo :LINKERROR rem if exist meminfo.txt notepad meminfo.txt Pause * Linking errors * Goto Exit :Exit 
xHARBOUR en modo consola (solucionado)
Gracias karinha por responder, pero no funciono, compila bien pero no hace nada, se quea en negro parpadeando el cursor faltara algun tipo de parametro al xharbour o ya no es modo consola? tengo esta version de xharbour, a lo mejor con una version menor puede que funcione [b:8tpblgje]c:\xharbour\bin\harbour /build |more[/b:8tpblgje] [quote:8tpblgje]Harbour Build Info --------------------------- Version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 9656) PCode Version: 10 Compiler: Borland C++ 5.8.2 (32 bit) Platform: Windows XP Professional 5.01.2600 Service Pack 3[/quote:8tpblgje]
xHARBOUR en modo consola (solucionado)
Como están los .CFG de su compilador borland?? En últino caso formate tu computadora, puede ser esto. aca, funciona bién.
xHARBOUR en modo consola (solucionado)
Patricio, Creo que puede ser el flag -aa que te falta aqui: %bcdir%\BIN\ilink32 -Gn -Tpe [color=#FF0000:3noalnbw]-aa[/color:3noalnbw] -s @b32.bc ó tal vez sea -ap en vez de -aa [url:3noalnbw]http&#58;//www2&#46;pmf&#46;fh-goettingen&#46;de/~isimon/Informatik/CompilerHowto/ilinkSchalter&#46;htm[/url:3noalnbw]
xHARBOUR en modo consola (solucionado)
%bcdir%\BIN\ilink32 -Gn -Tpe -aa -s @b32.bc Maestro Antonio haciendo asi, con mi compilador BCC55 genera el .EXE mas no ejecuta. salu2.
xHARBOUR en modo consola (solucionado)
@Echo Off SET CLIPPER= SET LIB= SET INCLUDE= REM path=%path%;c:\bcc55 set include=c:\bcc55\include Cls Echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ Echo ³ FiveWin for xHarbour 2.3 - January 2002 xHarbour development power ³Ü Echo ³ (c) FiveTech, 1993-2002 for Microsoft Windows 95/98/NT/2000/ME and XP ³Û Echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ Echo ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß SET CLIPPER= Set hdir=C:\xHarbour Set bcdir=C:\BCC55 @If Exist HELLO.Exe Del HELLO.EXE @If Exist HELLO.OBJ Del HELLO.OBJ @If Exist HELLO.C Del HELLO.C @If Exist HELLO.MAP Del HELLO.MAP %hdir%\bin\harbour HELLO /M /N /i%hdir%\include /W0 /P HELLO.C > CLIP.LOG REM @If "HELLO" == "" Goto Linka REM :Linka REM If ErrorLevel 1 Type Erro. REM &&| More REM If ErrorLevel 1 Pause REM If ErrorLevel 1 Goto Exit echo -O2 -eHELLO.exe -I%hdir%\include HELLO.c > b32.bc %bcdir%\bin\bcc32 -M -c -v @b32.bc :ENDCOMPILE echo \BCC55\lib\c0w32.obj + > b32.bc echo HELLO.obj, + >> b32.bc echo HELLO.exe, + >> b32.bc echo HELLO.map, + >> b32.bc echo %hdir%\lib\rtl.lib + >> b32.bc echo %hdir%\lib\vm.lib + >> b32.bc echo %hdir%\lib\gtwin.lib + >> b32.bc echo %hdir%\lib\lang.lib + >> b32.bc echo %hdir%\lib\macro.lib + >> b32.bc echo %hdir%\lib\rdd.lib + >> b32.bc echo %hdir%\lib\dbfntx.lib + >> b32.bc echo %hdir%\lib\dbfcdx.lib + >> b32.bc echo %hdir%\lib\dbffpt.lib + >> b32.bc echo %hdir%\lib\hbsix.lib + >> b32.bc echo %hdir%\lib\hbzip.lib + >> b32.bc echo %hdir%\lib\debug.lib + >> b32.bc echo %hdir%\lib\common.lib + >> b32.bc echo %hdir%\lib\pp.lib + >> b32.bc echo %hdir%\lib\codepage.lib + >> b32.bc echo %bcdir%\lib\cw32.lib + >> b32.bc echo %bcdir%\lib\import32.lib + >> b32.bc echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc echo %bcdir%\lib\psdk\iphlpapi.lib >> b32.bc REM %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc // asi funciona bien rem %bcdir%\BIN\ilink32 -Gn -Tpe -aa -s @b32.bc // no funciona %bcdir%\BIN\ilink32 -Gn -Tpe -ap -s @b32.bc // Asi funciona bien IF ERRORLEVEL 1 GOTO LINKERROR Echo * Application successfully built rem HELLO REM UPX -9 HELLO.EXE Goto Exit Echo :LINKERROR rem if exist meminfo.txt notepad meminfo.txt Pause * Linking errors * Goto Exit :Exit 
xHARBOUR en modo consola (solucionado)
Gracias por responder, pero ya lo solucione cambiandome a harbour dejo el xharbour.. [quote:1zoyo4up]C:\harbour\bin>harbour /build |more Harbour Build Info --------------------------- Version: Harbour 3.1.0dev (Rev. 17025) Compiler: Borland C++ 5.8.2 (32-bit) Platform: Windows XP 5.1.2600 Service Pack 3 PCode version: 0.3 ChangeLog last entry: 2011-08-30 12:30 UTC+0200 Przemyslaw Czerpak (druzus/at/pr iv.onet.pl) ChangeLog ID: ChangeLog 17025 2011-08-30 10:30:47Z druzus Built on: Aug 31 2011 13:19:44 Build options: (Clipper 5.3b) (Clipper 5.x undoc) --------------------------- Harbour 3.1.0dev (Rev. 17025) Copyright (c) 1999-2011, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m -->[/quote:1zoyo4up]
xHARBOUR en modo consola (solucionado)
Para Harbour en modo consola puedes usar FWH/samples/build.bat (sin la 'h')
xHB & ViaCoral question
Dear All, I bought the ViaCoral.lib from Viaopen.com. When I try to compile and link. It show the error message. I think the ViaCoral.lib is not compatible with xHb.com. Who have ever success with Viacoral.lib with xHb.com? Regards, Dutch
xHB & ViaCoral question
Dutch I can compile and use viacoral.lib with xhb (latest build) and fwh 7.10 What is your problem ? Just a clue, did you add #include "viacoral.ch" in your program and in your development dir or change your xbp to make it available HTH Richard
xHB & ViaCoral question
Dear Richard, I use xHb.com 701 / FW 707. I try to compile with ViaCoral but it doesn't show anything. I add #include 'viacoral.ch' I add c:\viacoral\lib\xharbour\vc\viacoral.lib in XBP What does it mean, "in your development dir" [quote:1q95crn6]and in your development dir [/quote:1q95crn6] Regards, Dutch
xHB 1.1.0 & BCC 5.5.1
Hi everyone Currently I use FW 8.01 - xHb 1.1.0 Simplex XHB - BCC 5.5.1 I would like to know which version of FW I can compile with this version of xHB and BCC? I am evaluating upgrading the FW, but depend on some considerations about the version of xHB Thanks in advance
xHB 1.1.0 & BCC 5.5.1
Yuri, Have you considered to migrate to Harbour ? We will provide you all the help that you may need, and you will not be forced to use old versions any more <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xHB 1.1.0 + FWH901 + ADORDD
Quando compilo este exemplo do Linares: xHB 1.1.0 + FWH901 + ADORDD: ESTA TRAVANDO (ERRO) xHB 9.60 + FWH208 + ADORDD: FUNCIONA PERFEITO Algum pode me auxiliar... Ronaldo Minacapelli
xHB 1.1.0 + FWH901 + ADORDD
Ronaldo, > xHB 1.1.0 + FWH901 + ADORDD: ESTA TRAVANDO (ERRO) Que error ?
xHB 1.1.0 + FWH901 + ADORDD
ele simplesmente fica travado... não aparece nenhum mensagem...
xHB 1.1.0 + FWH901 + ADORDD
Ronaldo, Please place some traces using MsgInfo() or LogFile() calls to find where it crashes.
xHB 1.1.0 + FWH901 + ADORDD
Sr. Linares... Utilizeo o Harbour 1.0.1 é funcionou bem... Sera que o problema esta no xHarbour? Ronaldo
xHB TipClientHTTP( ) substitute ?
In my application, I have a call to the TIPClientHTTP class used in xHarbour. This is in an xHarbour library, built with Pelles C ( TipSSL.lib ) Now I need to make the same call but in my program built with Harbour and Microsoft VC 2010. The other library is not compatible. Here is the description from the xHarbour documentation. Does anyone know of a Harbour workaround ? [quote:1dadm4ss] Objects of the TIpClientHttp() class inherit from the generic internet client class TIpClient(). TIpClientHttp objects are used to communicate with an HTTP server. They use the Hyper Text Transfer Protocol (HTTP, RFC2616.TXT) for exchanging data between a local and a remote station on the World Wide Web (WWW). The address of the HTTP server must be provided as a URL string with method :new(). The URL is maintained by a TUrl() object, which is stored in the <!-- s:o --><img src="{SMILIES_PATH}/icon_surprised.gif" alt=":o" title="Surprised" /><!-- s:o -->Url instance variable. The internet connection to the HTTP server must be established with the <!-- s:o --><img src="{SMILIES_PATH}/icon_surprised.gif" alt=":o" title="Surprised" /><!-- s:o -->pen() method. Once the internet connection is established (opened), data can be retrieved using the :readAll() method. When all data is received, the internet connection must be closed with the :close() method. [/quote:1dadm4ss] Thank you.
xHB TipClientHTTP( ) substitute ?
There is a sample webclien.prg in FWH. Maybe it can help ... Regards, Roman
xHB TipClientHTTP( ) substitute ?
I'm not looking for a different method. I guess I wasn't clear. Harbour supports a TipClientHTTP( ) class. In my current application builds I've tried linking hbtipssl.lib but then I receive numerous missing externals. I've tried hbtip.lib and that has a similar result. I would love to know: 1) what is included in hbtipssl.lib. This was suggested to me previously but perhaps for another purpose. 2) what libs from harbour do I need to use to run the TipClientHTTP( ).
xHB TipClientHTTP( ) substitute ?
I wanted to update this. I am calling the TipClientHTTP( ) class. In xHarbour, it links in fine, but that library is not compatible with MSVC and Harbour. [u:pd5792x0]There is a Harbour hbtip.lib which I tried linking in, but I get the following error:[/u:pd5792x0] hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__WSAIoctl@36 referenced in function _hb_socketGetIFaces [u:pd5792x0]I also had received a hbtipssl.lib, and that one, when linked in, receives the following errors:[/u:pd5792x0] [code=fw:pd5792x0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_CONNECT<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_SET_FD<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_SET_MODE<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ERR_ERROR_STRING<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_GET_ERROR<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_SSL_READ_ALL<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_SSL_READ_LINE<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_READ<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_WRITE<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_SHUTDOWN<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_NEW<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_CTX_NEW<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_RAND_SEED<br />hbtipssl.lib<span style="color: #000000;">&#40;</span><span style="color: #00C800;">client</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_SSL_INIT<br />hbrtl.lib<span style="color: #000000;">&#40;</span>hbsocket.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol __imp__WSAIoctl@<span style="color: #000000;">36</span> referenced in <span style="color: #00C800;">function</span> _hb_socketGetIFaces<br />&nbsp;</div>[/code:pd5792x0] Its not my code that is the problem. Its that I need to be able to resolve the issue of what to link so I can build the application ! I'm using FWH 12.09, Antonio's Harbour build from the Five Tech website, and MSVC 2010. I really do appreciate any assistance. I've also posted this in the Harbour forum but no answers yet. Before posting I did extensive searches and found that I posted about this problem many months ago but never got a resolution. Thanks everyone.
xHB TipClientHTTP( ) substitute ?
Tim, Please check that you are linking WS2_32.lib from MSVC
xHB TipClientHTTP( ) substitute ?
Antonio's suggestion worked to eliminate the build error. Now I link in hbtip.lib and get a clean build. However, the following line: Local oHttp:=TIpClientHttp():new("https://website.com/", .F. ) // I left out the actual website ... its not important here which works fine in xHarbour, generates the following error: Error description: Error BASE/1081 Operation not supported: TIPCLIENTHTTP:new() The error is occurring when tipclienthttp calls the client class. I examined the source code in both harbour and xharbour and they appear to be almost identical. Any further suggestions would be greatly appreciated ( especially any comments on how the implementation differs between xHarbour ( .com version ) and Harbour ( the compiler I prefer to use ).
xHB TipClientHTTP( ) substitute ?
Roman, I looked at the sample but this is to exchange XML data so I need to Post a string to the website, then Read the response. Its not supported with the WebClient class. [b:1mw5i8l5]Everyone:[/b:1mw5i8l5]I am using the Harbour builds from Five Tech, specifically for MSVC 2010. The Harbour forum says , in response to this problem: [quote:1mw5i8l5] [> Error description: Error BASE/1081 Operation not supported: > TIPCLIENTHTTP:new() That error is generated around line 210 in contrib\hbtip\client.prg (look it up and see what it does!) and is the result of tIPClient realizing that you are trying to use a protocol (https) that is not supported in your current configuration. You need to download OpenSSL and rebuild hbtip with it. There are instructions for that in INSTALL. [/quote:1mw5i8l5] I apparently need a new hbtip as stated above, but I don't have the setup to build it. Does anyone have an updated MSVC library build for hbtip.lib they could send me ? It would be greatly appreciated. Tim
xHB TipClientHTTP( ) substitute ?
Have a try with these: [url:3tfbhya1]ftp&#58;//dutheil&#46;dyndns-server&#46;com/hbtip&#46;lib[/url:3tfbhya1] [url:3tfbhya1]ftp&#58;//dutheil&#46;dyndns-server&#46;com/hbtipssl&#46;lib[/url:3tfbhya1] Harbour Build Info --------------------------- Version: Harbour 3.2.0dev (Rev. 17482) Compiler: Microsoft Visual C++ 16.0.30319 (32-bit) Platform: Windows 7 6.1.7601 Service Pack 1 PCode version: 0.3
xHB TipClientHTTP( ) substitute ?
Thanks ... I tried the libs. Apparently they need an additional lib to be linked in. hbtip.lib(httpcli.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_BLEN hbtip.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_BLEN hbtip.lib(log.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_BLEN hbtip.lib(encqp.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_BLEN hbtip.lib(httpcli.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_DEFAULT hbtip.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_DEFAULT hbtip.lib(encoder.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_DEFAULT hbtip.lib(encqp.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_BCHAR hbtip.lib(encqp.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_BCODE hbtip.lib(encqp.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_BSUBSTR
xHB TipClientHTTP( ) substitute ?
It´s probably because you have an outdated version of Harbour. Most of these functions were introduced last April as part of unicode support. You can dowload the full Harbour set for msvc 10 from [url:3dzmfd3j]ftp&#58;//dutheil&#46;dyndns-server&#46;com/hbmsvc10&#46;zip[/url:3dzmfd3j]
xHB TipClientHTTP( ) substitute ?
Thanks for the libraries. However, I still have the same issue. 1) If I only link hbtip.lib, I get a successful build, but the error I mentioned before that does not allow me to create a new tipclienthttp object 2) If I link in hbtipssl.lib or hbtipssl.lib and hbtip.lib, I get the following error in the build: hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_CONNECT hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_SET_FD hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_SET_MODE hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_ERR_ERROR_STRING hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_GET_ERROR hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_SSL_READ_ALL hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_SSL_READ_LINE hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_READ hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_WRITE hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_SHUTDOWN hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_NEW hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_CTX_NEW hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_RAND_SEED hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_INIT
xHB TipClientHTTP( ) substitute ?
These functions belong to openssl. You probably have to download and install openssl. I don´t know if you have to link a lib or use any dll. I remember I had a similar issue using ssl with smtp but I cant find the project I was working for.
xHB TipClientHTTP( ) substitute ?
OK so this one is beyond me. There are over 2400 files in the OPENSSL download ... and they are for a variety of OS's. My task is simple. It works perfectly with xHarbour ( .com ) but fails with Harbour Local oHttp:=TIpClientHttp():new("https://secured.server.com/document.cfx", .F. ) // Create the new object. THIS IS WHERE IT FAILS Local cXml := " " // defined XML text to transfer Local cRet LOCAL oXmlDoc := TXmlDocument():new( ) LOCAL oXmlNode, oXmlRecScan, oXmlFieldScan LOCAL cYear := "", cMake := "", cModel := "", cVin := "", cRetVin := " ", cMsg := " " IF .NOT. oHttp:open() // Open the connection MsgAlert( "Connection error:", oHttp:lastErrorMessage( ) ) RETURN ENDIF oHttp:Post( cXml) // Send the text cRet := oHttp:readAll( ) // Receive the response oHttp:close() // Close the connection Is there an alternate way to do this within Harbour or Five Win ? Note the process: 1) Create the object 2) Create the XML statement 3) Open the connection 4) Send the XML statement 5) Receive the response 6) Close the connection In such a massive application, this is the only thing not working now.
xHB TipClientHTTP( ) substitute ?
I don´t know what to say because I just added [code=fw:2b79gyw9]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> Test<br /><span style="color: #00C800;">Local</span> oHttp:=TIpClientHttp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"https://secured.server.com/document.cfx"</span>, .F. <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Create the new object. THIS IS WHERE IT FAILS</span><br />&nbsp;<span style="color: #00C800;">Local</span> cXml := <span style="color: #ff0000;">" "</span> <span style="color: #B900B9;">// defined XML text to transfer</span><br />&nbsp;<span style="color: #00C800;">Local</span> cRet<br />&nbsp;<span style="color: #00C800;">LOCAL</span> oXmlDoc := TXmlDocument<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;<span style="color: #00C800;">LOCAL</span> oXmlNode, oXmlRecScan, oXmlFieldScan<br />&nbsp;<span style="color: #00C800;">LOCAL</span> cYear := <span style="color: #ff0000;">""</span>, cMake := <span style="color: #ff0000;">""</span>, cModel := <span style="color: #ff0000;">""</span>, cVin := <span style="color: #ff0000;">""</span>, cRetVin := <span style="color: #ff0000;">" "</span>, cMsg := <span style="color: #ff0000;">" "</span><br /><br />&nbsp;<span style="color: #00C800;">IF</span> .NOT. oHttp:<span style="color: #000000;">open</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Open the connection</span><br />&nbsp;MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Connection error:"</span>, oHttp:<span style="color: #000000;">lastErrorMessage</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;<span style="color: #00C800;">RETURN</span><br />&nbsp;<span style="color: #00C800;">ENDIF</span><br /><br />&nbsp;oHttp:<span style="color: #000000;">Post</span><span style="color: #000000;">&#40;</span> cXml<span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Send the text</span><br /><br />&nbsp;cRet := oHttp:<span style="color: #000000;">readAll</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Receive the response</span><br />&nbsp;oHttp:<span style="color: #000000;">close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Close the connection</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:2b79gyw9] to a project I am currently working for and it linked ok without doing anything more. But gave a runtime error: [code=fw:2b79gyw9]<div class="fw" id="{CB}" style="font-family: monospace;">---------------------------<br />&nbsp; &nbsp;Error BASE/<span style="color: #000000;">1081</span> &nbsp;Opera‡Æo nÆo suportada: <span style="color: #000000;">TIPCLIENTHTTP</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Parameter &nbsp; :<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = O &nbsp; TIPCLIENTHTTP<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> = C &nbsp; https<br /><br />Stack-List<br />----------<br />&nbsp; &nbsp;chamado por TIPCLIENT:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;chamado por TIPCLIENTHTTP:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;chamado por TEST<span style="color: #000000;">&#40;</span><span style="color: #000000;">286</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;chamado por MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">44</span><span style="color: #000000;">&#41;</span></div>[/code:2b79gyw9] I´ll investigate a bit more.
xHB TipClientHTTP( ) substitute ?
That is my exact problem. Clearly it is not able to create the new object. Computers need to rattle our cages.
xHB TipClientHTTP( ) substitute ?
I get the same error using xHarbour. Unfortunately, the https protocol is not supported by tip.lib. EMG
xHB TipClientHTTP( ) substitute ?
[quote="TimStone":3tppsrnn]Computers need to rattle our cages.[/quote:3tppsrnn] Can you explain this phrase, please? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
xHB TipClientHTTP( ) substitute ?
Enrico, Using xHarbour.com I have no problem with this class. My older version has been executing it,. as written, just fine. Its the Harbour with MSVC that is having a problem. When I look at the harbor source code, it would appear that https IS supported. That little line about computers is "humor". It means that when a computer has the opportunity, it will make problems for us ! "Rattle our cages" means that something, or someone, likes to do something we don't want, or expect. Tim
xHB TipClientHTTP( ) substitute ?
[quote="TimStone":1q6psdmv]Using xHarbour.com I have no problem with this class.[/quote:1q6psdmv] This only mean that xHarbour.com has implemented https protocol support. Official xHarbour has not. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> [quote="TimStone":1q6psdmv]That little line about computers is "humor". It means that when a computer has the opportunity, it will make problems for us ! "Rattle our cages" means that something, or someone, likes to do something we don't want, or expect.[/quote:1q6psdmv] Thank you! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
xHB TipClientHTTP( ) substitute ?
I'm using an older version of xHarbour.com. I have two builds of my primary application. One is with the older xHarbour and the other with MSVC 2010 / Harbour. We have resolved every problem with the new one except this issue. I can certainly consider an alternative, but I don't see there is one. Any suggestions would be greatly appreciated. I cannot distribute these newer applications until I can get this xml interaction working. Tim
xHB TipClientHTTP( ) substitute ?
Sorry, I don't use Harbour. EMG
xHB TipClientHTTP( ) substitute ?
Maybe you can use Wininet or WinHTTP API: <!-- m --><a class="postlink" href="http://www.codeproject.com/Articles/3898/Connecting-to-a-HTTPS-server-with-SSL-using-Winine">http://www.codeproject.com/Articles/389 ... ing-Winine</a><!-- m --> <!-- m --><a class="postlink" href="http://www.codeproject.com/Articles/66625/A-Fully-Featured-Windows-HTTP-Wrapper-in-C">http://www.codeproject.com/Articles/666 ... apper-in-C</a><!-- m --> [quote="TimStone":3ixaairv]I'm using an older version of xHarbour.com. I have two builds of my primary application. One is with the older xHarbour and the other with MSVC 2010 / Harbour. We have resolved every problem with the new one except this issue. I can certainly consider an alternative, but I don't see there is one. Any suggestions would be greatly appreciated. I cannot distribute these newer applications until I can get this xml interaction working. Tim[/quote:3ixaairv]
xHB TipClientHTTP( ) substitute ?
You might try to adapt the function below to your needs. It is based on a sample from Harbour SVN. [code=fw:ldupcb7z]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> Test<br /><span style="color: #00C800;">LOCAL</span> socket, ssl_ctx, buffer, tmp, ssl<br /><br />hb_inetInit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />socket := hb_inetCreate<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />hb_inetTimeout<span style="color: #000000;">&#40;</span> socket, <span style="color: #000000;">2500</span> <span style="color: #000000;">&#41;</span><br />hb_inetConnect<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"www.fortify.net"</span>, <span style="color: #000000;">443</span>, socket <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">IF</span> hb_inetErrorCode<span style="color: #000000;">&#40;</span> socket <span style="color: #000000;">&#41;</span> = <span style="color: #000000;">0</span><br />    SSL_INIT<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    ssl_ctx := SSL_CTX_NEW<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    ssl := SSL_NEW<span style="color: #000000;">&#40;</span> ssl_ctx <span style="color: #000000;">&#41;</span><br /><br />    hb_inetFD<span style="color: #000000;">&#40;</span> socket <span style="color: #000000;">&#41;</span><br />    SSL_SET_FD<span style="color: #000000;">&#40;</span> ssl, hb_inetFD<span style="color: #000000;">&#40;</span> socket <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    tmp := SSL_CONNECT<span style="color: #000000;">&#40;</span> ssl <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">IF</span> SSL_GET_ERROR<span style="color: #000000;">&#40;</span> ssl, tmp <span style="color: #000000;">&#41;</span> = <span style="color: #000000;">0</span> <span style="color: #B900B9;">// Everything OK</span><br />        tmp := SSL_WRITE<span style="color: #000000;">&#40;</span> ssl, <span style="color: #ff0000;">"GET / http/1.1"</span> + CRLF + <span style="color: #ff0000;">"Host: "</span> + <span style="color: #ff0000;">"www.fortify.net"</span> + CRLF + CRLF <span style="color: #000000;">&#41;</span><br />        <span style="color: #00C800;">IF</span> SSL_GET_ERROR<span style="color: #000000;">&#40;</span> ssl, tmp <span style="color: #000000;">&#41;</span> = <span style="color: #000000;">0</span>  <span style="color: #B900B9;">// Everything OK</span><br />           buffer := Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1024</span> <span style="color: #000000;">&#41;</span><br />           tmp := SSL_READ<span style="color: #000000;">&#40;</span> ssl, @buffer <span style="color: #000000;">&#41;</span><br />           <span style="color: #00C800;">IF</span> SSL_GET_ERROR<span style="color: #000000;">&#40;</span> ssl, tmp <span style="color: #000000;">&#41;</span> = <span style="color: #000000;">0</span>  <span style="color: #B900B9;">// Everything OK</span><br />            <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span> buffer <span style="color: #000000;">&#41;</span><br />           <span style="color: #00C800;">ENDIF</span><br />        <span style="color: #00C800;">ELSE</span><br />            msgStop<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SSL_WRITE ERROR"</span> <span style="color: #000000;">&#41;</span><br />        <span style="color: #00C800;">ENDIF</span>   <br />    <span style="color: #00C800;">ELSE</span><br />        msgStop<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"SSL_CONNECT ERROR"</span> <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">ENDIF</span>   <br />    hb_inetClose<span style="color: #000000;">&#40;</span> socket <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ELSE</span><br />    msgStop<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"UNABLE TO CONNECT!"</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ENDIF</span></div>[/code:ldupcb7z] I linked ssleay32 libeay32 hbssl
xHB TipClientHTTP( ) substitute ?
Hi Tim, It´s working now, at least I can browse the oHttp object. Download the updated libs from [url:399hqqkv]ftp&#58;//dutheil&#46;dyndns-server&#46;com/libs&#46;zip[/url:399hqqkv] [code=fw:399hqqkv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> Test2<br /><span style="color: #00C800;">LOCAL</span> oHttp := TIpClientHTTP<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"https://www.fortify.net"</span>, &nbsp;.F. &nbsp;<span style="color: #000000;">&#41;</span> <br />&nbsp;<span style="color: #00C800;">IF</span> .NOT. oHttp:<span style="color: #000000;">open</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Open the connection</span><br />&nbsp; &nbsp; MsgAlert<span style="color: #000000;">&#40;</span> &nbsp;<span style="color: #ff0000;">"Connection error:"</span>, oHttp:<span style="color: #000000;">lastErrorMessage</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; <span style="color: #0000ff;">XBROWSE</span><span style="color: #000000;">&#40;</span> oHttp <span style="color: #000000;">&#41;</span><br />&nbsp;<span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #000000;">&#40;</span> <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:399hqqkv]
xHB TipClientHTTP( ) substitute ?
Could you email me your make file section with the libs you are including, and in what order. I'm wondering if I have a conflict. "[email protected]" Thanks
xHB TipClientHTTP( ) substitute ?
Thanks to Andre who revised the libraries and they now work !
xHB TipClientHTTP( ) substitute ?
Great! Can I have the new lib? I would try it with xHarbour but the link is not working anymore. EMG
xHB TipClientHTTP( ) substitute ?
Libs are available at: [url:8ymve72b]https&#58;//www&#46;box&#46;com/s/6sm1zzxuwvlwokji6nos[/url:8ymve72b] They were built from HARBOUR svn: Harbour Build Info --------------------------- Version: Harbour 3.2.0dev (Rev. 18349) Compiler: Microsoft Visual C++ 16.0.30319 (32-bit) Platform: Windows 7 6.1.7601 Service Pack 1 PCode version: 0.3
xHB TipClientHTTP( ) substitute ?
Sorry, can I have the source code, please? EMG
xHB TipClientHTTP( ) substitute ?
You can download the source from: [url:1fe6vlqo]https&#58;//www&#46;box&#46;com/s/onitle3ibdp6z66e15z0[/url:1fe6vlqo] They came from HARBOUR svn. My ENV vars are: [code=fw:1fe6vlqo]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET HB_TIP_OPENSSL=yes<br />SET HB_HAS_OPENSSL=yes<br />SET HB_STATIC_OPENSSL=yes<br />SET HB_WITH_CURL=e:\libcurl<span style="color: #000000;">-7.19</span><span style="color: #000000;">.3</span>-win32-ssl-msvc\include<br />SET HB_WITH_OPENSSL=E:\OpenSSL-Win32\include\<br />&nbsp;</div>[/code:1fe6vlqo] I built the hbtipssl lib running hbmk2 inside the hbtip directory with para -IYourSourceDirectory\hbssl
xHB TipClientHTTP( ) substitute ?
Thank you. EMG
xHB dummy ActiveX.lib
<!-- m --><a class="postlink" href="http://hyperupload.com/download/02d7a0b682/ActiveX.lib.html">http://hyperupload.com/download/02d7a0b ... X.lib.html</a><!-- m -->
xHB dummy ActiveX.lib
Hello Antonio, May I use this LIB file? I use xHarbour 0.99.61+FWH26 SEP version and BCC55 Richard
xHB dummy ActiveX.lib
Richard, It is only needed for xHB (xharbour builder).
xHabour
Hola foro.. Al utilizar xHarbour, me arroja este error la tsbrowse 6.0 __HB_STACK_ REFERENCEND FROM C:\FWH\LIB\SBROWSEX.LIB | SCROLL sera que me esta faltando enlazar alguna libreria? Saludos. Ricardo Ramirez E.
xHabour
Re-compile la tsbrowse y ya no me arroja ese error. Ahora el error es el siguiente : 'hb_stack_' referenced from RDDADS.LIB | ads1 donde consigo esa lib?? para xharbour 0.99.60 ? Saludos. Ricardo R.
xHabour
Ricardo, Estas usando el build de xharbour que proporciona FiveTech ?
xHabour
Antonio, estoy usando xHarboer que descarge de <!-- w --><a class="postlink" href="http://www.harbour.org">www.harbour.org</a><!-- w --> donde descargo la build que proporcina FivetechSoft? Saludos Ricardo.
xHabour
Ricardo, Revisa la sección "whatsnew/novedades" de estos foros. Ahí encuentras los enlaces para descargarlos.
xHarbour (.com) with FWH 18.01
I just released a build of my product using FWH 18.01 with xHarbour ( xBuilder ) dated 12/9/15 ( Version 4.5 ). My clients are experiencing steady crashes in a variety of areas. The same code built with Visuall C++ and Harbour has no reported problems. Is anyone else using the older commercial build of xHarbour with 18.01 ? Are you witnessing any problems ? I suspect that the c_lib files dated 5/ 2008 may be now incompatible with some elements of FWH or Windows current releases. Any thoughts on this ? I only use it on a few systems using old ADS software ( pre 9.0 ) that we can't address with current Harbour versions.
xHarbour (.com) with FWH 18.01
Tim, Please check if hb_out.log files are created and please post them here, thanks
xHarbour (.com) with FWH 18.01
No those files do not exist. However, at this time I'm working on the assumption that the xHB build of my program was corrupted before, or at, distribution. A rebuild of the program ( 100% ) seems to be OK at this time. Tim
xHarbour + FWH & Funcky
Hello forum Do I need any wrappers on ".ch" file in order that Funcky work with xHarbour + FWH? I would like to evaluate the demo version of funcky60, but I get errors. I want to be sure that this component work fine with xHarbour before to buy it. I tried to ask for technical support at funcky website but that option is not working in his site. The reason is that I want a stable and professional Email and FTP capabilties in my application and RF say that Funcky is "un sueño" ( a dream) Any comments and sugestion or alternatives are welcome Regards George
xHarbour + FWH & Funcky
No way man !!!! You don't need wrapper since Funcky is an OLE Componente, use the TOleAuto() Class to use it. This is sample program I wrote to try some funcky features: <!-- m --><a class="postlink" href="http://www.google.d2g.com/funckydemo.zip">http://www.google.d2g.com/funckydemo.zip</a><!-- m --> You will need Funcky's demo version in order to execute.
xHarbour + FWH & Funcky
Hello Rene Your demo compile fine [code:241ymvpv] PUBLIC oFuncky &#58;= TOLeAuto&#40;&#41;&#58;New&#40;"Funcky"&#41; ? oFuncky&#58;Capitalize&#40;"mr&#46; juan perez"&#41; ? oFuncky&#58;AppName&#40;&#41; ? oFuncky&#58;AllDrives&#40;&#41; ? "The system name is&#58; " + oFUNCky&#58;ComputerName&#40;&#41; ? "Your user name is&#58; " + oFUNCky&#58;UserName&#40;&#41; ? "Your full name is&#58; "+oFUNCky&#58;UserFullName&#40;oFUNCky&#58;UserName&#40;&#41;&#41; ? oFuncky&#58;NumToRoman&#40;1967&#41; ? oFuncky&#58;Whois&#40;"google&#46;com"&#41; [/code:241ymvpv] but when I try to run it I got the following error message: [code:241ymvpv] Error occurred at&#58; 08/30/2006, 19&#58;57&#58;43 Error description&#58; Error TOleAuto/-1 Unknown error&#58; TOLEAUTO&#58;NEW Args&#58; &#91; 1&#93; = C Funcky Stack Calls =========== Called from&#58; => THROW&#40;0&#41; Called from&#58; win32ole&#46;prg => TOLEAUTO&#58;NEW&#40;319&#41; Called from&#58; MAIN&#46;PRG => TESTFUNCKY&#40;1094&#41; Called from&#58; MAIN&#46;PRG => &#40;b&#41;FRAMEBAR&#40;344&#41; [/code:241ymvpv] BTW When I try to run your FUNCKYDEMO.EXE I got also this error [code:241ymvpv] Error occurred at&#58; 08/30/06, 20&#58;02&#58;07 Error description&#58; Error TOleAuto/-1 Unknown error&#58; TOLEAUTO&#58;NEW Args&#58; &#91; 1&#93; = C Funcky Stack Calls =========== Called from TOLEAUTO&#58;NEW&#40;225&#41; Called from MAIN&#40;4&#41; [/code:241ymvpv] Rene its is strange not?. My configuration is xBuilder Pro Beta RC9 Aug_06 (xHarbour 0.99.61) + FWH Aug_06 Regards George
xHarbour + FWH & Funcky
George: Check that you have the fullfeatured version of Funcky, The demo I made was made with the commercial version, not with the demo. I don't know which methods are supported in the demo version, so I cannot guarantee it works. On the other hand, be sure to be using the xHarbour's TOLE, in the recent versions of FW, as far as I Know, (not tested yet), Vykthor commented me that it there's a TOLE class in the FiveHC.LIB, that overwrites the xHarbour TOLe when linking, so, you may need to manually remove the TOLE module in the FiveHC.lib.[/i]
xHarbour + FWH & Funcky
Rene, I have problems with xHarbour tOleAuto + FWH 2.7 I am doing some test using WinFax and go error in oFax:AddAttachmentFile [code:2ar4csb7] oFax = TOleAuto&#40;&#41;&#58;New&#40; "WinFax&#46;SDKSend" &#41; oFax&#58;LeaveRunning&#40;&#41; IF oFax&#58;SetTo&#40; cDes &#41; = 1; BREAK; ENDIF IF oFax&#58;SetSubject&#40; cOgg &#41; = 1; BREAK; ENDIF IF oFax&#58;SetCoverText&#40; cMsg &#41; = 1; BREAK; ENDIF // Here is the problem with attachment oFax&#58;AddAttachmentFile&#40;"c&#58;\test&#46;doc" &#41; IF oFax&#58;SetNumber&#40; cFax &#41; = 1; BREAK; ENDIF IF oFax&#58;AddRecipient&#40;&#41; = 1; BREAK; ENDIF IF oFax&#58;Send&#40; 0 &#41; = 1; BREAK; ENDIF [/code:2ar4csb7] regards George P.S. Rene can you test this code?
xHarbour + FWH & Funcky
Works fine for me. Are you sure that the file test.doc does exist in the root directory of drive C? EMG
xHarbour + FWH & Funcky
Hi Enrico, The problem is when I try to send a PDF or DOC document I got a dialog with following message: "The selected attachment is being converted into a fax image" But the dialog *WAIT* until I have to cancel; after that only send the cover page never the attachment regards George
xHarbour + FWH & Funcky
Are you sure that WinFax can convert a .DOC file attachment on the fly like that? I have not used WinFax, but other fax programs I have worked with could only handle TIFF files (standard fax format) or the application (MSWord) would have to print the document to the fax driver which would then send the document. James
xHarbour + FWH & Funcky
René, There is no a Class TOle in FWH.
xHarbour + FWH & Funcky
[quote="George":3mjh2dp1]Hi Enrico, The problem is when I try to send a PDF or DOC document I got a dialog with following message: "The selected attachment is being converted into a fax image" But the dialog *WAIT* until I have to cancel; after that only send the cover page never the attachment regards George[/quote:3mjh2dp1] You must have Office installed in order to send DOC attachments. EMG
xHarbour + FWH & Funcky
Enrico, I have MS Office 2003, and Winfax installed in my computer. BTW I am using TWORD class without problem. Regards George
xHarbour + FWH & Funcky
I run out of ideas, sorry. EMG
xHarbour + Mysql + Linux
Saludos amigos:El problema es que tengo varios dias tratando de hacer la libreria de acceso a tmysql en linux y no he podido. algun ejemplo de como poder construir esta libreria. Ya de por si tengo el (x)Harbour trabajando en un Fedora Core 8Gracias de antemano.