topic
stringlengths
1
63
text
stringlengths
1
577k
compiland testzip con fw2.6 xharbor99.50
Ciao a tutti! compilando testzip negli esempi delle fivewin mi ha dato i seguenti errori: Unresolved external '_HB_FUN_ZIPFILE' Unresolved external '_HB_FUN_ZIPTYPE' Unresolved external '_HB_FUN_ZIPBLOCK' Unresolved external '_HB_FUN_ZIPMSG' può essere che la mia libreia hbzip.lib sia troppo datata? grazie a tutti! Dino
compiland testzip con fw2.6 xharbor99.50
Credo che tu stia utilizzando ancora le funzioni a 16 bit di Clipper/FW. Quelle a 32 bit si chiamano HB_ZIPFILE() e compagnia. Trovi la documentazione sul CVS oppure te la mando io. EMG
compiland testzip con fw2.6 xharbor99.50
Ma testzip.prg lo preso negli esempi delle fw2.6 comunque se mi mandi la ducumentazione con un sorgrnte di esempio forse e meglio! grazie mille!! Dino email:dino.alessandri@email.it
compiland testzip con fw2.6 xharbor99.50
[code:3b1kbikh]/* * $DOC$ * $FUNCNAME$ * HB_ZIPFILE&#40;&#41; * $CATEGORY$ * ZIP FUNCTION * $ONELINER$ * Create a zip file * $SYNTAX$ * HB_ZIPFILE&#40; <cFile> , <cFileToCompress> | <aFiles>, <nLevel> , * <bBlock>,<lOverWrite> ,<cPassword>,<lWithPath>,<lWithDrive>&#41; ---> lCompress * $ARGUMENTS$ * <cFile> Name of the zip file * * <cFileToCompress> Name of a file to Compress, Drive and/or path * can be used * * <aFiles> An array containing files to compress, Drive and/or path * can be used * * <nLevel> Compression level ranging from 0 to 9 * * <bBlock> Code block to execute while compressing * * <lOverWrite> Toggle to overwite the file if exists * * <cPassword> Password to encrypt the files * * <lWithPath> Toggle to store the path or not * * <lWithDrive> Toggle to store the Drive letter and path or not * $RETURNS$ * <lCompress> &#46;t&#46; if file was create, otherwise &#46;f&#46; * $DESCRIPTION$ * This function creates a zip file named <cFile>&#46; If the extension * is ommited, &#46;ZIP will be assumed&#46; If the second parameter is a * character string, this file will be added to the zip file&#46; If the * second parameter is an array, all file names contained in <aFiles> * will be compressed&#46; * * If <nLevel> is used, it detemines the compression type where 0 means * no compression and 9 means best compression&#46; * * If <bBlock> is used, every time the file is opened to compress it * will evaluate bBlock&#46; Parameters of bBlock are cFile and nPos&#46; * * If <lOverWrite> is used , it toggles to overwrite or not the existing * file&#46; Default is to overwrite the file,otherwise if <lOverWrite> is false * the new files are added to the <cFile>&#46; * * If <cPassword> is used, all files that are added to the archive are encrypted * with the password&#46; * * If <lWithPath> is used, it tells thats the path should also be stored with * the file name&#46; Default is false&#46; * * If <lWithDrive> is used, it tells thats the Drive and path should also be stored * with the file name&#46; Default is false&#46; * * $EXAMPLES$ * FUNCTION MAIN&#40;&#41; * * IF HB_ZIPFILE&#40; "TEST&#46;ZIP","TEST&#46;PRG"&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * IF HB_ZIPFILE&#40; "TEST1&#46;ZIP",&#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125;&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * IF HB_ZIPFILE&#40; "TEST2&#46;ZIP",&#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125;,8,&#123;|nPos,cFile|,qout&#40;cFile&#41;&#125;&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * aFiles &#58;= &#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125; * nLen &#58;= Len&#40;afiles&#41; * aGauge &#58;= GaugeNew&#40; 5, 5, 7,40 , "W/B", "W+/B" ,'²'&#41; * GaugeDisplay&#40; aGauge &#41; * Hb_ZIPFILE&#40;'test33&#46;zip',aFiles,8,&#123;|cFile,nPos| GaugeUpdate&#40;aGauge,nPos/nLen&#41;&#125;,,'hello'&#41; * Return Nil * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* * $DOC$ * $FUNCNAME$ * HB_UNZIPFILE&#40;&#41; * $CATEGORY$ * ZIP FUNCTION * $ONELINER$ * Unzip a compressed file * $SYNTAX$ * HB_UNZIPFILE&#40; <cFile> , <bBlock> , <lWithPath>&#41; ,<cPassWord>,<cPath>, * &#91;<cFile>|<aFile>&#93; <---> lCompress * $ARGUMENTS$ * <cFile> Name of the zip file * * <bBlock> Code block to execute while compressing * * <lWithPath> Toggle to create directory if needed * * <cPassWord> Password to use to extract files * * <cPath> Path to extract the files&#46; * * <cFile>|<aFiles> An file or an Array of files to extract * $RETURNS$ * <lCompress> &#46;t&#46; if all file was successfuly restored, otherwise &#46;f&#46; * $DESCRIPTION$ * This function restores all files contained inside the <cFile>&#46; * If the extension is ommited, &#46;ZIP will be assumed&#46; If a file already * exists, it wlll be overwriten&#46; * * If <bBlock> is used, every time the file is opened to compress it * will evaluate bBlock&#46; Parameters of bBlock are cFile and nPos&#46; * * The <cPath> is an obrogatory parameter&#46; Set to "&#46;\" to extract to the * current dir * $EXAMPLES$ * FUNCTION MAIN&#40;&#41; * * IF HB_UNZIPFILE&#40; "TEST&#46;ZIP"&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * IF HB_ZIPFILE&#40; "TEST2&#46;ZIP",&#123;|cFile|,qout&#40;cFile&#41;&#125;&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * Return Nil * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* * $DOC$ * $FUNCNAME$ * HB_GETUNZIPFILE&#40;&#41; * $CATEGORY$ * ZIP FUNCTION * $ONELINER$ * Gets the number of files that are in the zipfile * $SYNTAX$ * HB_GETUNZIPFILE&#40; <cFile>&#41; ---> nNumber * $ARGUMENTS$ * <cFile> Name of the zip file * $RETURNS$ * <nNumber> The number of files contained inside the zipfile * $DESCRIPTION$ * This function returns the number of files that is stored in the zipfile&#46; * The purpose for this function is to use in conjuntion with the * HB_UNZIPFILE&#40;&#41; function, so you can use returned result in the code * block&#46; See example below&#46; * $EXAMPLES$ * FUNCTION MAIN&#40;&#41; * Local nFiles &#58;=HB_GETUNZIPFILE&#40;'test&#46;zip'&#41; * * if nFiles >0 * ? "This files Contains ",nfiles * endif * * Return Nil * * Here is an example of How to use HB_GETUNZIPFILE&#40;&#41; in conjunction * with HB_UNZIPFILE&#40;&#41; * * Function Main&#40;&#41; * Local aGauge,nLen * * aGauge &#58;= GaugeNew&#40; 5, 5, 7,40 , "W/B", "W+/B" ,'²'&#41; * GaugeDisplay&#40; aGauge &#41; * nLen &#58;= HB_GETUNZIPFILE&#40;'test22'&#41; * hb_UNZIPFILE&#40;'test22',&#123;|cFile,nPos| GaugeUpdate&#40;aGauge,nPos/nLen&#41;,qout&#40;cFile&#41;&#125;,&#46;t&#46;&#41; * * Return Nil * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* * $DOC$ * $FUNCNAME$ * HB_ZIPFILEBYTDSPAN&#40;&#41; * $CATEGORY$ * ZIP FUNCTION * $ONELINER$ * Create a zip file * $SYNTAX$ * HB_ZIPFILEBYTDSPAN&#40;&#41;&#40; <cFile> , <cFileToCompress> | <aFiles>, <nLevel> , * <bBlock>,<lOverWrite> ,<cPassword>,<iSize>,<lWithPath>,<lWithDrive>&#41; ---> lCompress * $ARGUMENTS$ * <cFile> Name of the zip file * * <cFileToCompress> Name of a file to Compress, Drive and/or path * can be used * * <aFiles> An array containing files to compress, Drive and/or path * can be used * * <nLevel> Compression level ranging from 0 to 9 * * <bBlock> Code block to execute while compressing * * <lOverWrite> Toggle to overwite the file if exists * * <cPassword> Password to encrypt the files * * <iSize> Size of the archive, in bytes,default is 1457664 bytes * * <lWithPath> Toggle to store the path or not * * <lWithDrive> Toggle to store the Drive letter and path or not * $RETURNS$ * <lCompress> &#46;t&#46; if file was create, otherwise &#46;f&#46; * $DESCRIPTION$ * This function creates a zip file named <cFile>&#46; If the extension * is ommited, &#46;ZIP will be assumed&#46; If the second parameter is a * character string, this file will be added to the zip file&#46; If the * second parameter is an array, all file names contained in <aFiles> * will be compressed&#46; * * If <nLevel> is used, it detemines the compression type where 0 means * no compression and 9 means best compression&#46; * * If <bBlock> is used, every time the file is opened to compress it * will evaluate bBlock&#46; Parameters of bBlock are cFile and nPos&#46; * * If <lOverWrite> is used , it toggles to overwrite or not the existing * file&#46; Default is to overwrite the file,otherwise if <lOverWrite> is false * the new files are added to the <cFile>&#46; * * If <lWithPath> is used, it tells thats the path should also be stored with * the file name&#46; Default is false&#46; * * If <lWithDrive> is used, it tells thats the Drive and path should also be stored * with the file name&#46; Default is false&#46; * * $EXAMPLES$ * FUNCTION MAIN&#40;&#41; * * IF HB_ZIPFILEBYTDSPAN&#40; "TEST&#46;ZIP","TEST&#46;PRG"&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * IF ZIPFILEBYTDSPAN&#40; "TEST1&#46;ZIP",&#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125;&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * IF HB_ZIPFILEBYTDSPAN&#40; "TEST2&#46;ZIP",&#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125;,8,&#123;|nPos,cFile|,qout&#40;cFile&#41;&#125;,'hello',,521421&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * aFiles &#58;= &#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125; * nLen &#58;= Len&#40;afiles&#41; * aGauge &#58;= GaugeNew&#40; 5, 5, 7,40 , "W/B", "W+/B" ,'²'&#41; * GaugeDisplay&#40; aGauge &#41; * HB_ZIPFILEBYTDSPAN&#40;'test33&#46;zip',aFiles,8,&#123;|cFile,nPos| GaugeUpdate&#40;aGauge,nPos/nLen&#41;&#125;,,'hello',,6585452&#41; * Return Nil * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* * $DOC$ * $FUNCNAME$ * HB_ZIPFILEBYPKSPAN&#40;&#41; * $CATEGORY$ * ZIP FUNCTION * $ONELINER$ * Create a zip file on removable media * $SYNTAX$ * HB_ZIPFILEBYPKSPAN&#40; <cFile> , <cFileToCompress> | <aFiles>, <nLevel> , * <bBlock>,<lOverWrite> ,<cPassword>,<lWithPath>,<lWithDrive>&#41; ---> lCompress * $ARGUMENTS$ * <cFile> Name of the zip file * * <cFileToCompress> Name of a file to Compress, Drive and/or path * can be used * * <aFiles> An array containing files to compress, Drive and/or path * can be used * * <nLevel> Compression level ranging from 0 to 9 * * <bBlock> Code block to execute while compressing * * <lOverWrite> Toggle to overwite the file if exists * * <cPassword> Password to encrypt the files * * <lWithPath> Toggle to store the path or not * * <lWithDrive> Toggle to store the Drive letter and path or not * $RETURNS$ * <lCompress> &#46;t&#46; if file was create, otherwise &#46;f&#46; * $DESCRIPTION$ * This function creates a zip file named <cFile>&#46; If the extension * is ommited, &#46;ZIP will be assumed&#46; If the second parameter is a * character string, this file will be added to the zip file&#46; If the * second parameter is an array, all file names contained in <aFiles> * will be compressed&#46;Also , the use of this function is for creating * backup in removable media like an floppy drive/zip drive&#46; * * If <nLevel> is used, it detemines the compression type where 0 means * no compression and 9 means best compression&#46; * * If <bBlock> is used, every time the file is opened to compress it * will evaluate bBlock&#46; Parameters of bBlock are cFile and nPos&#46; * * If <lOverWrite> is used , it toggles to overwrite or not the existing * file&#46; Default is to overwrite the file,otherwise if <lOverWrite> is false * the new files are added to the <cFile>&#46; * * If <cPassword> is used, all files that are added to the archive are encrypted * with the password&#46; * * If <lWithPath> is used, it tells thats the path should also be stored with * the file name&#46; Default is false&#46; * * If <lWithDrive> is used, it tells thats the Drive and path should also be stored * with the file name&#46; Default is false&#46; * * Before calling this function, Set an Changedisk codeblock by calling * the HB_SETDISKZIP&#40;&#41;&#46; * $EXAMPLES$ * FUNCTION MAIN&#40;&#41; * * IF HB_ZIPFILE&#40; "a&#58;\TEST&#46;ZIP","TEST&#46;PRG"&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * IF HB_ZIPFILEBYPKSPAN&#40; "a&#58;\TEST1&#46;ZIP",&#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125;&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * IF HB_ZIPFILEBYPKSPAN&#40; "TEST2&#46;ZIP",&#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125;,8,&#123;|nPos,cFile|,qout&#40;cFile&#41;&#125;&#41; * qout&#40;"File was successly create"&#41; * ENDIF * * aFiles &#58;= &#123;"TEST&#46;PRG","c&#58;\windows\win&#46;ini"&#125; * nLen &#58;= Len&#40;afiles&#41; * aGauge &#58;= GaugeNew&#40; 5, 5, 7,40 , "W/B", "W+/B" ,'²'&#41; * GaugeDisplay&#40; aGauge &#41; * Hb_ZIPFILEBYPKSPAN&#40;'f&#58;\test33&#46;zip',aFiles,8,&#123;|cFile,nPos| GaugeUpdate&#40;aGauge,nPos/nLen&#41;&#125;,,'hello'&#41; * // assuming f&#58;\ as an Zip Drive * Return Nil * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* $DOC$ * $FUNCNAME$ * HB_SETDISKZIP&#40;&#41; * $CATEGORY$ * Zip Function * $ONELINER$ * Set an codeblock for disk changes * $SYNTAX$ * HB_SETDISKZIP&#40;<bBlock>&#41; * $ARGUMENTS$ * <bBlock> an Code block that contains an function that will be performed * when the need of changing disk are need&#46; * $RETURNS$ * It returns allways True * $DESCRIPTION$ * This function will set an codeblock that will be evaluated every time * that an changedisk event is neccessary&#46; * * Set this function before opening archives that are in removable media&#46; * This block will be released, when the caller finish it job&#46; * $EXAMPLES$ * HB_SETDISKZIP&#40;&#123;|x| alert&#40;'Please insert disk no "+str&#40;x,3&#41;&#41;&#125;&#41; * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* $DOC$ * $FUNCNAME$ * HB_ZIPDELETEFILES&#40;&#41; * $CATEGORY$ * Zip Functions * $ONELINER$ * Delete files from an zip archive * $SYNTAX$ * HB_ZIPDELETEFILES&#40;<cFile>,<cFiletoDelete>|<aFiles>&#41; --> <lDeleted> * $ARGUMENTS$ * <cFile> The name of the zip files from where the files will be deleted * * <cFiletoDelete> An File to be removed * * <aFiles> An Array of Files to Be Removed * $RETURNS$ * <lDeleted> If the files are deleted , it will return &#46;T&#46;, otherwise * it will return &#46;f&#46; for the Follow cases&#58; Spanned Archives, the file * could not be found in the zip file&#46; * $DESCRIPTION$ * This function removes files from an Zip archive&#46; * $EXAMPLES$ * ? "has the file zipnew&#46;i been deleted ",if&#40;HB_ZIPDELETEFILES&#40;'\test23&#46;zip','zipnew&#46;i'&#41;,"Yes","No"&#41; * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* $DOC$ * $FUNCNAME$ * HB_ZIPTESTPK&#40;&#41; * $CATEGORY$ * Zip Functions * $ONELINER$ * Test pkSpaned zip files * $SYNTAX$ * HB_ZIPTESTPK&#40;<cFile>&#41; --> <nReturnCode> * $ARGUMENTS$ * <cFile> File to be tested&#46; * $RETURNS$ * <nReturn> An code that tell if the current disk is the Last of an pkspanded * disk set&#46; * $DESCRIPTION$ * This function tests if the disk inserted is the last disk of an backup * set or not&#46; * It will return the follow return code when an error is found * * <table> * Error code Meaning * 114 Incorrect Disk * 103 No Call back was set with HB_SETDISKZIP&#40;&#41; * </table> * * Call this function to determine if the disk inserted is the correct * one before any other function&#46; * $EXAMPLES$ * if &#40;HB_ZIPTESTPK&#40;'a&#58;\test22&#46;zip'&#41;==114&#41; * ? "invalid Disk" * endif * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* $DOC$ * $FUNCNAME$ * HB_GETZIPCOMMENT&#40;&#41; * $CATEGORY$ * Zip Functions * $ONELINER$ * Return the comment of an zip file * $SYNTAX$ * HB_GETZIPCOMMENT&#40;<szFile>&#41; --> <szComment> * $ARGUMENTS$ * <szFile> File to get the comment from * $RETURNS$ * <szComment> The comment that was stored in <szFile> * $DESCRIPTION$ * This function recieve an valid zip file name as parameter, * and return the global comment stored within&#46; * $EXAMPLES$ * ? "The comment of tes&#46;zip",HB_GETZIPCOMMENT&#40;'tes&#46;zip'&#41; * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* $DOC$ * $FUNCNAME$ * HB_SETZIPCOMMENT&#40;&#41; * $CATEGORY$ * Zip Functions * $ONELINER$ * Set an Zip archive Comment * $SYNTAX$ * HB_SETZIPCOMMENT&#40;<cComment>&#41; -->Nil * $ARGUMENTS$ * <cComment> Comment to add to the zip archive * $RETURNS$ * <NIL> this function always return NIL * $DESCRIPTION$ * This function stored an global comment to an zip archive&#46; * It should be called before any of the Compression Function&#46; * $EXAMPLES$ * HB_SETZIPCOMMENT&#40;"This is an Test"&#41; * hb_zipfile&#40;'test&#46;zip',&#123;"\windows\ios&#46;ini","\windows\win&#46;ini"&#125;&#41; * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* $DOC$ * $FUNCNAME$ * HB_SETBUFFER&#40;&#41; * $CATEGORY$ * * $ONELINER$ * * $SYNTAX$ * HB_SETBUFFER&#40;&#91;<nWriteBuffer>&#93;,&#91;<nExtractBuffer>&#93;,&#91;<nReadBuffer>&#93;&#41; -->Nil * $ARGUMENTS$ * <nWriteBuffer> The size of the write buffer&#46; * * <nExtractBuffer> The size of the extract buffer&#46; * * <nReadBuffer> The size of the read buffer&#46; * $RETURNS$ * <NIL> This function always return NIL&#46; * $DESCRIPTION$ * This function set the size of the internal buffers for read/write/extract * operation * * If the size of the buffer is smaller then the default , the function * will automaticaly use the default values,which is 65535/16384/32768&#46; * * This function be called before any of the Compression/decompression * Function&#46; * $EXAMPLES$ * HB_SETBUFFER&#40;100000,115214,65242&#41; * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* * $DOC$ * $FUNCNAME$ * HB_GETUNRARFILE&#40;&#41; * $CATEGORY$ * RAR FUNCTION * $ONELINER$ * Gets the number of files that are in the rar file * $SYNTAX$ * HB_GETUNRARFILE&#40; <cFile>&#41; ---> nNumber * $ARGUMENTS$ * <cFile> Name of the rar file * $RETURNS$ * <nNumber> The number of files contained inside the rarfile * $DESCRIPTION$ * This function returns the number of files that is stored in the rar file&#46; * $EXAMPLES$ * FUNCTION MAIN&#40;&#41; * Local nFiles &#58;=HB_GETUNZIPFILE&#40;'test&#46;zip'&#41; * * if nFiles >0 * ? "This files Contains ",nfiles * endif * * Return Nil * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $FILES$ * Library is zlib&#46;lib and zlib_bor&#46;lib For Borland Compilers * Library is zlib&#46;lib zlib_ms&#46;lib for MSVC compilers * $END$ */ /* $DOC$ * $FUNCNAME$ * COMPRESSSTRING&#40;&#41; * $CATEGORY$ * Compression&#40;&#41; * $ONELINER$ * Compress an string * $SYNTAX$ * CompressString&#40;@<cString>,@<nSize>&#41; * $ARGUMENTS$ * <cString> Buffer to compress, must be passed by reference&#46; * * <nSize> The Lenght of the compression String * $RETURNS$ * NIL * $DESCRIPTION$ * This function compress an string buffer and return the compression function * and the size of this compression function&#46; * This size is required for uncompression the string * $EXAMPLES$ * Local cTest&#58;= memoread&#40;'tzipfile&#46;prg'&#41; * ? 'String before compressing',cTest * * COMPRESSSTRING&#40;@cTest,@nSize&#41; * ? "Size",nSize * ? " " * ? " " * ? 'String after compressing',cTest * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $SEEALSO$ * UNCOMPRESSSTRING&#40;&#41; * $END$ */ /* $DOC$ * $FUNCNAME$ * UNCOMPRESSSTRING&#40;&#41; * $CATEGORY$ * Compression * $ONELINER$ * Uncompress an String * $SYNTAX$ * UNCOMPRESSSTRING&#40;<cBuffer>,<nSize>&#41; ---> <cUncompressBuffer> * $ARGUMENTS$ * <cBuffer> The compressing string to uncompress * * <nSize> The saved size returned by compressionstring * $RETURNS$ * <cUncompressBuffer> The String uncompressed * $DESCRIPTION$ * * $EXAMPLES$ * cOrig&#58;=UNCOMPRESSSTRING&#40;cTest,nSize&#41; * ?'uncompressed String',cOrig * $STATUS$ * R * $COMPLIANCE$ * This function is a Harbour extension * $PLATFORMS$ * All * $SEEALSO$ * COMPRESSSTRING&#40;&#41; * $END$ */[/code:3b1kbikh]
compiland testzip con fw2.6 xharbor99.50
tutto ok!!!!! era proprio quello che mi serviva! grazie! Dino
compilando RDDADS de contrib error HB_UNCONST (RESUELTO)
Estimados estoy tratando de compilar rddads de contribuiciones de este link [url:2tyg3v9q]https&#58;//github&#46;com/harbour/core/tree/master/contrib/rddads[/url:2tyg3v9q] pero me sele este error HB_UNCONST [quote:2tyg3v9q]D:\APL\PRGS\ADS\bc7>c:\borland\bcc7\bin\bcc32 -c -tWM -Ic:\hb32\include -ID:\APL\PRGS\ADS\bc7 ads1.c Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc. ads1.c: Warning W8065 ads1.c 90: Call to function 'HB_UNCONST' with no prototype in function adsSetListener_callback Warning W8065 ads1.c 93: Call to function 'HB_UNCONST' with no prototype in function adsSetListener_callback Warning W8065 ads1.c 105: Call to function 'HB_UNCONST' with no prototype in function adsSetListener_callback Warning W8065 ads1.c 133: Call to function 'HB_UNCONST' with no prototype in function adsSetSend Warning W8065 ads1.c 134: Call to function 'HB_UNCONST' with no prototype in function adsSetSend Warning W8065 ads1.c 138: Call to function 'HB_UNCONST' with no prototype in function adsSetSend Warning W8065 ads1.c 361: Call to function 'HB_UNCONST' with no prototype in function hb_adsFindBag Warning W8065 ads1.c 613: Call to function 'HB_UNCONST' with no prototype in function adsScopeSet Warning W8065 ads1.c 1027: Call to function 'HB_UNCONST' with no prototype in function adsSeek Warning W8065 ads1.c 2565: Call to function 'HB_UNCONST' with no prototype in function adsPutRec Warning W8065 ads1.c 2637: Call to function 'HB_UNCONST' with no prototype in function adsPutValue Warning W8065 ads1.c 2652: Call to function 'HB_UNCONST' with no prototype in function adsPutValue Warning W8065 ads1.c 2662: Call to function 'HB_UNCONST' with no prototype in function adsPutValue[/quote:2tyg3v9q] este el el bat de compilacion [code=fw:2tyg3v9q]<div class="fw" id="{CB}" style="font-family: monospace;">rem compilando<br /><br />rem ace.h sacar de <br />rem http:<span style="color: #B900B9;">//devzone.advantagedatabase.com/dz/content.aspx?key=20</span><br />rem Advantage <span style="color: #00C800;">Client</span> Engine<br /><br />c:\borland\bcc7\bin\bcc32 -c -tWM -Ic:\hb32\include -<span style="color: #0000ff;">ID</span>:\APL\PRGS\ADS\bc7 ads1.c<br /><span style="color: #00C800;">pause</span><br />c:\borland\bcc7\bin\bcc32 -c -tWM -Ic:\hb32\include -<span style="color: #0000ff;">ID</span>:\APL\PRGS\ADS\bc7 adsfunc.c<br />c:\borland\bcc7\bin\bcc32 -c -tWM -Ic:\hb32\include -<span style="color: #0000ff;">ID</span>:\APL\PRGS\ADS\bc7 adsmgmnt.c<br />c:\borland\bcc7\bin\bcc32 -c -tWM -Ic:\hb32\include -<span style="color: #0000ff;">ID</span>:\APL\PRGS\ADS\bc7 adsx.c<br /><br />rem creando libreria<br /><br />c:\borland\bcc7\bin\Tlib rddads  + ads1 + adsfunc + adsmgmnt + adsx<br /> </div>[/code:2tyg3v9q] [b:2tyg3v9q]cualquier ayudita es bienvenida[/b:2tyg3v9q]
compilando RDDADS de contrib error HB_UNCONST (RESUELTO)
Patricio, Necesitas usar una versión de Harbour más reciente, ya que hace 19 dias Prezmek actualizó Harbour y precisamente uno de los cambios es la definición y el uso de HB_UNCONST Si lo necesitas, puedo construir el Harbour más reciente y hacerlo accesible desde bitbucket en donde solemos publicar los builds de Harbour y xHarbour
compilando RDDADS de contrib error HB_UNCONST (RESUELTO)
Otra opción es que descargues la versión de esos ficheros de hace 19 dias
compilando RDDADS de contrib error HB_UNCONST (RESUELTO)
Añade en hbdefs.h la linea : #define HB_UNCONST( p ) ( ( void * ) ( HB_PTRUINT ) ( const void * ) ( p ) ) con eso ya compilará sin problemas.
compilando RDDADS de contrib error HB_UNCONST (RESUELTO)
Gracias Antonio y Mastintin la ultima resuelve el problema
compilando con Harbour/xHarbour tengo errores...
En el siguiente código me da error en las senencias Copy To e Index On, me arroja que sigue:.\SOURCE\IMPCOMI.PRG(139) Error E0030 Syntax error: "syntax error at 'TO'".\SOURCE\IMPCOMI.PRG(142) Error E0030 Syntax error: "syntax error at 'ON'"**Copy To &(Substr(Local3,9,7))If ( DbUseFile(Local1, .F.,"DBFNTX") ) DATABASE oDat[1]** Index On N_Fact To &(Substr(Local1,9,7))Else Return ( Nil )EndIf** Es donde aparecen los errores, si puede ayudarme...Gracias. <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
compilando con Harbour/xHarbour tengo errores...
prueba quitando los &
compilando con Harbour/xHarbour tengo errores...
Lo que sucede es que necesito la macrosustitucion para realizar esta tarea. A no ser que exista otro metodo de macro...Gracias...
compilando con Harbour/xHarbour tengo errores...
según creo, debería de funcionarte bien utilizando () sin &, pero en dado caso prueba directamente con las funciones __dbCopy() dbCreateIndex()
compilando con Harbour/xHarbour tengo errores...
Bueno retire el & y deje solo los (), paso sin problemas... con la version anterior de harbour que estaba usando me lo reconocia de todas formas...Muchas gracias... <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
compilando con borlan BCC582 en aj maker
Cambie la versión de fivewin64 ver. 12.01 y borlan BCC582 y al compilar me marca este error Error prsht.h 1081 1: '#endif' before '#if' ** error 20018 ** deleting "C:\Desarrollo\Prog\HRM\Papeletas\Utileria\RECURSO2.res" si alguien tiene alguna idea de porque pasa esto y como corregirlo se los voy a agradecer José B.B.
compilando con borlan BCC582 en aj maker
José, Suele ocurrir al editar los ficheros RC con PellesC por los include que este añade al comienzo del fichero RC. Prueba a comentar los siguientes: #include <windows.h> // #include <commctrl.h> // #include <richedit.h>
compilando con borlan BCC582 en aj maker
Gracias Antonio, ya lo realice y funciona pero ahora me marca este error: Error RECURSO2.rc 21 30: Expecting class name or ID ** error 20018 ** deleting "C:\Desarrollo\Prog\HRM\Papeletas\Utileria\RCPUENTE.res" te comento que uso el ResEdit para modificar mis objetos y no se si tenga que ver con esta clase: { CONTROL "", 101, DATETIMEPICK_CLASS, WS_TABSTOP | DTS_RIGHTALIGN, 88, 27, 75, 12 LTEXT "Fecha de Asignación:", IDC_STATIC, 12, 30, 70, 8, SS_LEFT LTEXT "Folio de la Solicitud:", IDC_STATIC, 12, 15, 64, 8, SS_LEFT EDITTEXT 102, 87, 13, 76, 12, ES_AUTOHSCROLL LTEXT "Cliente", 104, 14, 73, 260, 11, SS_LEFT LTEXT "Cliente:", IDC_STATIC, 13, 60, 24, 8, SS_LEFT }
compilando con borlan BCC582 en aj maker
[quote="execompu":29irp9dj]Gracias Antonio, ya lo realice y funciona pero ahora me marca este error: Error RECURSO2.rc 21 30: Expecting class name or ID ** error 20018 ** deleting "C:\Desarrollo\Prog\HRM\Papeletas\Utileria\RCPUENTE.res" te comento que uso el ResEdit para modificar mis objetos y no se si tenga que ver con esta clase: { CONTROL "", 101, DATETIMEPICK_CLASS, WS_TABSTOP | DTS_RIGHTALIGN, 88, 27, 75, 12 LTEXT "Fecha de Asignación:", IDC_STATIC, 12, 30, 70, 8, SS_LEFT LTEXT "Folio de la Solicitud:", IDC_STATIC, 12, 15, 64, 8, SS_LEFT EDITTEXT 102, 87, 13, 76, 12, ES_AUTOHSCROLL LTEXT "Cliente", 104, 14, 73, 260, 11, SS_LEFT LTEXT "Cliente:", IDC_STATIC, 13, 60, 24, 8, SS_LEFT }[/quote:29irp9dj] Quite el RECURSO2.rc para checar que me compilara pero me marco un error mas : Error: 'C:\DESARROLLO\FWH64\LIB\FIVEH64.LIB' contains invalid OMF record, type 0x21 (possibly COFF) ** error 2 ** deleting "C:\Desarrollo\Prog\HRM\Papeletas\Sistema\SISADPA.exe"
compilando con borlan BCC582 en aj maker
Jose, Estas usando FWH64 cuando supongo que quieres usar FWH32 pues Borland no funciona en 64 bits Lo que quieres es construir tu aplicacion en 32 bits. Si ?
compilando con borlan BCC582 en aj maker
aver si me explico mi computadora es de 64 bits por lo tanto lo que instalo tiene que ser en 64, las aplicaciones que desarrollo quiero que corran tanto en 64 como 32. Instale FW64 para poder actualizarme, pero es ahí donde me metí en problemas todo lo que tenia instalado era para 32bit fw, borlan
compilando con harbour Error en IN
Hola. Tengo problemas al compilar con harbour, me dice que esto tiene error, en cambo en xharbour no lo tiene. [code=fw:3uz526r3]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">vGet</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">01</span> <span style="color: #000000;">&#93;</span> := IIf<span style="color: #000000;">&#40;</span> cLinea IN <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"HARBOUR"</span>, <span style="color: #ff0000;">"XHARBOUR"</span> <span style="color: #000000;">&#125;</span>, IIf<span style="color: #000000;">&#40;</span> cLinea == <span style="color: #ff0000;">"HARBOUR"</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span></div>[/code:3uz526r3] Gracias
compilando con harbour Error en IN
Muestra algo más completo.
compilando con harbour Error en IN
en esa linea es el problema
compilando con harbour Error en IN
Cual é el error? Post error.log ó un ejemplo simples. No hay nada en \samples con este comando.
compilando con harbour Error en IN
Podrias proba con [code=fw:1axwy7cp]<div class="fw" id="{CB}" style="font-family: monospace;">::<span style="color: #000000;">vGet</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">01</span> <span style="color: #000000;">&#93;</span> := IIf<span style="color: #000000;">&#40;</span> ASCAN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"HARBOUR"</span>, <span style="color: #ff0000;">"XHARBOUR"</span> <span style="color: #000000;">&#125;</span>,cLinea<span style="color: #000000;">&#41;</span>><span style="color: #000000;">0</span>, IIf<span style="color: #000000;">&#40;</span> cLinea == <span style="color: #ff0000;">"HARBOUR"</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span></div>[/code:1axwy7cp]
compilando con harbour Error en IN
Yo lo que quiero saber es si en harbour se utiliza el "IN" como en el xharbour.. Ahi el error que tira es (para mi entender) que el harbour no reconoce el "IN", CM si pongo lo que me decis funciona bien. Pero quiero saber si en todas las app que este usando IN tengo que pasarlo a SCAN... gracias.
compilando con harbour Error en IN
Por lo visto la funcion IN no existe en Harbour [url:219ndtll]http&#58;//www&#46;fivetechsoft&#46;com/harbour-docs/harbour&#46;html[/url:219ndtll]
compilando con harbour Error en IN
"In" es una extensión de xHarbour. No existe en Harbour. Se usa "$" en vez de "In" como en clipper. Saludos
compilando con harbour Error en IN
a OK! y como puedo hacer para que tome ambos? o sea, que pueda decir: [code=fw:28zda1tf]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> XHARBOUR<br />&nbsp; &nbsp;IN <span style="color: #000000;">&#123;</span>....<span style="color: #000000;">&#125;</span><br /><span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp;$...<br /><span style="color: #00C800;">ENDIF</span> <br />&nbsp;</div>[/code:28zda1tf] Gracias.
compilando con harbour Error en IN
::vGet[ 01 ] := IIf( ( cLinea = "HARBOUR" .or. cLinea = "XHARBOUR" ), IIf( cLinea == "HARBOUR", 1, 2 ), 1 )
compilando con harbour Error en IN
Gustavo, Prueba a incluir hbcompat.ch: [url:q96rm0mg]https&#58;//github&#46;com/harbour/core/blob/master/contrib/xhb/hbcompat&#46;ch[/url:q96rm0mg] #include "hbcompat.ch"
compilando con harbour Error en IN
Pruebo y aviso. gracias.
compilando con harbour Error en IN
Así lo uso sin problemas con xHarbour: ::vGet[ 01 ] := IIf( cLinea IN "HARBOUR,XHARBOUR", IIf( cLinea == "HARBOUR", 1, 2 ), 1 ) o ::vGet[ 01 ] := IIf( cLinea $ "HARBOUR,XHARBOUR", IIf( cLinea == "HARBOUR", 1, 2 ), 1 ) Joel Andujo
compilando con harbour Error en IN
en mi caso uso bastante el "IN" pero en xharbour, ahora bien he visto que en algunos sources hacen algo para que cuando se compile con xharbour tome un camino y cuando es con harbour utilicen otro, pero no lo tengo bien presente como es el mecanismo al compilar, como le digo que estoy compilando con xharbour o harbour.
compilando con harbour Error en IN
Gustavo, En hbcompat.ch mira como se traduce IN para que funcione en Harbour: #translate ( <exp1> IN <exp2> ) => ( ( <exp1> ) $ ( <exp2> ) )
compilando tutor03 de FiveWeb
Compilando FiveWeb Antonio los programas tutor1,tutor2 y tutor4, compilan bien, los programas que utilizan controles @ x,y no compila, revise fiveweb.ch y estan las traducciones de comandos hacia funciones. ?????????????????????????????????????????????????????????????????????????????? ? FiveWeb builder Harbour development power ?? ? (c) FiveTech, 1993-2012 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 ?? ???????????????????????????????????????????????????????????????????????????????   ????????????????????????????????????????????????????????????????????????????? Compiling... TUTOR03.prg(13) Error E0030 Syntax error "syntax error at '@'" TUTOR03.prg(15) Error E0030 Syntax error "syntax error at '@'" TUTOR03.prg(17) Error E0030 Syntax error "syntax error at '@'" Harbour 3.2.0dev (Rev. 18881) Copyright (c) 1999-2013, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m --> Compiling 'TUTOR03.prg' and generating preprocessed output to 'TUTOR03.ppo'... 3 errors No code generated. * Compile errors * C:\fiveweb\samples>
compilando tutor03 de FiveWeb
Antonio El comando BUTTON Requiere esta definición @ 265, 189 BUTTON [b:1laijqx0]oBtn1[/b:1laijqx0] PROMPT "Ok"
compilar
al compilar conbuildh.bat tutor02me da el siguiente error."el sistema no puede hallar la ruta especificada.Borland C++ 5.5 1 for win32 copyrigth (c). 1993 2000 borlandtutor02.c:error e2209 tutor02.c 8: unable to open include file 'hbvmpub.h'
compilar
SET PATH=H:\segjose\clipper5\clip53\BIN;H:\segjose\clipper5\blinker7\BIN;%PATH%set path=H:\segjose\clipper5\clIp53\ng;%path%SET LIB=H:\segjose\clipper5\fw20\lib;H:\segjose\clipper5\clip53\libSET INCLUDE=H:\segjose\clipper5\fw20\INCLUDE;H:\segjose\clipper5\clip53\includeSET PLL=H:\segjose\clipper5\fw20\PLL
compilar
Falta que le pongas la ruta de tus Lib's y Ch'sSET LIB=C:\HARBOUR\LIB;C:\FWH\LIBSET INCLUDE=C:\HARBOUR\INCLUDE;C:\FWH\INCLUDESuponiendo que tu Harbour y FW se ubican en la unidad C: y Revisa en el BUILDH.bat los pathsset hdir=c:\harbourset bcdir=c:\borland\bcc55Ambos le dicen al sistema donde se encuentra tu Harbour y tu Borland a lo mejor es lo que falta variarSaludosYo tambien estoy en el camino a 32bits, pero ya puedo compilar los samples
compilar .rc en DLL con MSVC2010
Hola, Por favor, ¿cómo se compila un .rc para hacerlo .DLL con recursos con MSVC 2010?. Muchas gracias.
compilar .rc en DLL con MSVC2010
Igual que en MSVC2012 Mira a ver si te sirve: [url:1n4u3jom]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=26743#p148032[/url:1n4u3jom] Saludos
compilar .rc en DLL con MSVC2010
Lucas, Una DLL es una especie de "EXE" que puede ser usado desde otros EXEs, por lo que con unas pequeñas modificaciones podrias usar el buildh32.bat de FWH, ya que: 1. Se compila un fichero .C 2. Se compila un fichero .RC 3. Se genera un ejecutable (EXE o DLL según flags) Ahora mismo estoy reinstalando todas las herramientas de desarrollo en un ordenador, (de paso voy a instalar el Windows Blue) y en cuanto este listo, te ayudo a localizar los flags necesarios <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
compilar .rc en DLL con MSVC2010
Antonio, Perfecto, muchas gracias. En realidad, lo necesito para 64 bits con MSVC 2010 64, ya que tengo que modificar el prev64.dll. Muchas gracias Maestro.
compilar .rc en DLL con MSVC2010
Instalado el Windows 8.1... Afortunadamente se instalo bien desde pendrive. Como comentario personal, no me ha gustado la instalacion. Creo que es de las menos intuitivas que Windows ha tenido... Ahora estoy instalando Visual Studio 2012 Express, ya que anteriormente estaba usando la version Pro, pero entiendo que es preferible que use la que todo el mundo tiene a su alcance Aun me quedan por instalar algunas cosas... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
compilar .rc en DLL con MSVC2010
Al usar GIT ahora, tanto para Harbour como para FWH, enlentece el proceso cuando hay que hacer un checkout limpio (desde cero), ya que como se genera una copia completa del repositorio, el tiempo de descarga es mucho mayor Ya está instalado Visual Studio 2012 Express <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Descargando Harbour y FWH en Windows 8.1...
compilar .rc en DLL con MSVC2010
Lucas, Al instalar Visual Studio 2012 Express (sin tener instalado VS2010) he descubierto que los paths de los ficheros include y de las librerias han cambiado bastante. He conseguido ya identificar los nuevos, pero me preguntaba si llamando al fichero vcvarsall.bat que MSVC proporciona, podria automatizar los paths. En eso estoy ahora mismo. Que versión de MSVC estas usando, 2012 ó 2010 ? 2013 ? Si en 2013 ha vuelto a cambiar todo, entonces lo suyo es ver si se puede usar vcvarsall.bat <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
compilar .rc en DLL con MSVC2010
El titulo del post: 2010... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
compilar .rc en DLL con MSVC2010
Efectivamente, 2010 <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->. Yo adapté los build con los paths de vcvarsall.bat, y me coge todo, pero efectivamente MSVC es un cacao con tanto path frente a la sencillez de Borland. Ahora bien, MSVC va como un tiro, sí se nota el rendimiento la verdad, incluyendo los 64 bits.
compilar .rc en DLL con MSVC2010
Lucas, Que variables de entorno estas usando de las creadas por vcvarsall.bat ? yo estoy accediendo al compilador asi: "%VCINSTALLDIR%"\bin\cl Para acceder a las librerias del SDK: (en VS2012) echo "%WindowsSdkDir%"lib\win8\um\x86\kernel32.lib >> msvc.tmp Y para acceder al enlazador, igual que para el compilador Ahora estoy intentando resolver el acceso a vsstyle.h ya que tmschema.h no parece estar disponible, para construir FWH con VS2012
compilar .rc en DLL con MSVC2010
Esas mismas, pero con MSVC 2010. ¿Qué ventajas tiene el 2012?. ¿Y cómo has solucionado el tema del botón de Inicio en Windows 8?. A mi su desaparición me resulta bastante incordiosa la verdad. Muchas gracias.
compilar .rc en DLL con MSVC2010
Lucas, Yo he usado bastante el VS2012 y su debuger a bajo nivel que es muy bueno. Supongo que habrá bastantes mejoras, pero para mi el debugger es suficiente razón para decidirme a usarlo <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> El botón de Windows 8.1 resulta un tanto parche en su implementación, ya verás porque lo digo (la primera vez no aparece hasta que no vas al desktop). Además no les ha quedado otra que hacerlo cuadrado, porque redondo como que no les ha parecido bien. Pero bueno, para muchos será un alivio. Yo me habia acostumbrado a usarlo sin botón y ahora me sobra <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Se supone que ahora se puede arrancar directamente en el desktop pero aún no he encontrado la opción. Sigue sin dejar cambiar los colores del fondo de la ventana (el blanco emite mucha radiación y supongo que con los años puede dañar la vista. Yo siempre he usado gris y aun no uso gafas <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Asi que no me queda más que cambiarlo por el regedit. Por lo demás, no hay diferencia (es solo la versión 8.1), en el uso que le damos como programadores.
compilar .rc en DLL con MSVC2010
Lucas, Pues ha quedado asi de simple y fácil <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> call "%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" "%VCINSTALLDIR%"\bin\cl -TP -W3 -LD screen32.c /link screen32.res Lo único que falta es generar el .res a partir del .rc Que compilador de recursos usas con VS2010 ? screen32.c [code=fw:37kgqq8q]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <windows.h><br /><br />#ifdef __BORLANDC__<br /><span style="color: #00D7D7;">#pragma</span> argsused<br />#endif<br /><br />BOOL WINAPI DllEntryPoint<span style="color: #000000;">&#40;</span> HINSTANCE hinstDLL, DWORD fdwReason, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LPVOID lpvReserved <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">return</span> <span style="color: #00C800;">TRUE</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:37kgqq8q]
compilar .rc en DLL con MSVC2010
Muchas gracias. El rc de Microsoft.
compilar .rc en DLL con MSVC2010
Lucas, Que versión de rc ? El que viene con vc98 ? Como lo estarán compilando los usuarios de 2010, 2012 ? google... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
compilar .rc en DLL con MSVC2010
[url:3cv52m5p]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/windows/desktop/aa381042(v=vs&#46;85)&#46;aspx[/url:3cv52m5p] Entiendo que vcvarsall.bat lo hace accesible desde el path, por lo que quedaría asi: [code=fw:3cv52m5p]<div class="fw" id="{CB}" style="font-family: monospace;">call <span style="color: #ff0000;">"%ProgramFiles(x86)%<span style="color: #000000;">\M</span>icrosoft Visual Studio 10.0<span style="color: #000000;">\V</span>C<span style="color: #000000;">\v</span>cvarsall.bat"</span><br />rc screen32.rc<br /><span style="color: #ff0000;">"%VCINSTALLDIR%"</span>\bin\cl -TP -W3 -LD screen32.c /link screen32.res</div>[/code:3cv52m5p]
compilar .rc en DLL con MSVC2010
[quote="Antonio Linares":38bvt3ei] Ahora estoy intentando resolver el acceso a vsstyle.h ya que tmschema.h no parece estar disponible, para construir FWH con VS2012 [/quote:38bvt3ei] Antonio, por si no has encontrado tmschema.h C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include Saludos
compilar .rc en DLL con MSVC2010
Cristobal, gracias, lo que ocurre es que ese es para VS2010. Para VS2012 esta es la solución: [code=fw:32el442q]<div class="fw" id="{CB}" style="font-family: monospace;">#if _MSC_VER < <span style="color: #000000;">1700</span> <span style="color: #B900B9;">// Before Visual Studio 2012</span><br /><span style="color: #00D7D7;">#include</span> <tmschema.h><br />#else<br /><span style="color: #00D7D7;">#include</span> <vsstyle.h><br />#endif</div>[/code:32el442q]
compilar BPAINT.C de tsButton con BC++ 5.82
Estimados estoy recompilando TSbutton con la version de borland C++ 5.82 pero el archivo BPAINT.C me arroja los siguentes errores, si alguien puede revisarlo y dar con la solucion [code=fw:1vorrt71]<div class="fw" id="{CB}" style="font-family: monospace;">Borland C++ <span style="color: #000000;">5.82</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1993</span>, <span style="color: #000000;">2005</span> Borland<br />..\source\<span style="color: #00C800;">function</span>\BPAINT.C:<br /><span style="color: #000000;">Error</span> E2349 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">100</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_SBTNPAINT<br />        GetObject<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HGDIOBJ <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span> bV22 ? hBitMap1 : <span style="color: #000000;">LOWORD</span><span style="color: #000000;">&#40;</span> hBitMap1 <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, sizeof<span style="color: #000000;">&#40;</span> BITMAP <span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#40;</span> LPSTR <span style="color: #000000;">&#41;</span> &bm <span style="color: #000000;">&#41;</span> ; <span style="color: #B900B9;">//linea 100</span><br /><br />Error E2349 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">153</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_SBTNPAINT<br />        DrawMasked<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">&#40;</span> bV22 ? hShape : <span style="color: #000000;">LOWORD</span><span style="color: #000000;">&#40;</span> hShape <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #B900B9;">//linea 153</span><br />                  rct.top + <span style="color: #000000;">&#40;</span> bPressed ? <span style="color: #000000;">1</span> : <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>, rct.<span style="color: #0000ff;">left</span>  + <span style="color: #000000;">&#40;</span> bPressed ? <span style="color: #000000;">1</span> : <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;<br /><br />Error E2349 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">286</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_SBTNPAINT<br />    <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> bV22 ? hBitMap1 : <span style="color: #000000;">LOWORD</span><span style="color: #000000;">&#40;</span> hBitMap1 <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//linea 286</span><br /><br />Error E2349 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">296</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_SBTNPAINT<br />                DrawBitmap<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">&#40;</span> bV22 ? hBitMap1 : <span style="color: #000000;">LOWORD</span><span style="color: #000000;">&#40;</span> hBitMap1 <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, nTop, <span style="color: #B900B9;">//linea 296</span><br />                           nLeft - <span style="color: #000000;">&#40;</span> ibmWidth * <span style="color: #000000;">&#40;</span> iClip - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</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 />Error E2349 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">299</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_SBTNPAINT<br />                DrawBitmap<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">&#40;</span> bV22 ? hBitMap1 : <span style="color: #000000;">LOWORD</span><span style="color: #000000;">&#40;</span> hBitMap1 <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, nTop, nLeft, <span style="color: #B900B9;">//linea 299</span><br />                           <span style="color: #000000;">&#40;</span> bAdjust ?  nWidth - <span style="color: #000000;">2</span> : <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#40;</span> bAdjust ?  nHeight - <span style="color: #000000;">2</span> : <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> ;<br /><br />Error E2349 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">305</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_SBTNPAINT<br />                DrawMasked<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">&#40;</span> bV22 ? hBitMap1 : <span style="color: #000000;">LOWORD</span><span style="color: #000000;">&#40;</span> hBitMap1 <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, nTop, <span style="color: #B900B9;">//linea 305</span><br />                           nLeft - <span style="color: #000000;">&#40;</span> ibmWidth * <span style="color: #000000;">&#40;</span> iClip - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;<br /><br />Error E2349 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">308</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_SBTNPAINT<br />    DrawMasked<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">&#40;</span> bV22 ? hBitMap1 : <span style="color: #000000;">LOWORD</span><span style="color: #000000;">&#40;</span> hBitMap1 <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, nTop, nLeft <span style="color: #000000;">&#41;</span> ; <span style="color: #B900B9;">//linea 308</span><br /><br />Warning W8065 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">1016</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'GetTextExtent'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_DRAWRADIO<br />    iExt       = LOWORD<span style="color: #000000;">&#40;</span> GetTextExtent<span style="color: #000000;">&#40;</span> hDC, cText, iLen <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #B900B9;">//linea 1016</span><br /><br />Warning W8065 ..\source\<span style="color: #00C800;">function</span>\BPAINT.C <span style="color: #000000;">1392</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'GetTextExtent'</span> with no prototype in <span style="color: #00C800;">function</span> cDrawBoxes<br />    iWidth      = LOWORD<span style="color: #000000;">&#40;</span> GetTextExtent<span style="color: #000000;">&#40;</span> hDC, cLabel, iLen <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;<span style="color: #B900B9;">//linea 1392</span><br /><br />*** <span style="color: #000000;">7</span> errors in Compile ***</div>[/code:1vorrt71]
compilar BPAINT.C de tsButton con BC++ 5.82
Hola para que no te salgan esos errores tienes que compilar de la siguiente manera c:\bcc582\bin\bcc32 -D__HARBOUR__ -c [b:2cof4o48]nombredearchivo.c[/b:2cof4o48] te recomiendo que los siguientes archivos estén configurados así Ubicación: c:\bcc582\bin [b:2cof4o48]BCC32.CFG[/b:2cof4o48] -I"c:\bcc582\include;c:\bcc582\include\dinkumware";c:\fwh\include;c:\harbour\include" -L"c:\bcc582\lib" [b:2cof4o48]ilink32.cfg[/b:2cof4o48] -L"c:\bcc582\lib" en el caso que quieras colocarlo en una libreria haces lo siguiente en mi caso necesite compilar dib.c y dibbmp.c lo que hice fue cuando obtuve los Obj los copie en donde estaba la libreria c:\bcc582\bin\tlib fivehc.lib -+ dibbmp.obj c:\bcc582\bin\tlib fivehc.lib -+ dib.obj espero que le sirva de ayuda a varios que puedan tener este problema
compilar BPAINT.C de tsButton con BC++ 5.82
Hola Patricio: [quote="Patricio Avalos Aguirre":2sjfxvpf]estoy recompilando TSbutton con la version de borland C++ 5.82 pero el archivo BPAINT.C me arroja los siguentes errores, si alguien puede revisarlo y dar con la solucion[/quote:2sjfxvpf] Tienes una versión muy atrasada de TSButton, mándame un mail para devolverte una más actual y poder resolver, en su caso, los posibles errores. Un abrazo. Manuel Mercado Gómez.
compilar BPAINT.C de tsButton con BC++ 5.82
Saludos. Quiza, debes cambiar los config, de bcc y listo..
compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Hola! Alguien ha podido compilar TDolphing con msys64/cLang a 64 Bits.. me marca algunos errores y no logro crear la libreria <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> [list:28w054kr] Harbour 3.4.0dev () (2017-12-20 13:40) Copyright (c) 1999-2017, <!-- m --><a class="postlink" href="https://github.com/vszakats/harbour-core/">https://github.com/vszakats/harbour-core/</a><!-- m --> Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpexp.prg'... Lines 1201, Functions/Procedures 0 Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpexp.c'... Done. Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpqry.prg'... Lines 3369, Functions/Procedures 45 Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c'... Done. Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpsrv.prg'... Lines 4438, Functions/Procedures 86 Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpsrv.c'... Done. clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate] clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate] clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate] clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate] clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate] clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate] clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate] In file included from C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c:3: In file included from E:\ToolsDeveloper\harbour-core-3.4.0\include\hbvmpub.h:50: E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:159:22: warning: 'long long' is a C++11 extension [-Wc++11-long-long] typedef signed long long HB_LONGLONG; ^ E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:160:24: warning: 'long long' is a C++11 extension [-Wc++11-long-long] typedef unsigned long long HB_ULONGLONG; ^ E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:528:7: warning: 'long long' is a C++11 extension [-Wc++11-long-long] # if HB_VMLONG_MAX > HB_LL( 9999999999 ) ^ E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:444:34: note: expanded from macro 'HB_VMLONG_MAX' # define HB_VMLONG_MAX LONGLONG_MAX ^ E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:176:37: note: expanded from macro 'LONGLONG_MAX' #define LONGLONG_MAX _I64_MAX ^ E:\msys64\mingw32\i686-w64-mingw32\include\limits.h:71:18: note: expanded from macro '_I64_MAX' #define _I64_MAX 9223372036854775807ll ^ In file included from C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c:3: In file included from E:\ToolsDeveloper\harbour-core-3.4.0\include\hbvmpub.h:50: E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:528:23: warning: 'long long' is a C++11 extension [/list:u:28w054kr] Saludos! Gabriel Ornelas
compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Parece que no hay errores...
compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
[quote="xmanuel":1i0pchay]Parece que no hay errores...[/quote:1i0pchay] Gracias Manuel! Revisare entonce a detalle en donde queda la libreria.. Pero parece que si Hay ! ya logre quitar la mayoria solo me faltan lo siguientes [list:1i0pchay] E:\ToolsDeveloper\tdolphin\source\c\function.c:572:4: error: unknown type name 'UINT' UINT ui, uiNumFields; ^ E:\ToolsDeveloper\tdolphin\source\c\function.c:578:7: error: use of undeclared identifier 'uiNumFields' uiNumFields = hb_parnl( 2 ); ^ E:\ToolsDeveloper\tdolphin\source\c\function.c:580:7: error: use of undeclared identifier 'uiNumFields' uiNumFields = mysql_num_fields( mresult ); ^ E:\ToolsDeveloper\tdolphin\source\c\function.c:587:41: error: use of undeclared identifier 'uiNumFields' itRow = hb_itemArrayNew( uiNumFields ); ^ E:\ToolsDeveloper\tdolphin\source\c\function.c:588:25: error: use of undeclared identifier 'uiNumFields' for ( ui = 0; ui < uiNumFields; ui++ ) E:\ToolsDeveloper\tdolphin\source\c\function.c:1112:41: error: use of undeclared identifier 'FALSE' iSize = hb_fsFSize( szFile, FALSE ); E:\ToolsDeveloper\tdolphin\source\c\function.c:1118:60: error: expected expression iSize = hb_fsReadLarge( fHandle , ( BYTE * ) FromBuffer , iSize ); E:\ToolsDeveloper\tdolphin\source\c\function.c:1133:26: error: use of undeclared identifier 'TRUE' bResult = TRUE ; [/list:u:1i0pchay] Alguna idea ? Saludos!
compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
Pordrias probar a cambiar: UINT por HB_UINT FALSE por HB_FALSE y TRUE por HB_TRUE
compilar TDolphin Harbour 3.4 alguien que me pueda orientar?
iSize = hb_fsReadLarge( fHandle , ( BYTE * ) FromBuffer , iSize ); por iSize = hb_fsReadLarge( fHandle , ( void * ) FromBuffer , iSize );
compilar adsrdd com ultima versao xharbour error - help.
Ola, alguem sabe como compilar a lib rddads com a ultima versao de xharbour?eu ja tentei:SET ADS_LIB_VERSION=810SET HB_DIR_ADS=\_wk\32\ACE\ADS81_26here i found ace.h ?nada funciona...obrigado
compilar adsrdd com ultima versao xharbour error - help.
Norberto,<!-- m --><a class="postlink" href="http://www.sybase.com/detail?id=1055532">http://www.sybase.com/detail?id=1055532</a><!-- m -->Please select:Advantage Client Engine API 9 (for Windows)
compilar archivos C
Estimados Estoy tratando de modificar el menus.c que se encuentra en c:\fwh\source\winapi, pero al anexarlo al la libreria fivehC.lib me arroja que no existen varias funciones [code:1z74mj5f]Compiling&#46;&#46;&#46; c&#58;\borland\bcc55\bin\ilink32 -Gn -aa -Tpe -s -v @b32&#46;bc RMAKE 1&#46;5 Copyright &#40;c&#41; 1989-1995 Computer Associates International, Inc&#46; Turbo Incremental Link 5&#46;00 Copyright &#40;c&#41; 1997, 2000 Borland Error&#58; Unresolved external '_HB_FUN_GETSUBMENU' referenced from C&#58;\FWH\LIB\FIVEH X&#46;LIB|MDICLIEN Error&#58; Unresolved external '_HB_FUN_DRAWMENUBAR' referenced from C&#58;\FWH\LIB\FIVE HX&#46;LIB|MDICLIEN[/code:1z74mj5f] lo estoy haciendo asi primero saque el original menus.obj de fivehc.lib y lo respalde en un carpeta diferente tlib fivehc.lib *menus.c luego compile menus.c que se encuentra en c:\fwh\source\winapi\menus.c [code:1z74mj5f]bcc32&#46;exe -tWM -DHB_GUI -DHB_API_MACROS -DHB_STACK_MACROS -DHB_FM_STATISTICS_OFF -d -a8 -OS -O2 -5 -c MENUS&#46;C TLIB FIVEHC +- &#46;&#46;\SOURCE\WINAPI\MENUS&#46;OBJ [/code:1z74mj5f] y si vuelvo anexar el menus.obj del original funciona sin ningun problema Al parecer le faltan funciones o algo estoy haciendo mal
compilar archivos C
Patricio, Comprueba si está la función GetSubMenu() en el fichero menus.c que has modificado
compilar archivos C
Gracias antonio por responder si existe la funcion GetSubMenu [code:2cjy19br]CLIPPER GETSUBMENU&#40; PARAMS &#41; // hMenu, nPos &#123; _retnl&#40; &#40; LONG &#41; GetSubMenu&#40; &#40; HMENU &#41; _parnl&#40; 1 &#41;, _parni&#40; 2 &#41; &#41; &#41;; &#125; [/code:2cjy19br] a lo mejor son los parametros de la compilacion lo unico que agregue a este archivo(menus.c) [code:2cjy19br] #ifdef __HARBOUR__ CLIPPER MENUDRAWITEM&#40; PARAMS &#41; // &#40; pDrawItemStruct, cPrompt, lTop, hBitmap &#41; #else CLIPPER MENUDRAWIT&#40; PARAMS &#41; // EM&#40; pDrawItemStruct, cPrompt, lTop, hBitmap &#41; #endif &#123; LPDRAWITEMSTRUCT lpdis = &#40; LPDRAWITEMSTRUCT &#41; _parnl&#40; 1 &#41;; LPSTR szPrompt = _parc&#40; 2 &#41;; BOOL bTab = bStrAt&#40; 9, szPrompt &#41;; WORD wLen; //BOOL bTop = _parl&#40; 3 &#41;; HPEN hNormal; HBRUSH hBrush; LOGBRUSH lb; RECT rct; HBITMAP hBmp = &#40; HBITMAP &#41; _parnl&#40; 4 &#41;; switch&#40; lpdis->itemAction &#41; &#123; case ODA_DRAWENTIRE&#58; case ODA_SELECT&#58; lb&#46;lbStyle = BS_SOLID; lb&#46;lbColor = GetSysColor&#40; COLOR_MENU &#41;; hBrush = CreateBrushIndirect&#40; &lb &#41;; FillRect&#40; lpdis->hDC, &lpdis->rcItem, hBrush &#41;; DeleteObject&#40; hBrush &#41;; //PATRICK SetBkColor&#40; lpdis->hDC, 8421504 &#41;; //FIN PATRICK [/code:2cjy19br] estoy probando de colocar un color al menu
compilar archivos C
Patricio, Compila simplemente asi: bcc32 -c -Ipath_a_includes menus.c
compilar archivos C
igual el error estoy viendo la libreria fivehc.lib tlib fivehc,fivehc.prg [code:qxyzttda]__WNDPRO size = 149 _HB_FUN_WININSPECT __DbgWndProc __WndProc _bDbgActive _bDbgBreak menus size = 1874 APPENDMENU CHECKMENUI CREATEMENU CREATEPOPU DESTROYMEN DRAWMENUBA ENABLEMENU GETDRAWITE GETDRAWMEN GETMEAITEM GETMENUSTA GETMENUSTR GETMITEMCO GETMITEMID GETSUBMENU GETSYSTEMM HILITEMENU INSERTMENU ISMENU LOADMENU MENUDRAWIT MENUMEASUR MODIFYMENU REMOVEMENU SETMENU TRACKPOPUP [/code:qxyzttda] y esta es de la original, hay diferencia?? [code:qxyzttda]MENUS size = 1801 _HB_FUN_APPENDMENU _HB_FUN_CHECKMENUITEM _HB_FUN_CREATEMENU _HB_FUN_CREATEPOPUPMENU _HB_FUN_DESTROYMENU _HB_FUN_DRAWMENUBAR _HB_FUN_ENABLEMENUITEM _HB_FUN_GETDRAWITEM _HB_FUN_GETDRAWMENU _HB_FUN_GETMEAITEM _HB_FUN_GETMENUSTATE _HB_FUN_GETMENUSTRING _HB_FUN_GETMITEMCOUNT _HB_FUN_GETMITEMID _HB_FUN_GETSUBMENU _HB_FUN_GETSYSTEMMENU _HB_FUN_HILITEMENUITEM _HB_FUN_INSERTMENU _HB_FUN_ISMENU _HB_FUN_LOADMENU _HB_FUN_MENUDRAWITEM _HB_FUN_MENUMEASUREITEM _HB_FUN_MODIFYMENU _HB_FUN_REMOVEMENU _HB_FUN_SETMENU _HB_FUN_TRACKPOPUP [/code:qxyzttda] y existe, que raro.. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
compilar archivos C
Patricio, Faltan los prefijos (_HB_FUN_) de todas las funciones <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Tienes que llamar a fwh/tools/clp2harb.exe menus.c menus2.c y luego compilar menus2.c
compilar archivos C
No quiere nada con migo el menus.c <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> [code:2usabd0o]C&#58;\FWH\SOURCE\WINAPI>\fwh\tools\clp2harb menus&#46;c menus2&#46;c C&#58;\FWH\SOURCE\WINAPI>bcc32 -c -IC&#58;\Borland\BCC55\Include;c&#58;\harbour\include menu s2&#46;c Borland C++ 5&#46;5&#46;1 for Win32 Copyright &#40;c&#41; 1993, 2000 Borland menus2&#46;c&#58; Warning W8070 menus2&#46;c 24&#58; Function should return a value in function HB_FUNC Warning W8057 menus2&#46;c 24&#58; Parameter 'CREATEMENU' is never used in function HB_F UNC Error E2238 menus2&#46;c 33&#58; Multiple declaration for 'HB_FUNC' Error E2344 menus2&#46;c 21&#58; Earlier declaration of 'HB_FUNC' Warning W8070 menus2&#46;c 35&#58; Function should return a value in function HB_FUNC Warning W8057 menus2&#46;c 35&#58; Parameter 'CREATEPOPU' is never used in function HB_F UNC Error E2238 menus2&#46;c 40&#58; Multiple declaration for 'HB_FUNC' Error E2344 menus2&#46;c 31&#58; Earlier declaration of 'HB_FUNC' Warning W8070 menus2&#46;c 43&#58; Function should return a value in function HB_FUNC Warning W8057 menus2&#46;c 43&#58; Parameter 'TRACKPOPUP' is never used in function HB_F UNC Error E2238 menus2&#46;c 52&#58; Multiple declaration for 'HB_FUNC' Error E2344 menus2&#46;c 39&#58; Earlier declaration of 'HB_FUNC' Warning W8070 menus2&#46;c 54&#58; Function should return a value in function HB_FUNC Warning W8057 menus2&#46;c 54&#58; Parameter 'ENABLEMENU' is never used in function HB_F[/code:2usabd0o]
compilar archivos C
Patricio, Has modificado los includes que lleva menus.c al principio ?
compilar archivos C
Antonio, para nada, es primera vez que le hecho una mirada al la carpeta winapi, siempre he metido mano a las carpeta clases
compilar archivos C
Patricio, Dinos exactamente que código quieres incluir en menus.c y lo compilamos aqui y te enviamos el OBJ
compilar archivos C
Gracias antonio por tu interes en ayudarme pero he solucionado el problema resulta que en c:\fwh\source\winapi\menus.c tiene estos include [code:1upl0zk0]#include <WinTen&#46;h> #include <Windows&#46;h> #include <ClipApi&#46;h> [/code:1upl0zk0] lo he solucionado anteponiendo esto [code:1upl0zk0] #include "hbapi&#46;h" #include <WinTen&#46;h> #include <Windows&#46;h> #include <ClipApi&#46;h>[/code:1upl0zk0] a lo mejor era obvio colocarlo este include, pero como sabes estoy iniciandome en esto de C muchas gracias por la ayuda... pd. siempre se aprende algo nuevo <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
compilar classe Crystal32
Antonio, Recibe un cordial saludo, La clase CLASS Crystal32, compila y funciona con xharbour 0.82 y FW24, cuando la compilo con la nueva version de FW 9.12 y Xharbour 1.2.1, compila, pero la clase no funciona. Es decir no corre. ¿Alguna pista?
compilar codigo C
Estimados estoy implementando actualizacion automatica del sistema y encontre el block de xBielSys y hay un codigo en C que quiero saber como compilarlo web [url:2q9nxwqa]http&#58;//bielsys&#46;blogspot&#46;com/2009_04_01_archive&#46;html[/url:2q9nxwqa] [b:2q9nxwqa]codigo PRG [/b:2q9nxwqa] [code=fw:2q9nxwqa]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*<br />   Actualización de aplicaciones<br />   (c) 2008 Biel Maimo <!-- e --><a href="mailto:bmaimo@gmail.com">bmaimo@gmail.com</a><!-- e --> - bielsys.blogspot.com<br />  */</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.Ch"</span><br /><br /><span style="color: #00C800;">FUNCTION</span> main<span style="color: #000000;">&#40;</span>cFile<span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">//------------------------------</span><br />   <span style="color: #00C800;">LOCAL</span> cFileName<br />   <span style="color: #00C800;">IF</span> cFile!=<span style="color: #00C800;">NIL</span><br />      SysWait<span style="color: #000000;">&#40;</span>.<span style="color: #000000;">7</span><span style="color: #000000;">&#41;</span><br />      FErase<span style="color: #000000;">&#40;</span>cFile<span style="color: #000000;">&#41;</span><br />      cFileName:=cFileName<span style="color: #000000;">&#40;</span>cFile<span style="color: #000000;">&#41;</span><br />      FRename<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'tmp.exe'</span>,cFilename<span style="color: #000000;">&#41;</span><br />      WinExec<span style="color: #000000;">&#40;</span> cFileName <span style="color: #000000;">&#41;</span><br />      PostQuitMessage<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />      QUIT<br />   <span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> RddSys<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>; <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:2q9nxwqa] [b:2q9nxwqa]CODIGO EN C[/b:2q9nxwqa] [code=fw:2q9nxwqa]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"stdio.h"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"windows.h"</span><br /><br />int main<span style="color: #000000;">&#40;</span> int argc, char *argv<span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br /><span style="color: #0000ff;">Sleep</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">700</span><span style="color: #000000;">&#41;</span>;<br />DeleteFile<span style="color: #000000;">&#40;</span> argv<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 />rename<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"tmp.exe"</span>,argv<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 />WinExec<span style="color: #000000;">&#40;</span>argv<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>;<br /><span style="color: #00C800;">return</span> EXIT_SUCCESS;<br /><span style="color: #000000;">&#125;</span></div>[/code:2q9nxwqa] La idea es compilar y eliminar esta instruccion Sleep(700); y colocar esta Msginfo( "Actualizacion realizada con exito" ) como todos sabemos si lo compilo con xharbour el archivo lo deja + de 2mb y en C es de 16kb
compilar codigo C
Patricio, solo tienes que hacer: set path=c:\bcc582\bin bcc32 codigo.c En vez de MsgInfo(), usa: MessageBox( 0, "mensaje", "titulo", MB_ICONINFORMATION );
compilar codigo C
gracias Antonio
compilar com bat
existe algun compiler.bat para pocket ? gracias
compilar com bat
Hola amigo... Yo uso un .bat de la siguiente manera: [code=fw:2uu5l566]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF<br />CLS<br />DEL Compilar.log<br />DEL *.$$$<br /><br />ECHO Compiling...<br /><br />ECHO ********** COMPILO DE PRG A C ************************************************************<br />HARBOUR INICIO     /n /i /p /W %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span>     >COMPILAR.LOG<br />echo ---------------------------------------------------------------------------    >>COMPILAR.LOG<br />HARBOUR PROCE      /n /i /p /W %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span>    >>COMPILAR.LOG<br />echo ---------------------------------------------------------------------------    >>COMPILAR.LOG<br />HARBOUR PRUEBA     /n /i /p /W %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span>    >>COMPILAR.LOG<br />echo ---------------------------------------------------------------------------    >>COMPILAR.LOG<br />echo . >>COMPILAR.LOG<br />echo . >>COMPILAR.LOG<br />ECHO ******************************************************************************************<br /><br />ECHO ********** COMPILO DE C A OBJ ************************************************************<br />CLARM -W3 -c /DARM /DUNICODE /I C:\HARBOUR_ce\include /I..\include INICIO.c      >>COMPILAR.LOG<br />echo --------------------------------------------------------------------------- >>COMPILAR.LOG<br />CLARM -W3 -c /DARM /DUNICODE /I C:\HARBOUR_ce\include /I..\include PROCE.c       >>COMPILAR.LOG<br />echo --------------------------------------------------------------------------- >>COMPILAR.LOG<br />CLARM -W3 -c /DARM /DUNICODE /I C:\HARBOUR_ce\include /I..\include PRUEBA.c      >>COMPILAR.LOG<br />echo --------------------------------------------------------------------------- >>COMPILAR.LOG<br />ECHO ******************************************************************************************<br /><br />COPY *.C C\<br />DEL *.C<br />COPY *.OBJ OBJ\<br />DEL *.OBJ<br />DEL *.PPO<br /><span style="color: #00C800;">PAUSE</span><br /> </div>[/code:2uu5l566] Para compilar así, lo que hago es tener cargadas las siguientes variables de entorno: Variable de usuario: "INCLUDE" [code=fw:2uu5l566]<div class="fw" id="{CB}" style="font-family: monospace;">C:\HARBOUR_CE\INCLUDE;C:\FWPPC\INCLUDE;C:\BCC55\INCLUDE;C:\VCE\INCLUDE</div>[/code:2uu5l566] Agregar a la variable de sistema: "PATH" [code=fw:2uu5l566]<div class="fw" id="{CB}" style="font-family: monospace;">C:\HARBOUR_CE\BIN;C:\BCC55\BIN;C:\BCC55\INCLUDE;C:\VCE\LIB\ARM;C:\VCE\BIN</div>[/code:2uu5l566] Obviamente los directorios deben estar donde dicen las variables de entorno. Espero te sirva. Saludos, Esteban.
compilar com bat
Gracias perfect !
compilar com bat
Lailton, FWPPC\samples\buildce.bat
compilar com bat
Gracias Antonio, Esstoy inciando <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
compilar con buildh el sample tutor01
Hola buenas a todos, Estoy compilando el ejemplo del Tutor01 de harbour y me da este error...A alquien se le ocurre alguna idea para conseguir compilar??C:\HARBOUR\SAMPLES>c:\borland\bcc55\bin\ilink32 -aa -Tpe @b32.bc Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 BorlandError: Unresolved external '_hb_vmMessage' referenced from C:\HARBOUR\LIB\FIVEHC.LIB|FFDLGPRCError: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\HARBOUR\SAMPLES\TUTOR01.OBJGracias de antemano...Un saludo
compilar con buildh el sample tutor01
Roberto,Que version de Harbour y de FWH estás usando ?
compilar con buildh el sample tutor01
Antonio muy buenas,Harbour Compiler Alpha build 44.0 (Flex)Copyright 1999-2004, <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->Este es el harbour que utilizo Antonio. El FWH sólo lo tengo con libs e includes. Son del 2005 estas últimas.Saludos.Gracias
compilar con buildh el sample tutor01
Antonio,Instalé la versión que puedes descargar desde fivetech, la 1.0.1 si no me equivoco, por si esta era antigua y me da un porrón de errores...a ver si doy con elloMe sale esto...(perdón por el mogollón)C:\HARBOUR\TESTS>c:\borland\bcc55\bin\ilink32 -aa -Tpe @b32.bc Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_hb_errInternal' referenced from C:\HARBOUR\LIB\VM.LIB|fm Error: Unresolved external '_hb_errInit' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_conNewLine' referenced from C:\HARBOUR\LIB\VM.LIB|estack Error: Unresolved external '_hb_conOutErr' referenced from C:\HARBOUR\LIB\VM.LIB|estack Error: Unresolved external '_hb_setInitialize' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_conInit' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_strUpper' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_errRT_New' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_errLaunch' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_errRelease' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_errRT_BASE_SubstR' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_errRT_BASE_Subst' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_fsCreate' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_fsWrite' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_set' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_fsError' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_errRT_BASE_Ext1' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_fsOpen' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_strMatchRegExp' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_fsRead' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_fsClose' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_errRT_BASE' referenced from C:\HARBOUR\LIB\VM.LIB|memvars Error: Unresolved external '_hb_langDGetErrorDesc' referenced from C:\HARBOUR\LIB\VM.LIB|arrayshb Error: Unresolved external '_HB_FUN_ABS' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_ASC' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_AT' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_hb_errNew' referenced from C:\HARBOUR\LIB\RDD.LIB|dbcmd Error: Unresolved external '_hb_errPutGenCode' referenced from C:\HARBOUR\LIB\RDD.LIB|dbcmd Error: Unresolved external '_hb_errPutDescription' referenced from C:\HARBOUR\LIB\RDD.LIB|dbcmd Error: Unresolved external '_hb_random_num' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_fsCommit' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_cdpnTranslate' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_spCreate' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_errRT_DBCMD' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_cdpFind' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_cdp_page' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_spFile' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_spOpen' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_errPutOsCode' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_fsCreateTemp' referenced from C:\HARBOUR\LIB\RDD.LIB|hbdbsort Error: Unresolved external '_hb_fsDelete' referenced from C:\HARBOUR\LIB\RDD.LIB|hbdbsort Error: Unresolved external '_hb_fsSeek' referenced from C:\HARBOUR\LIB\RDD.LIB|hbdbsort Error: Unresolved external '_hb_fsLock' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_errPutSubCode' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_errPutFileName' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_errPutFlags' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_dateToday' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_fsSeekLarge' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_fsFile' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1 Error: Unresolved external '_hb_cdpcmp' referenced from C:\HARBOUR\LIB\DBFNTX.LIB|dbfntx1 Error: Unresolved external '_hb_fsReadLarge' referenced from C:\HARBOUR\LIB\DBFNTX.LIB|dbfntx1 Error: Unresolved external '_hb_errorHandler' referenced from C:\HARBOUR\LIB\VM.LIB|macro Error: Unresolved external '_hb_errGetGenCode' referenced from C:\HARBOUR\LIB\VM.LIB|macro Error: Unresolved external '_hb_fsWriteLarge' referenced from C:\HARBOUR\LIB\DBFDBT.LIB|dbfdbt1 Error: Unresolved external '_hb_strLTrim' referenced from C:\HARBOUR\LIB\RDD.LIB|workarea Error: Unresolved external '_hb_strRTrimLen' referenced from C:\HARBOUR\LIB\RDD.LIB|workarea Error: Unresolved external '_hb_errPutSeverity' referenced from C:\HARBOUR\LIB\RDD.LIB|workarea Error: Unresolved external '_hb_errPutSubSystem' referenced from C:\HARBOUR\LIB\RDD.LIB|workarea Error: Unresolved external '_HB_FUN_CDOW' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_CHR' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_CMONTH' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_COL' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_CTOD' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_DATE' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_DAY' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_DEVPOS' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_DOW' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_DTOC' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_DTOS' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_EMPTY' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_EXP' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_INKEY' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_INT' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_LEFT' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_LEN' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_LOG' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_LOWER' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_LTRIM' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_MAX' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_MIN' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_MONTH' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_PCOL' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_PROW' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_REPLICATE' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_ROUND' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_ROW' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_RTRIM' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_SECONDS' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_SETPOS' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_SETPOSBS' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_SPACE' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_SQRT' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_STR' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_SUBSTR' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_TIME' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_TRANSFORM' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_TRIM' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_TYPE' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_UPPER' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_VAL' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_WORD' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_HB_FUN_YEAR' referenced from C:\HARBOUR\LIB\VM.LIB|initsymb Error: Unresolved external '_hb_langSelectID' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_strnicmp' referenced from C:\HARBOUR\LIB\VM.LIB|cmdarg Error: Unresolved external '_hb_inkeySetCancelKeys' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_idleShutDown' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_errExit' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_conRelease' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_setRelease' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_hb_cdpReleaseAll' referenced from C:\HARBOUR\LIB\VM.LIB|hvm Error: Unresolved external '_HB_FUN_ERRORBLOCK' referenced from C:\HARBOUR\LIB\FIVEH.LIB|ERRSYSW Error: Unresolved external '_hb_dateFormat' referenced from C:\HARBOUR\LIB\FIVEHC.LIB|MSGS Error: Unresolved external '_HB_FUN_CURDRIVE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_CURDIR' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_RAT' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_RIGHT' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_ALLTRIM' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_FILE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_STRZERO' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_STRTRAN' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_DIRECTORY' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_VALTYPE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|VALBLANK Error: Unresolved external '_HB_FUN_HBCLASS' referenced from C:\HARBOUR\LIB\FIVEH.LIB|WINDOW Error: Unresolved external '_HB_FUN_ERRORNEW' referenced from C:\HARBOUR\LIB\FIVEH.LIB|HARBOUR Error: Unresolved external '_HB_FUN_MEMOWRIT' referenced from C:\HARBOUR\LIB\FIVEH.LIB|WINDOW Error: Unresolved external '_HB_FUN_I2BIN' referenced from C:\HARBOUR\LIB\FIVEH.LIB|MENUITEM Error: Unresolved external '_HB_FUN_BIN2I' referenced from C:\HARBOUR\LIB\FIVEH.LIB|MENUITEM Error: Unresolved external '_HB_FUN_L2BIN' referenced from C:\HARBOUR\LIB\FIVEH.LIB|MDICLIEN Error: Unresolved external '_HB_FUN_BIN2L' referenced from C:\HARBOUR\LIB\FIVEH.LIB|STATUSBA Error: Unresolved external '_HB_FUN_SET' referenced from C:\HARBOUR\LIB\FIVEH.LIB|DIALOG Error: Unresolved external '_HB_FUN_MLCOUNT' referenced from C:\HARBOUR\LIB\FIVEH.LIB|ALERT Error: Unresolved external '_HB_FUN_MEMOLINE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|ALERT Error: Unresolved external '_HB_FUN_GET' referenced from C:\HARBOUR\LIB\FIVEH.LIB|TCLIPGET Error: Unresolved external '_HB_FUN_PAD' referenced from C:\HARBOUR\LIB\FIVEH.LIB|TGET Error: Unresolved external '_HB_FUN_SETKEY' referenced from C:\HARBOUR\LIB\FIVEH.LIB|TGET Error: Unresolved external '_HB_FUN_PADC' referenced from C:\HARBOUR\LIB\FIVEH.LIB|XPAD Error: Unresolved external '_HB_FUN_GETENV' referenced from C:\HARBOUR\LIB\FIVEH.LIB|PRINTER Error: Unresolved external '_HB_FUN_FERASE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|PRINTER Error: Unresolved external '_HB_FUN_PADL' referenced from C:\HARBOUR\LIB\FIVEH.LIB|PRINTER Error: Unresolved external '_HB_FUN_MEMOREAD' referenced from C:\HARBOUR\LIB\FIVEH.LIB|WINDOW Error: Unresolved external '_HB_FUN_FCLOSE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_FCREATE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_FOPEN' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_FSEEK' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_FWRITE' referenced from C:\HARBOUR\LIB\FIVEH.LIB|FILENAME Error: Unresolved external '_HB_FUN_VERSION' referenced from C:\HARBOUR\LIB\FIVEH.LIB|ERRSYSW Error: Unresolved external '_HB_FUN_PADR' referenced from C:\HARBOUR\LIB\FIVEH.LIB|ERRSYSW Error: Unresolved external '_HB_FUN_WILDMATCH' referenced from C:\HARBOUR\LIB\RDD.LIB|rddord Error: Unresolved external '_HB_FUN___XHELP' referenced from C:\HARBOUR\LIB\VM.LIB|harbinit Error: Unresolved external '_hb_dateEncStr' referenced from C:\HARBOUR\LIB\VM.LIB|itemapi Error: Unresolved external '_hb_dateEncode' referenced from C:\HARBOUR\LIB\VM.LIB|itemapi Error: Unresolved external '_hb_dateDecStr' referenced from C:\HARBOUR\LIB\VM.LIB|itemapi Error: Unresolved external '_hb_langRegister' referenced from C:\HARBOUR\LIB\LANG.LIB|msgen Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\HARBOUR\TESTS\TUTOR01.OBJ muchas graciasUn saludo
compilar con buildh el sample tutor01
Roberto,No puedes usar versiones distintas de Harbour y FWH. Cada version de FWH requiere de un build de Harbour/xHarbour determinado.Desde <!-- w --><a class="postlink" href="http://www.fivetechsoft.com">www.fivetechsoft.com</a><!-- w --> puedes comprar la versión más reciente de FWH.
compilar con bc55
Utilizo la version de fwh 15.05, con xharbour, es posible compilar con borland bcc55?
compilar con bc55
Lo idóneo es que uses la versión 5.82 en vez de la 5.5 Pero es posible que con la 5.5 también te funcione La versión actual de FWH usa la versión 7.0
compilar con harbour
Hola a todos... Se que no es el foro para harbour, pero es solo una pequeña interrogante... por favor Tengo un sistema hecho en clip53 modo consola 16 bits... Quiero pasarla a 32 bits. Tengo el xharbour, el Borland BCC no recuerdo la version, pero es actual, ambas son bajadas gratuitamante. Quiero compilar como lo hacia con el rmake, se que existe un hbmake en harbour, pero no lo se usar... algun ejemplo por favor .... Salu2
compilar con harbour
Francis, De momento puedes seguir usando el rmake, solo tienes que cambiar Clipper por Harbour, y a continuación llamar al bcc32.exe de Borland para generar el archivo OBJ. El hbmake.exe ultimamente no lo han actualizado y puede darte errores. Con FWH distribuimos un makefile para Borland, usando el make de Borland y otro para Microsoft.
compilar con harbour
Hola estoy haciendo unas pruebas con tdolphin y harbour, utilizando xedit3.0 y me da estos errores: Enlazando fivdolph.exe... Error: Unresolved external '_HB_FUN_TOLEAUTO' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR Error: Unresolved external '_HB_FUN_ANSITOWIDE' referenced from C:\FWH\LIB\FIVEH.LIB|TGET Error: Unresolved external '_HB_FUN_GETACTIVEOBJECT' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS Error: Unresolved external '_HB_FUN_STRINGTOLITERAL' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR Error: Unresolved external '_HB_FUN_HB_GT_GUI_DEFAULT' referenced from C:\FWH\LIB\FIVEH.LIB|ERRSYSW Error: Unresolved external '_HB_FUN_HB_DUMPVAR' referenced from K:\DOLPHIN\HARBOUR\BCC\DOLPHIN.LIB|tdolpqry Error: Unresolved external '_HB_FUN_HSETCASEMATCH' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE Error: Unresolved external '_HB_FUN_HSET' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE Error: Unresolved external '_HB_FUN_HEVAL' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE Error: Unresolved external '_HB_FUN_TTOS' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE Error: Unresolved external '_HB_FUN_STOT' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE Error: Unresolved external '_HB_FUN_CTOT' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE Error: Unresolved external '_HB_FUN_HB_DECODE' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE 0 Files, 0 Warnings, 14 Errors Tiempo de compilación: 0.00s Tiempo de enlazado: 0.43s Tiempo total: 0.45s 1 Files, 0 Warnings, 11 Errors Tiempo de compilación: 0.89s Tiempo de enlazado: 0.39s Tiempo total: 1.28s El programa es testdol.prg de samples, seguramente falta enlazar alguna librería. Luis