messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2009-07-29", "forum": "FiveWin para Harbour/xHarbour", "text": "¿Cuantas bases de datos tienes abiertas a la vez?\n\nSi solo abres una a cada vez, puedes tener tantas como te quepan en el disco. Para mi gusto no es mala estrategia distribuir todos los registros entre muchas bases de datos. Así sólo se abre la que se va a utilizar en ese momento y los demás registros se mantienen a salvo en sus bases cerradas. La teoría informática recomienda abrir una base de datos sólo cuando se va a utilizar. La dificultad podría estar en saber que bases de datos tienes que abrir en cada momento.\n\nTambién depende de cuantos registros componen cada base de datos. En teoría FWH puede administrar millones de registros sin el mayor problema.\n\nPor otra parte, cada programador tiene sus propios gustos y preferencias. Muchos preferirán una base de datos por año en lugar de 12. Por capacidad del FWH pienso que no es problema: si cabe en el disco y en la memoria fwh los puede gestionar.", "time": "16:03", "topic": "BBDD en mysql", "username": "antolin" } ]
BBDD en mysql
[ { "date": "2009-07-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigo por que no le agregas a cada tabla de movimiento un campo llamado periodo\ncomo este ejemplo\nPeriodo empresa\n02-2009 xxxxxx\n02-2009 qqqqqq\n03-2009 xxxxxx\n03-2009 qqqqqq\n\nalgo asi\n\nsaludos", "time": "16:03", "topic": "BBDD en mysql", "username": "jbrita" } ]
BBDD en mysql
[ { "date": "2009-07-29", "forum": "FiveWin para Harbour/xHarbour", "text": "amigo, como decian por ahi no mates pulgas a cañonazos\n\nen dbf era valido hacer eso, de hecho yo lo hacia, tenia un directorio por empresa, cada una con sus dbf y en clipper direccionabas a tal o cual directorios, ahora bien en SQL, solo creas una sola base de datos (para todas las dbf de todos los directorios, en tu caso todos los meses, etc) , osea pones en una tabla, todos los sueldo de todo el mundo, de todos los meses, que si en clipper te pareceria lento y gigantesco en sql sera muy rapido, recuerda que el sql es sumamente poderoso y con un select * from sueldos y le pones la condicion sera instantaneo, osea no pretendas trabajar en sql con metodologia clipper, seria algo tan tonto como abrir una tabla sql y recorrerla registro por registro e ir comparando, etc,etc, dbf es dbf y sql es sql\n\nalejandro", "time": "16:59", "topic": "BBDD en mysql", "username": "QAZWSX2K" } ]
BBDD en mysql
[ { "date": "2009-07-29", "forum": "FiveWin para Harbour/xHarbour", "text": "recordemos que en ambiente dbf es valido referirse a base de datos a un simple dbf, pero en sql, access, etc, base de datos es un conjunto de tablas, un dbf es una tabla, ahora bien como te dije creas una base de datos para todo tu sistema y creas una tabla sueldos, con un registro por ej empresa, mes, ano, empleado, sueldo\ncon una primary key empresa, supongamos son 12 meses, 300 ermpresas, 100 empleados cada uno, cobran semanal, bla bla serian unos 360mil registros por año que para sql es un chiste, ademas es un registro pequeño en bytes por lo que ocuparpoco espacio, luego harias una consulta select * from sueldos where empresa=\"xx\" etc etc, sera instantaneo y trabajas con el query resultante\n\nes una pesima estrategia decir que vas a crear 3600 bases de datos o 3600 tablas dentro de la base de datos, en fin, un administrador de SQL no te dejaria ni tocar el servidor antes de asesinarte, jajaja", "time": "17:13", "topic": "BBDD en mysql", "username": "QAZWSX2K" } ]
BBDD en mysql
[ { "date": "2010-03-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi all, \nno problem at all, FWH works great, just a curiosity:\nI am seeing on the xharbour.org website that 2 xharbour binaries are available now, \nthe 1st for BCC 5.5.1 and the 2nd for BCC 5.8.\n\nI always used BCC 5.5.1 but I would like to know if there are advantage to use the more recent 5.8 version.\n\nAny related experience appreciated.", "time": "12:03", "topic": "BCC 5.5.1 vs 5.8", "username": "Marco Turco" } ]
BCC 5.5.1 vs 5.8
[ { "date": "2010-03-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nAparently the advantage is the existence of some header files that are not available in bcc55, but besides that we have not noticed a sensible difference, though obviously there might be internal changes <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "13:25", "topic": "BCC 5.5.1 vs 5.8", "username": "Antonio Linares" } ]
BCC 5.5.1 vs 5.8
[ { "date": "2010-03-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nthe release are on xharbour and yours in this website ( December 2009) [b:3prb8x9c]is pretty o[/b:3prb8x9c]ldest from the sourcecodes new release\n\nthere are important modifies make from Ron Pinkas at 17.12.2009\n\nread this topic please <!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18311\">viewtopic.php?f=3&t=18311</a><!-- l -->\n\nI try with xharbour.exe of Xharbour.COM ( free relase) and the parameter /j namefile.hil run ok", "time": "14:20", "topic": "BCC 5.5.1 vs 5.8", "username": "Silvio" } ]
BCC 5.5.1 vs 5.8
[ { "date": "2010-03-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nxHarbour 1.2.1 is the official published xHarbour version from its SourceForge repository:\n[url:1yelakii]http&#58;//sourceforge&#46;net/projects/xharbour/files/[/url:1yelakii]\n\nSurely there are many changes after it, but it is up to the xHarbour dev team to publish new builds and make them available as official builds.\n\nxharbour.com is not Borland compatible, and it is not free, afaik", "time": "17:21", "topic": "BCC 5.5.1 vs 5.8", "username": "Antonio Linares" } ]
BCC 5.5.1 vs 5.8
[ { "date": "2010-03-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio ,\ndo you read your private email ?\nI explained to you the problem and the file RonPinkas modified", "time": "19:03", "topic": "BCC 5.5.1 vs 5.8", "username": "Silvio" } ]
BCC 5.5.1 vs 5.8
[ { "date": "2010-03-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Antonio,\nWhy not you try ?\n\ntry to create namefile.hil with your xharbour.exe\n\nit create it but not insert all variables\n\ntry with this file test.prg\n\n[code=fw:3bnwn4q5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">static</span> oWnd<br /><span style=\"color: #00C800;\">Function</span> test<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">title</span> i18n<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"test language\"</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">MENU</span> BuildMenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWndMain<br />retur <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">Function</span> BuildMenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />  <span style=\"color: #00C800;\">local</span> oMenu<br />   <span style=\"color: #0000ff;\">MENU</span> oMenu    <span style=\"color: #000000;\">2007</span><br />      <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Archivo\"</span><br />         <span style=\"color: #0000ff;\">MENU</span><br />            <span style=\"color: #0000ff;\">MENUITEM</span> i18n<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Especificar impresora\"</span> <span style=\"color: #000000;\">&#41;</span> ;<br />               <span style=\"color: #0000ff;\">ACTION</span> PrinterSetup<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />               <span style=\"color: #0000ff;\">MESSAGE</span> i18n<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\" Establecer la Configuración de su impresora. \"</span> <span style=\"color: #000000;\">&#41;</span><br />            <span style=\"color: #0000ff;\">SEPARATOR</span><br />            <span style=\"color: #0000ff;\">MENUITEM</span> i18n<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Salir\"</span> <span style=\"color: #000000;\">&#41;</span> ;<br />               <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;<br />               <span style=\"color: #0000ff;\">MESSAGE</span> i18n<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\" Terminar la ejecución del programa. \"</span> <span style=\"color: #000000;\">&#41;</span><br />         <span style=\"color: #0000ff;\">ENDMENU</span><br />   <span style=\"color: #0000ff;\">ENDMENU</span><br /><span style=\"color: #00C800;\">RETURN</span> oMenu</div>[/code:3bnwn4q5]\n\n\n\n\nwith your xharbour.exe it create a file sample /jitalian.hil\nthis :\n\n\u0003HIL The xharbour group ˜mD pþ\u0012 \b `þ\u0012 \n American English \u0001 „þ\u0012 \u0014ú\u0012 4 àù\u0012 Ù]D Ü( (American English  (ú\u0012 M ¨%F (ú\u0012 M \u0010ú\u0012 “pDen_US YI ÿÿÿÿ\n\n\nand not insert all variables \n\n\nwhy you not try ????\n\n\ninstead with the release modified \nit create this :\n\n\u0003HIL The xharbour group ˜mD pþ\u0012 \b `þ\u0012 \n American English \u0001 „þ\u0012 \u0014ú\u0012 4 àù\u0012 Ù]D Ü( (American English  (ú\u0012 M ¨%F (ú\u0012 M \u0010ú\u0012 “pDen_US YI ÿÿÿÿ 10Fsdi 2006 0 13Acerca de... 0 37Visitar la web de alanit en internet 0 22Especificar impresora 0 47 Establecer la Configuración de su impresora. 0 6Salir 0 38 Terminar la ejecución del programa. 0 38Gestión de del fichero de documentos. 0 22Gestión de documentos 0 38Gestión de del fichero de documentos. 0 22Gestión de documentos 0 31Finalizar el uso del programa. 0 19Salir del programa 0 113No puede salir del programa hasta que no cierre las ventanas abiertas sobre el mantenimiento que está manejando. 0 30¿Desea finalizar el programa? 0 20Gestión de clientes 0 6First 0 5Last 0 7Street 0 5City 0\n\n\n\n\nreturn nil", "time": "19:14", "topic": "BCC 5.5.1 vs 5.8", "username": "Silvio" } ]
BCC 5.5.1 vs 5.8
[ { "date": "2008-06-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nIs someone using this new version of Borland C++. What is your experience about this?.\r\n\r\nI tried with fivewin samples, such as xbrowse, and there is an important increase on speed.\r\n\r\nBest regads,", "time": "19:28", "topic": "BCC 5.8.3", "username": "MOISES" } ]
BCC 5.8.3
[ { "date": "2008-06-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Moises,\r\n\r\nBcc 5.83 has not been officially made available from Borland. Its just included in a demo version of a product.\r\n\r\nIts impossible that you notice a sensible speed increase, as Windows and Harbour impose the speed limit, never the C compiler. Its only in your imagination <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "19:39", "topic": "BCC 5.8.3", "username": "Antonio Linares" } ]
BCC 5.8.3
[ { "date": "2008-06-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio:\r\n\r\nI think it has support for new proccesor extensions, and so it derives to increase of speed.\r\n\r\nBest regards,", "time": "20:01", "topic": "BCC 5.8.3", "username": "MOISES" } ]
BCC 5.8.3
[ { "date": "2008-06-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Moises,\r\n\r\nI asure you that you will not notice any speed difference, because the speed is based on Windows GUI speed and in the Harbour virtual machine execution speed.\r\n\r\nOnly is you use a C compiler that really uses the multiple cores of the processor, then you may notice a little difference.", "time": "20:07", "topic": "BCC 5.8.3", "username": "Antonio Linares" } ]
BCC 5.8.3
[ { "date": "2008-06-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Moises\r\n\r\nI have been using 5.82 ( up until recently ) and there are some compatability problems going from 5.5 to 5.82.\r\n\r\nLike you .. I thought newer, better, updated .. but that is just not so. My experience has been that bcc5.5 is the defacto standard and any of the newer (turbo) C++ versions like 5.82 may not be and in this case not compatable with FWH 8.05 .. Antonio and I have already gone down that road and it was not worth the 'grief'\r\n\r\nJust my 2 cents worth.\r\n\r\nRick Lipkin", "time": "00:01", "topic": "BCC 5.8.3", "username": "Rick Lipkin" } ]
BCC 5.8.3
[ { "date": "2008-06-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick:\r\n\r\nThank your for your reply.\r\n\r\nI am interested in upgrading so as to use new hardware capabilities, as 5.5 is quite old and is not going to be updated. But MS VC 98 is too old too!!.\r\n\r\nThe only problems I experiended was with ANIGIT and Activex. I think Antonio can compile, al least, Activex with new version. I don´t use ANIGIF.\r\n\r\nBut, regarding as compatiblility, I use Can_al five controls and the lib was compiled in 5.5 and I did not experience problems linking with 5.8.3 a lib created with 5.5.\r\n\r\nAlso, I use Fast Report that has some of its code in C. I compiled without problems. Before going further, I was asking for other experiences, as from my side, I did not experience any harm and I was considering to create a version for my beta testers so as to do more tests.\r\n\r\nBest regads,", "time": "16:25", "topic": "BCC 5.8.3", "username": "MOISES" } ]
BCC 5.8.3
[ { "date": "2008-06-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Moises\r\n\r\n/*\r\nThe only problems I experiended was with ANIGIT and Activex. I think Antonio can compile, al least, Activex with new version. I don´t use ANIGIF.\r\n*/\r\n\r\nAntonio ran into the same problem and even when I sent him the compiler the resulting.obj was still not compatable. The only other alternative was to extract 'anigif' from the FWH libs .. \r\n\r\nI decided for future FWH library compatability .. ( i don't want to extract obj's everytime ) .. I would go back to 5.5 .. I told Antonio that the 'juice was not worth the squeeze' on 5.82 and for him to not spend any more time on me to make 5.82 work in my environment.\r\n\r\nRick Lipkin", "time": "18:14", "topic": "BCC 5.8.3", "username": "Rick Lipkin" } ]
BCC 5.8.3
[ { "date": "2008-06-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nI think this issues could be fixed by Antonio, as he is a great programmer <!-- s;) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";)\" title=\"Wink\" /><!-- s;) -->. But they are not urgent, as a new release of FWH is pending with lots of new features.\r\n\r\nThe important point is what are the advantages of updating BCC in terms of speed and more stable version for Vista and future versions.\r\n\r\nBest regads,", "time": "20:50", "topic": "BCC 5.8.3", "username": "MOISES" } ]
BCC 5.8.3
[ { "date": "2008-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Can you provide a link where you can download the update of the BCC\r\n\r\nThank you", "time": "14:53", "topic": "BCC 5.8.3", "username": "Eajunior" } ]
BCC 5.8.3
[ { "date": "2008-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"http://cc.codegear.com/free/cppbuilder\">http://cc.codegear.com/free/cppbuilder</a><!-- m -->\r\n\r\nRegards", "time": "19:38", "topic": "BCC 5.8.3", "username": "MOISES" } ]
BCC 5.8.3
[ { "date": "2008-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "I noticed the last xHarbour cvs uses Bcc58 by default, so wouldn´t it be better that all libs and programs are also compiled with that version ?\r\n\r\nFrom Make_b32.bat:\r\n[code:lfjm8fd9]if \"%BCCDIR%\" == \"\" SET BCCDIR=C&#58;\\BORLAND\\BCC58\n[/code:lfjm8fd9]", "time": "08:26", "topic": "BCC 5.8.3", "username": "StefanHaupt" } ]
BCC 5.8.3
[ { "date": "2008-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Stefan,\r\n\r\nThis is similar to the XP/Vista issue. Microsoft can't impose Vista when most of users are using XP <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\r\n\r\nMost of FWH users are using Borland 5.5. Should we \"force\" all of them to migrate to 5.83 ?", "time": "08:32", "topic": "BCC 5.8.3", "username": "Antonio Linares" } ]
BCC 5.8.3
[ { "date": "2008-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\n[quote=\"Antonio Linares\":3vv99192]\nMost of FWH users are using Borland 5.5. Should we \"force\" all of them to migrate to 5.83 ?[/quote:3vv99192]\r\n\r\nno, nobody should be \"forced\" to use Bcc 5.83, I just was surprised the developers use it by default. \r\n\r\nI think, there must be a reason using 5.83 by default. I don´t know, if it has any advantages or disadvantages, ( I´m still using Bcc55, too <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> ), but it may cause curious errors, if the versions are mixed. May be it´s an option for the future.", "time": "10:26", "topic": "BCC 5.8.3", "username": "StefanHaupt" } ]
BCC 5.8.3
[ { "date": "2008-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "So, Anybody could ask xHarbour developers about this change?.", "time": "11:47", "topic": "BCC 5.8.3", "username": "MOISES" } ]
BCC 5.8.3
[ { "date": "2008-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Simply, the guy who developed the new make system used BCC 5.83.\r\n\r\nEMG", "time": "13:53", "topic": "BCC 5.8.3", "username": "Enrico Maria Giordano" } ]
BCC 5.8.3
[ { "date": "2008-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\r\n\r\nAs a former 5.82 BCC user .. I have ( generally ) found it to be compatable with any ( legacy ) lib's compiled with 5.5 .. However, is it better, faster, safer ... not that I can tell.\r\n\r\nTo extract just the compiler, \\lib,\\include, \\bin folders from Borland\\Codegear .. you have to install the whole IDE which has several 'pre-requisits' .. .net framework sdk, .. about 5 'useless' componants that support the IDE .. \r\n\r\nOnce you get the 'hoss' installed .. you have to just copy out the 3 folders I mentioned and use the command line parameters just like in 5.5 .. and there is a bunch of useless 'trash' in the \\include folder you will never need.\r\n\r\nI make no judgements here .. I have done all of the above and ( personally ) .. I just don't think the 'juice is worth the squeeze'\r\n\r\nRick Lipkin", "time": "14:42", "topic": "BCC 5.8.3", "username": "Rick Lipkin" } ]
BCC 5.8.3
[ { "date": "2008-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nIn my opinion, it is worth triying it. As we move from FW 2.0 or from Windows 95, should be always on 5.5?. \r\n\r\nThe important issue is see what are real changes and advantages of the new version.", "time": "16:46", "topic": "BCC 5.8.3", "username": "MOISES" } ]
BCC 5.8.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola.\n\n¿Hay fecha estimada de cuándo Fivetech usará esta última versión en vez de la 5.8.2?.\n\nMuchas gracias.", "time": "13:00", "topic": "BCC 6.3", "username": "lucasdebeltran" } ]
BCC 6.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Lucas,\n\n¿ Y porque la quieres usar ? <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "13:34", "topic": "BCC 6.3", "username": "Carles" } ]
BCC 6.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Lucas\n\nHas intentado usar bcc 6.3?\nTe genera algun error?\nQue version estas usando de fivewin?", "time": "14:06", "topic": "BCC 6.3", "username": "Daniel Garcia-Gil" } ]
BCC 6.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Yo la uso sin absolutamente ningun problema...", "time": "15:49", "topic": "BCC 6.3", "username": "Bayron" } ]
BCC 6.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Carles.\n\nHombre, tendrá mejoras. Si no, nos hubiéramos quedado en Harbour 0.99 y BCC 5.5 <!-- s;) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";)\" title=\"Wink\" /><!-- s;) -->.\n\nPara usarse FWH y Harbour deben estar compilados con dicha versión si no me equivoco.\n\nEs estupendo que haya continuidad para este compilador, porque según indica Tim tiene problemas con MSVC.\n\nMuchas gracias.", "time": "16:12", "topic": "BCC 6.3", "username": "lucasdebeltran" } ]
BCC 6.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "yo la uso desde hace mucho tiempo sin problemas, creo que habia un problema que se corrigio realizando un comentario a una linea, esta es la anotacion que tengo del caso, pero no me acuerdo donde se aplica.\n[quote:1ce8vy8a]\nAs a note, to pacify warnings, you have to modify a line refers to definition of \"UNREFERENCED_PARAMETER\" to \"(void)\" in WINNT.H as follows:\n\nCode: Select all Expand view\n #if ! defined(lint)\n #define UNREFERENCED_PARAMETER(P) (void)(P)\n // #define UNREFERENCED_PARAMETER(P) (P) \n[/quote:1ce8vy8a]\n\ntambien, si tu no construyes desde el svn los binarios de xharbour, puedes usar los binarios para el 5.82 pero creo que da falla la libreria hbzip, es la unica.\n\nsalu2", "time": "16:16", "topic": "BCC 6.3", "username": "carlos vargas" } ]
BCC 6.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Recordad que la versión 6.3 es de pago <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \nY no la venden suelta si no que viene incluida en el C Builder!!! <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: -->", "time": "21:13", "topic": "BCC 6.3", "username": "xmanuel" } ]
BCC 6.3
[ { "date": "2011-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "sip, es cierto, la unica gratuita es la 5.5 (antiquisimo)\nni la version 5.82 menos la 6.3 son gratuitas, es mas son parte integral de c++buildex de codegear y embarcadero.\nlo que se ha hecho es rebuscar entre el producto y lograr sacar el compilador c.\n\nlo mejor es pasarse al mingw, Antonio, ya de una vez por todas no deberiamos pasar al lado oscuro, \nno que no somos ni chicha ni limonada, estamos entres las sombras.", "time": "21:44", "topic": "BCC 6.3", "username": "carlos vargas" } ]
BCC 6.3
[ { "date": "2011-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\n\nEsa es una decision que debe estar respaldada por una gran mayoria de usuarios de FWH y asi no generar una division drastica\n\nSi decimos cambiar y muy pocos se cambian, habremos conseguido el efecto contrario...", "time": "08:30", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, se me ocurre que en algún momento el cambio será inevitable. Si todas las versiones posteriores a Borland 5.5 son de pago, nos quedaremos en esta versión que es muy antigua. He bajado Harbour 3.0 y Mingw es su compilador y funciona muy bien. Me parece que tendrías que concientizar a tus usuarios la conveniencia de este cambio. Por supuesto esto es solo una sugerencia. \nSaludos", "time": "13:15", "topic": "BCC 6.3", "username": "horacio" } ]
BCC 6.3
[ { "date": "2011-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola.\n\nActualmente se está usando la 5.8.2. Su uso no requiere ningún crack ni nada, por lo que no se está haciendo nada ilegal.\n\nLo lògico sería usar la versión siguiente a la 5.8.2 o un compilador que sea superior. No se si Minigw lo es o, por el contrario, todavía le queda para madurar.", "time": "13:54", "topic": "BCC 6.3", "username": "lucasdebeltran" } ]
BCC 6.3
[ { "date": "2011-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "lucas, el hecho de estarlo usando para un uso que no es el c++builder y que no todos tenemos el c++ builder ya nos hace caer.\nlo del mingw creo es la mejor opcion y ya hace tiempo cuando se sacaron libs de fwh para este compilador se debio hacer el cambio.", "time": "18:00", "topic": "BCC 6.3", "username": "carlos vargas" } ]
BCC 6.3
[ { "date": "2011-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "No entiendo mucho de eso y menos si no mencionan que ventajas tiene el hecho de hacer el cambio.\n\nDe que nos estamos perdiendo?\n\nVale realmente la pena?", "time": "08:51", "topic": "BCC 6.3", "username": "RodolfoRBG" } ]
BCC 6.3
[ { "date": "2011-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\n\nYo creo que es mucho más sencillo actualizar BCC que sustituirlo por otro compilador.\n\nAdemás, Antonio hace tiempo hizo las librerías paras Minigw y nadie lo usó, mientras que los usuarios valoraron muy positivamente el cambio de BCC 5.5.2 a 5.8.2 y, además, no se reportaron errores.", "time": "09:39", "topic": "BCC 6.3", "username": "lucasdebeltran" } ]
BCC 6.3
[ { "date": "2011-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "sip, ademas creo que las libs que antonio creo para mingw le faltaba soporte para activex y richedit\ny nadie les hizo caso, si acaso the full algunos mas. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nen cuanto a funcionalidad no creo que halla diferencia entre usar un compilador c u otro, \nyo he hecho pruebas con el bcc y el xcc (pelles c) y no hay diferencias aprobeciables tanto en compilancion \ncomo en ejecucion del exe.\n\npor el momento uso el 6.3 sin inconveniente <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nsalu2\ncarlos vargas", "time": "17:55", "topic": "BCC 6.3", "username": "carlos vargas" } ]
BCC 6.3
[ { "date": "2011-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Sin duda alguna yo apostaría por MinGW, lo tenemos para 32 y 64 bit cosa que BCC no tendrá por desgracia nunca!!!", "time": "23:22", "topic": "BCC 6.3", "username": "xmanuel" } ]
BCC 6.3
[ { "date": "2011-08-29", "forum": "FiveWin para Harbour/xHarbour", "text": "MinGW no parecia una solución atractiva unos pocos años.\nSin embargo, el compilador \"oficial\" (¿o debería decir preferente) de Harbour se convirtió en el MinGW y por lo tanto creemos que el mismo vnha ganando impulso.\nYo personalmente empecé a utilizar la consola MinGW en mi sistema y me gustaría ir también a su uso en aplicaciones de FW.", "time": "14:14", "topic": "BCC 6.3", "username": "concentra" } ]
BCC 6.3
[ { "date": "2011-08-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Porque no usar PellesC?\n[url:uir31rls]http&#58;//www&#46;smorgasbordet&#46;com/pellesc[/url:uir31rls]\n\nTengo entendido es el compilador usado por xHarbour.\n\nSaludos,\n\nGeorge", "time": "17:04", "topic": "BCC 6.3", "username": "George" } ]
BCC 6.3
[ { "date": "2011-08-30", "forum": "FiveWin para Harbour/xHarbour", "text": "PellesC...\nBueno está bien, pero es un proyecto libre pero cerrado (sólo tiene el código una persona) basado en LCC...\nYo sigo pensando que el mejor es MinGW (GCC) que está disponible en todos los entornos <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "17:31", "topic": "BCC 6.3", "username": "xmanuel" } ]
BCC 6.3
[ { "date": "2011-08-30", "forum": "FiveWin para Harbour/xHarbour", "text": "xmanuel,\nCreo tienes razon en este caso, si PellesC depende de una sola persona, usar MinGW seria lo mas logico.\n\nGeorge", "time": "18:28", "topic": "BCC 6.3", "username": "George" } ]
BCC 6.3
[ { "date": "2011-08-31", "forum": "FiveWin para Harbour/xHarbour", "text": "George,\n\nPelles C y MinGW no se actualizan demasiado.\n\nBCC está muy consolidado. Y como dice Andy [quote:2u4vy3ld]Latest info, it seems that BCC 6.3 which comes bundled with Embarcadero RAD Studio XE brings some improvement to the compiler. Inappropriate codes which compilable with the lower version and even compilable with MSVS 10, are now rejected by BCC 6.3.[/quote:2u4vy3ld]\n\nQuizás, a corto plazo se podría pasar desde BCC 5.8.2 a 6.x y luego mirar MinGW.\n\nPorque el cambio a MinGW no es tan sencillo. Hay cosas que no funcionan y habría que depurar todos los módulos en .C de FWH. Vamos, que no es broma. Teniendo en cuenta que las actualizaciones de Harbour dan problemas, no quiero ni pensar lo que pasaría con MinGW.", "time": "11:13", "topic": "BCC 6.3", "username": "lucasdebeltran" } ]
BCC 6.3
[ { "date": "2011-08-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Lucas,\n\nAcabamos de publicar una versión revisada de FWH 11.08 que funciona correctamente con MinGW <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPracticamente todo va bien, a excepción de FreeImage.dll que aún no tenemos la versión en 64 bits preparada.", "time": "11:52", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-09-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio,\n\n¿Está disponible esa versión en el FTDN?\nAcá en la oficina estamos usando BCC 5.8.2, y está en los planes cambiar de compilador C. Queremos recompilar todas las aplicaciones con la última versión de FW y Harbour, y es un buen momento para replantearnos el entorno de desarrollo, incluído el compilador C.\n¿Como ves pasarnos a MinGW? \n\nUn saludo", "time": "10:23", "topic": "BCC 6.3", "username": "Carlos Mora" } ]
BCC 6.3
[ { "date": "2011-09-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\n\nNosotros seguimos usando el 5.82 de momento. Desde donde se puede descargar el 6.3 ?\n\nEn cuanto al MinGW el problema es que no hay casi usuarios de FWH y Harbour y MinGW, lo que haría que quien lo use este bastante \"solo\"... El más popular sigue siendo Borland.\n\nFWH 11.08 tambien funciona perfectamente con Microsoft Visual C++ 2010 express (gratis), el problema es de nuevo que casi nadie lo esta usando aqui...", "time": "10:56", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-09-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nno se decirte de donde se puede bajar el 6.3, nosotros no lo usamos <!-- s;) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";)\" title=\"Wink\" /><!-- s;) -->\nNo me preocupa tanto que no haya muchos usuarios, salvo alguna obligación particular jamás usé xHarbour, siempre use Harbour desde el primer día. Y si no hay muchos usuarios de MinGW no hay problema, siempre y cuando podamos tener soporte de FiveTech <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->, que es lo que realmente me preocupa, tener aseguradas las versiones nuevas. \nCoincido con Manu Expósito, tenemos en MinGW un compilador libre, con mucho soporte, actualizado, soportado en el proyecto Harbour. Si pudiésemos usarlo en lugar del vetusto BCC sería fantástico.\nOtra alternativa sería la de VC++, pero la verdad es que me tira más el Software Libre. \n\n¿Como puedo tener la versión de FW compilada con MinGW?", "time": "12:37", "topic": "BCC 6.3", "username": "Carlos Mora" } ]
BCC 6.3
[ { "date": "2011-09-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\n\nEn la versión 11.08 estan incluidas las librerias para MinGW", "time": "13:18", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-09-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Excelente!\n\nEn la versión 11.08 que tenía no estaban incluídas, así es que las bajamos de nuevo.\nGracias!", "time": "13:32", "topic": "BCC 6.3", "username": "Carlos Mora" } ]
BCC 6.3
[ { "date": "2011-09-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Se publicó una versión revisada y se incluyeron, de todas formas si las pruebas y necesitas algo, me avisas y te las reenviamos <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "13:34", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio,\n\nDe la página harbour-project.org se puede obtener Harbour 3.0, y tambien se puede generar a partir del SVN, pero no sé si meterme con el tag 3.0 o directamente con el TRUNK.\n\nYa había montado lo del SVN con el 2.1 para poder recompilarlo, y de hecho es el que estoy usando.\n\nque Harbour me recomiendas para trabajar con MInGW?", "time": "08:31", "topic": "BCC 6.3", "username": "Carlos Mora" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas nuevas!\n\nBajé el 3.0 de Harbour project, que trae soporte para varios compiladores. Ajusté los paths del buildg.bat del directorio samples, y ya compila los ejemplos básicos.\n\nAl untentar compilar xbalpha.prg me dá los siguientes errores:\n\n[code=fw:30fy6kz6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />??????????????????????????????????????????????????????????????????????????????<br />? FiveWin <span style=\"color: #00C800;\">for</span> Harbour <span style=\"color: #000000;\">11.08</span> and GCC - Aug. <span style=\"color: #000000;\">2011</span>   Harbour development <span style=\"color: #0000ff;\">power</span>  ??<br />? <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2011</span>    <span style=\"color: #00C800;\">for</span> Microsoft Windows  9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span> ??<br />???????????????????????????????????????????????????????????????????????????????<br />  ?????????????????????????????????????????????????????????????????????????????<br />Compiling...<br />Harbour <span style=\"color: #000000;\">3.0</span><span style=\"color: #000000;\">.0</span> <span style=\"color: #000000;\">&#40;</span>Rev. <span style=\"color: #000000;\">16951</span><span style=\"color: #000000;\">&#41;</span><br />Copyright <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2011</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />Compiling <span style=\"color: #ff0000;\">'xbalpha.prg'</span> and generating preprocessed output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'xbalpha.ppo'</span>...<br />Lines <span style=\"color: #000000;\">4100</span>, Functions/Procedures <span style=\"color: #000000;\">2</span><br />Generating C source output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'xbalpha.c'</span>... Done.<br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x25c8<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_WHEELSCROLL<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(XBROWSE.o):XBROWSE.c:(.data+0x29f8): undefined reference to<br />`HB_FUN_CVALTOSTR'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x2e78<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_NUMPICT<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(XBROWSE.o):XBROWSE.c:(.data+0x3478): undefined reference to<br />`HB_FUN_FW_VALTOEXP'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x3718<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_UCHARTOVAL<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(XBROWSE.o):XBROWSE.c:(.data+0x3be8): undefined reference to<br />`HB_FUN_FWNUMFORMAT'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x4558<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_ISBINARYDATA<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(DATABASE.o):DATABASE.c:(.data+0x888): undefined reference to<br /> `HB_FUN_NUMPICT'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span>RGROUP.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">RGROUP</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x2f8<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span> `HB<br />_FUN_CVALTOSTR<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(RCOLUMN.o):RCOLUMN.c:(.data+0x4d8): undefined reference to `<br />HB_FUN_CVALTOSTR'</span><br />collect2: <span style=\"color: #000000;\">ld</span> returned <span style=\"color: #000000;\">1</span> exit status<br />* Link errors *<br /><br />C:\\FWH-MGW\\samples><br /> </div>[/code:30fy6kz6]\n\nAl menos el error de WheelScroll solia aparecer al enlazar erroneamente una version antigua de FW con las mas nuevas.", "time": "09:18", "topic": "BCC 6.3", "username": "Carlos Mora" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Carlos Mora\":1nfd5ccu]Hola Antonio,\n\nDe la página harbour-project.org se puede obtener Harbour 3.0, y tambien se puede generar a partir del SVN, pero no sé si meterme con el tag 3.0 o directamente con el TRUNK.\n\nYa había montado lo del SVN con el 2.1 para poder recompilarlo, y de hecho es el que estoy usando.\n\nque Harbour me recomiendas para trabajar con MInGW?[/quote:1nfd5ccu]\n\nCarlos,\n\nNosotros siempre usamos el TRUNK porque las betas de Harbour son tan estables, que realmente es muy dificil que pueda existir un error importante, y de aparecer no tarda ni un día en ser arreglado <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:10", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Carlos Mora\":hl2z9w34]Buenas nuevas!\n\nBajé el 3.0 de Harbour project, que trae soporte para varios compiladores. Ajusté los paths del buildg.bat del directorio samples, y ya compila los ejemplos básicos.\n\nAl untentar compilar xbalpha.prg me dá los siguientes errores:\n\n[code=fw:hl2z9w34]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />??????????????????????????????????????????????????????????????????????????????<br />? FiveWin <span style=\"color: #00C800;\">for</span> Harbour <span style=\"color: #000000;\">11.08</span> and GCC - Aug. <span style=\"color: #000000;\">2011</span>   Harbour development <span style=\"color: #0000ff;\">power</span>  ??<br />? <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2011</span>    <span style=\"color: #00C800;\">for</span> Microsoft Windows  9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span> ??<br />???????????????????????????????????????????????????????????????????????????????<br />  ?????????????????????????????????????????????????????????????????????????????<br />Compiling...<br />Harbour <span style=\"color: #000000;\">3.0</span><span style=\"color: #000000;\">.0</span> <span style=\"color: #000000;\">&#40;</span>Rev. <span style=\"color: #000000;\">16951</span><span style=\"color: #000000;\">&#41;</span><br />Copyright <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2011</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />Compiling <span style=\"color: #ff0000;\">'xbalpha.prg'</span> and generating preprocessed output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'xbalpha.ppo'</span>...<br />Lines <span style=\"color: #000000;\">4100</span>, Functions/Procedures <span style=\"color: #000000;\">2</span><br />Generating C source output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'xbalpha.c'</span>... Done.<br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x25c8<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_WHEELSCROLL<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(XBROWSE.o):XBROWSE.c:(.data+0x29f8): undefined reference to<br />`HB_FUN_CVALTOSTR'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x2e78<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_NUMPICT<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(XBROWSE.o):XBROWSE.c:(.data+0x3478): undefined reference to<br />`HB_FUN_FW_VALTOEXP'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x3718<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_UCHARTOVAL<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(XBROWSE.o):XBROWSE.c:(.data+0x3be8): undefined reference to<br />`HB_FUN_FWNUMFORMAT'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">XBROWSE</span>.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">XBROWSE</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x4558<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span><br />`HB_FUN_ISBINARYDATA<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(DATABASE.o):DATABASE.c:(.data+0x888): undefined reference to<br /> `HB_FUN_NUMPICT'</span><br />.\\..\\lib/fivehg.lib<span style=\"color: #000000;\">&#40;</span>RGROUP.o<span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">RGROUP</span>.c:<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span>.<span style=\"color: #00C800;\">data</span>+0x2f8<span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">undefined</span> reference <span style=\"color: #0000ff;\">to</span> `HB<br />_FUN_CVALTOSTR<span style=\"color: #ff0000;\">'<br />.<span style=\"color: #000000;\">\\.</span>.<span style=\"color: #000000;\">\\l</span>ib/fivehg.lib(RCOLUMN.o):RCOLUMN.c:(.data+0x4d8): undefined reference to `<br />HB_FUN_CVALTOSTR'</span><br />collect2: <span style=\"color: #000000;\">ld</span> returned <span style=\"color: #000000;\">1</span> exit status<br />* Link errors *<br /><br />C:\\FWH-MGW\\samples><br /> </div>[/code:hl2z9w34]\n\nAl menos el error de WheelScroll solia aparecer al enlazar erroneamente una version antigua de FW con las mas nuevas.[/quote:hl2z9w34]\n\nCarlos, \n\nAqui funciona bien. Seguramente hayamos realizado cambios con posterioridad a la fecha de las librerías publicadas. Te enviamos las librerias más recientes y buildg.bat por email <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:12", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias! Pruebo e informo.", "time": "10:35", "topic": "BCC 6.3", "username": "Carlos Mora" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Buildg xbalpha compila perfectamente con la versión que me enviaste. Gracias por la deferencia.\nEl browse se comporta bien. Al hacer click en el boton de la segunda columna aparece el dialogo para seleccionar el fichero, selecciono uno y al darle aceptar aparece un msginfo que dice \"FWCallDll() not available yet for MinGW gcc\"\n\nAparentemente es algo previsto, verdad? Que cosas pueden estar limitadas por la falta de FWCallDll()?\n\nPerdona por el tostón <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: -->", "time": "10:50", "topic": "BCC 6.3", "username": "Carlos Mora" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\n\ngracias por recordármelo <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> \n\nLa verdad es que no me acordaba de que esa función estaba pendiente. Esta es la importancia de que una herramienta (como MinGW) sea usada por bastantes usuarios de FWH, que hace que esté muy depurada y que no vayan a aparecer problemas imprevistos.", "time": "15:22", "topic": "BCC 6.3", "username": "Antonio Linares" } ]
BCC 6.3
[ { "date": "2011-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Yo creo que es un tema muy importante, y despues de instalar el nuevo entorno de 64 bits de Delphi/ C++, unas de las cosas es que ya no esta disponibles el compilador en linea, asi\nque adiós y muchas gracias.\n\nSi miramos hacia el futuro cercano, viendo como Harbour el soporte de Mingw es el oficial, y es el gcc de linux de toda la vida, creo aceptado que FWH intente soportarlo.\n\nPuede ayudar esta página en esa adaptación;\n<!-- m --><a class=\"postlink\" href=\"http://www.willus.com/mingw/\">http://www.willus.com/mingw/</a><!-- m -->", "time": "21:25", "topic": "BCC 6.3", "username": "thefull" } ]
BCC 6.3
[ { "date": "2013-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimado equipo de Fivetech,\n\n¿Tenéis previsto ofrecer librerías para BCC 6.6?. COn la 5.82 en ocasiones experimentamos problemas en red local que con la nueva versión 6.6 no se producen.\n\nMuy amables como siempre.", "time": "11:53", "topic": "BCC 6.6", "username": "elvira" } ]
BCC 6.6
[ { "date": "2013-06-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Up+", "time": "09:28", "topic": "BCC 6.6", "username": "elvira" } ]
BCC 6.6
[ { "date": "2013-06-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Si los usuarios de Borland bcc582 solicitan de forma mayoritaria que actualicemos a la version 6.6, asi lo haremos <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPor favor, se agradece que los usuarios de Borland muestren su opinión, gracias", "time": "20:06", "topic": "BCC 6.6", "username": "Antonio Linares" } ]
BCC 6.6
[ { "date": "2013-06-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Elvira que tipo de problemas tienes en RED.\n\nYo utilizo la 5.8.2 en infinidad de ambientes sin problemas, a lo mejor la solucion esta por otro lado.\n\nTengo Dbf's en Samba en un server Linux, y un 2003 server.\nTengo Mysql en Windows 2003 server, Linux.\nTengo Windows 98,XP,7 como clientes.\nEn lan inalambricas, cableadas, por vpn, servidores remotos.\n\nTodas las aplicaciones funcionando sin problemas.\nMandanos tus errores a ver como te ayudamos.\n\nSaludos\nDesde Chile\nAdolfo", "time": "20:43", "topic": "BCC 6.6", "username": "Adolfo" } ]
BCC 6.6
[ { "date": "2013-06-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola..\n\n1. Revise este link ... problemas de win 7 en redes locales = índices corruptos\n <!-- m --><a class=\"postlink\" href=\"http://www.alaska-software.com/fixes/smb2/overview.shtm\">http://www.alaska-software.com/fixes/smb2/overview.shtm</a><!-- m -->\n\n2. Registro repetidos... control por software : ...tabla con atributo del consecutivo... bloqueo de la tabla...incremento del consecutivo.... grabar transacción ... verificar....desbloquear tabla...sino reversar... Conclusión nada que ver con harbour o xharbour \n\nRussoft Ltda.", "time": "22:05", "topic": "BCC 6.6", "username": "russimicro" } ]
BCC 6.6
[ { "date": "2013-06-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos,\n\nMuchas gracias por sus respuestas.\n\nLa aplicación usa el contador y bloqueos, de hecho tiene unos cuantos años y hasta XP funcionaba muy bien.\n\nEsa parte del código no se ha modificado.\n\nTambién hemos probado a desactivar el opportunistick lock con la función OS_NetRegOK(.t.), pero sigue sin funcionar.", "time": "07:57", "topic": "BCC 6.6", "username": "elvira" } ]
BCC 6.6
[ { "date": "2013-06-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Adolfo:\n\nLo que nos ocurre es que hay registros que desaparecen o se repite el mismo número de factura al trabajar en red local.\n\nY cuando hay tres usuarios conectados a un DBF, los xBrowses van lentísimos. Tampoco tienen muchos registros, unos 10.000 como máximo.\n\nSólo sucede con Windows 7.", "time": "18:08", "topic": "BCC 6.6", "username": "elvira" } ]
BCC 6.6
[ { "date": "2013-06-10", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"elvira\":2yk4wl22]Hola Adolfo:\n\nLo que nos ocurre es que hay registros que desaparecen o se repite el mismo número de factura al trabajar en red local.\n\nY cuando hay tres usuarios conectados a un DBF, los xBrowses van lentísimos. Tampoco tienen muchos registros, unos 10.000 como máximo.\n\nSólo sucede con Windows 7.[/quote:2yk4wl22]\n\nNose como lo haras, pero para evitar repeticion de numero de factura, te recomiendo uses un archivo de un solo registro donde controles bajo un campo, el numero de factura a procesarse luego de finalizada la factura y antes de imprimirla, logico esta, usando una incrementacion del numero de factura, nFactura + 1, y luego grabas el registro de datos de la factura con su unico numero, cualquier duda, estoy a la orden, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "18:24", "topic": "BCC 6.6", "username": "joseluisysturiz" } ]
BCC 6.6
[ { "date": "2013-06-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Yo uso la BCC63 y no tengo ningún problema.\n\nElvira hay que evitar al máximo los FILTER.\nPara que la numeración no se repita tenés que controlarla con LOCK.\n\nSaludos,\n\nAdhemar", "time": "19:36", "topic": "BCC 6.6", "username": "acuellar" } ]
BCC 6.6
[ { "date": "2013-08-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos,\n\nEste es el error que a veces tiene algún cliente con Borland 5.82:\n\n[code=fw:1g8otkxe]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Application Internal Error - C:\\CLIENTE\\APLICACION.EXE<br />Terminated <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">2013.06</span><span style=\"color: #000000;\">.8</span> <span style=\"color: #000000;\">10</span>:<span style=\"color: #000000;\">32</span>:<span style=\"color: #000000;\">41</span><br />Error irrecuperable <span style=\"color: #000000;\">6005</span>: <span style=\"color: #000000;\">Exception</span> error: <br /><br />&nbsp; &nbsp; <span style=\"color: #000000;\">Exception</span> Code:<span style=\"color: #000000;\">C0000005</span><br />&nbsp; &nbsp; Exception Address:76520A4D<br />&nbsp; &nbsp; EAX:07E92B58 &nbsp;EBX:<span style=\"color: #000000;\">00100450</span> &nbsp;ECX:752F50BC &nbsp;EDX:0008E3C8<br />&nbsp; &nbsp; ESI:<span style=\"color: #000000;\">00000000</span> &nbsp;EDI:<span style=\"color: #000000;\">00000000</span> &nbsp;EBP:0018ACAC<br />&nbsp; &nbsp; CS:<span style=\"color: #000000;\">EIP</span>:<span style=\"color: #000000;\">0023</span>:76520A4D &nbsp;SS:<span style=\"color: #000000;\">ESP</span>:002B:0018ACA4<br />&nbsp; &nbsp; DS:002B &nbsp;ES:002B &nbsp;FS:<span style=\"color: #000000;\">0053</span> &nbsp;GS:002B<br />&nbsp; &nbsp; Flags:<span style=\"color: #000000;\">00010246</span><br />&nbsp; &nbsp; CS:<span style=\"color: #000000;\">EIP</span>: <span style=\"color: #000000;\">FF</span> <span style=\"color: #000000;\">51</span> <span style=\"color: #000000;\">04</span> 8B C6 5E 5D C2 <span style=\"color: #000000;\">14</span> <span style=\"color: #000000;\">00</span> 1B C0 <span style=\"color: #000000;\">83</span> D8 FF EB<br />&nbsp; &nbsp; SS:<span style=\"color: #000000;\">ESP</span>: 07E92B58 07ED206C 0018ACD4 76520B05 07DF28E8 <span style=\"color: #000000;\">00100450</span> 7650F150 07ED206C 7654FB38 07ED2050 07ED206C <span style=\"color: #000000;\">00000001</span> 0018ACFC 76520ABE <span style=\"color: #000000;\">00100450</span> 7650F150<br /><br />&nbsp; &nbsp; C stack:<br />&nbsp; &nbsp; <span style=\"color: #000000;\">EIP</span>: &nbsp; &nbsp; <span style=\"color: #000000;\">EBP</span>: &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">Frame</span>: <span style=\"color: #000000;\">OldEBP</span>, RetAddr, Params...<br />&nbsp; &nbsp; 76520A4D 0018ACAC &nbsp; 0018ACD4 76520B05 07DF28E8 <span style=\"color: #000000;\">00100450</span> 7650F150 07ED206C 7654FB38 07ED2050 07ED206C <span style=\"color: #000000;\">00000001</span><br />&nbsp; &nbsp; 76520B05 0018ACD4 &nbsp; 0018ACFC 76520ABE <span style=\"color: #000000;\">00100450</span> 7650F150 07DF28E8 7654FB38 07ED2050 0018AD48 752B77C4 0295020C<br />&nbsp; &nbsp; 76520ABE 0018ACFC &nbsp; 0018AD14 765502DB 752B77C4 <span style=\"color: #000000;\">00000001</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 765502DB 0018AD14 &nbsp; 0018AD7C <span style=\"color: #000000;\">75292466</span> 07ED2050 752B77C4 0018AD48 07690FB0 <span style=\"color: #000000;\">00000001</span> <span style=\"color: #000000;\">00000100</span> 7525BD2A <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; <span style=\"color: #000000;\">75292466</span> 0018AD7C &nbsp; 0018ADA4 75282FF5 07ED2050 00E85BA0 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 0018AE9C <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000001</span> 07690FB0<br />&nbsp; &nbsp; 75282FF5 0018ADA4 &nbsp; 0018AF30 75254CF8 <span style=\"color: #000000;\">00000000</span> 00E85BA0 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 0018AE9C <span style=\"color: #000000;\">00000000</span> 752523A8 <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 75254CF8 0018AF30 &nbsp; 0018B820 7525220C <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 0018AF9C <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 0018AFB4<br />&nbsp; &nbsp; 7525220C 0018B820 &nbsp; 0018BC88 752B1D37 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">75288279</span> <span style=\"color: #000000;\">00000000</span> FFFFFFFF<br />&nbsp; &nbsp; 752B1D37 0018BC88 &nbsp; 0018BCA4 7528829E 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 7528829E 0018BCA4 &nbsp; 0018BCD0 773662FA 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">75288279</span> DCBAABCD <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 773662FA 0018BCD0 &nbsp; 0018BD48 77366D3A <span style=\"color: #000000;\">75288279</span> 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> C57500AA <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">75288279</span><br />&nbsp; &nbsp; 77366D3A 0018BD48 &nbsp; 0018BD80 77370D27 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">75288279</span> 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 77370D27 0018BD80 &nbsp; 0018BDA0 7737794A <span style=\"color: #000000;\">75288279</span> 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000001</span><br />&nbsp; &nbsp; 7737794A 0018BDA0 &nbsp; 0018BDC8 00417C1A <span style=\"color: #000000;\">75288279</span> 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 00418BE8 001205D0<br />&nbsp; &nbsp; 00417C1A 0018BDC8 &nbsp; 0018BDE8 00418C07 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000107</span> <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 00418C07 0018BDE8 &nbsp; 0018BE14 773662FA 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 00418BE8 DCBAABCD <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 773662FA 0018BE14 &nbsp; 0018BE8C 77366D3A 00418BE8 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> C575036E <span style=\"color: #000000;\">00000302</span> 00F6EB90<br />&nbsp; &nbsp; 77366D3A 0018BE8C &nbsp; 0018BED0 7736965E <span style=\"color: #000000;\">00000000</span> 00418BE8 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 00F6EBB8 <span style=\"color: #000000;\">00000001</span><br />&nbsp; &nbsp; 7736965E 0018BED0 &nbsp; 0018BEF4 7737617A 00F6EB90 <span style=\"color: #000000;\">00000000</span> 00418BE8 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000001</span> <span style=\"color: #000000;\">00000000</span><br />&nbsp; &nbsp; 7737617A 0018BEF4 &nbsp; 0018BF10 004315AA 001205D0 <span style=\"color: #000000;\">00000302</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 00802F40<br /><br /><br />Modules:<br />0x00400000 0x00573000 C:\\CLIENTE\\APLICACION.EXE<br />0x77D10000 0x00180000 C:\\Windows\\SysWOW64\\ntdll.dll<br />0x75B80000 0x00110000 C:\\Windows\\syswow64\\kernel32.dll<br />0x75880000 0x00047000 C:\\Windows\\syswow64\\KERNELBASE.dll<br />0x12170000 0x0018E000 C:\\CLIENTE\\ACE32.DLL<br />0x73760000 0x00009000 C:\\Windows\\system32\\VERSION.dll<br />0x772A0000 0x000AC000 C:\\Windows\\syswow64\\msvcrt.dll<br />0x75370000 0x00012000 C:\\Windows\\system32\\MPR.dll<br />0x73860000 0x00007000 C:\\Windows\\system32\\WSOCK32.dll<br />0x75570000 0x00035000 C:\\Windows\\syswow64\\WS2_32.dll<br />0x75EF0000 0x000F0000 C:\\Windows\\syswow64\\RPCRT4.dll<br />0x753F0000 0x00060000 C:\\Windows\\syswow64\\SspiCli.dll<br />0x753E0000 0x0000C000 C:\\Windows\\syswow64\\CRYPTBASE.dll<br />0x76630000 0x00019000 C:\\Windows\\SysWOW64\\sechost.dll<br />0x76620000 0x00006000 C:\\Windows\\syswow64\\NSI.dll<br />0x77350000 0x00100000 C:\\Windows\\syswow64\\USER32.dll<br />0x76210000 0x00090000 C:\\Windows\\syswow64\\GDI32.dll<br />0x75FE0000 0x0000A000 C:\\Windows\\syswow64\\LPK.dll<br />0x75C90000 0x0009D000 C:\\Windows\\syswow64\\USP10.dll<br />0x762A0000 0x000A0000 C:\\Windows\\syswow64\\ADVAPI32.dll<br />0x76020000 0x0011E000 C:\\Windows\\syswow64\\CRYPT32.dll<br />0x77CE0000 0x0000C000 C:\\Windows\\syswow64\\MSASN1.dll<br />0x76490000 0x0002D000 C:\\Windows\\syswow64\\WINTRUST.dll<br />0x75450000 0x0011B000 C:\\Windows\\syswow64\\WININET.DLL<br />0x76340000 0x00057000 C:\\Windows\\syswow64\\SHLWAPI.dll<br />0x757B0000 0x00003000 C:\\Windows\\syswow64\\Normaliz.dll<br />0x759C0000 0x001B8000 C:\\Windows\\syswow64\\iertutil.dll<br />0x75680000 0x00111000 C:\\Windows\\syswow64\\urlmon.dll<br />0x764C0000 0x0015C000 C:\\Windows\\syswow64\\ole32.dll<br />0x76400000 0x0008F000 C:\\Windows\\syswow64\\OLEAUT32.dll<br />0x703C0000 0x00051000 C:\\Windows\\system32\\WINSPOOL.DRV<br />0x73AE0000 0x0019E000 C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.7601</span>.17514_none_41e6975e2bd6f2b2\\COMCTL32.DLL<br />0x755B0000 0x0007B000 C:\\Windows\\syswow64\\COMDLG32.DLL<br />0x76650000 0x00C4A000 C:\\Windows\\syswow64\\SHELL32.dll<br />0x740E0000 0x00005000 C:\\Windows\\system32\\MSIMG32.DLL<br />0x75350000 0x0001C000 C:\\Windows\\system32\\OLEDLG.DLL<br />0x757A0000 0x00005000 C:\\Windows\\syswow64\\PSAPI.DLL<br />0x763A0000 0x00060000 C:\\Windows\\system32\\IMM32.DLL<br />0x76140000 0x000CC000 C:\\Windows\\syswow64\\MSCTF.dll<br />0x72AD0000 0x00080000 C:\\Windows\\system32\\uxtheme.dll<br />0x10000000 0x0000A000 C:\\Program Files <span style=\"color: #000000;\">&#40;</span>x86<span style=\"color: #000000;\">&#41;</span>\\SweetIM\\Messenger\\mgAdaptersProxy.dll<br />0x7C360000 0x00056000 C:\\Program Files <span style=\"color: #000000;\">&#40;</span>x86<span style=\"color: #000000;\">&#41;</span>\\SweetIM\\Messenger\\MSVCR71.dll<br />0x753B0000 0x00013000 C:\\Windows\\system32\\dwmapi.dll<br />0x75930000 0x00083000 C:\\Windows\\syswow64\\CLBCatQ.DLL<br />0x05460000 0x002B4000 c:\\Cliente\\freeimage.dll<br />0x72DA0000 0x00016000 C:\\Windows\\system32\\CRYPTSP.dll<br />0x72D10000 0x0003B000 C:\\Windows\\system32\\rsaenh.dll<br />0x71170000 0x0002B000 C:\\Windows\\system32\\msls31.dll<br />0x75D50000 0x0019D000 C:\\Windows\\syswow64\\SETUPAPI.dll<br />0x75FF0000 0x00027000 C:\\Windows\\syswow64\\CFGMGR32.dll<br />0x75D30000 0x00012000 C:\\Windows\\syswow64\\DEVOBJ.dll<br />0x74330000 0x000F5000 C:\\Windows\\system32\\propsys.dll<br />0x73720000 0x00021000 C:\\Windows\\system32\\ntmarta.dll<br />0x75630000 0x00045000 C:\\Windows\\syswow64\\WLDAP32.dll<br />0x73DF0000 0x0000B000 C:\\Windows\\system32\\profapi.dll<br />0x751C0000 0x00058000 C:\\Program Files <span style=\"color: #000000;\">&#40;</span>x86<span style=\"color: #000000;\">&#41;</span>\\Common Files\\microsoft shared\\ink\\tiptsf.dll<br />0x6CC10000 0x0016F000 C:\\Windows\\system32\\explorerframe.dll<br />0x70390000 0x0002F000 C:\\Windows\\system32\\DUser.dll<br />0x6CB50000 0x000B2000 C:\\Windows\\system32\\DUI70.dll<br />0x6C370000 0x000FB000 C:\\Windows\\system32\\WindowsCodecs.dll<br />0x72D50000 0x0004C000 C:\\Windows\\system32\\apphelp.dll<br />0x75180000 0x00036000 C:\\Users\\Maricarmen\\AppData\\<span style=\"color: #00C800;\">Local</span>\\Microsoft\\SkyDrive\\<span style=\"color: #000000;\">17.0</span><span style=\"color: #000000;\">.2003</span><span style=\"color: #000000;\">.1112</span>\\SkyDriveShell.dll<br />0x74B90000 0x00085000 C:\\Users\\Maricarmen\\AppData\\<span style=\"color: #00C800;\">Local</span>\\Microsoft\\SkyDrive\\<span style=\"color: #000000;\">17.0</span><span style=\"color: #000000;\">.2003</span><span style=\"color: #000000;\">.1112</span>\\MSVCP110.dll<br />0x74AB0000 0x000D2000 C:\\Users\\Maricarmen\\AppData\\<span style=\"color: #00C800;\">Local</span>\\Microsoft\\SkyDrive\\<span style=\"color: #000000;\">17.0</span><span style=\"color: #000000;\">.2003</span><span style=\"color: #000000;\">.1112</span>\\MSVCR110.dll<br />0x744A0000 0x00087000 C:\\Users\\Maricarmen\\AppData\\<span style=\"color: #00C800;\">Local</span>\\Microsoft\\SkyDrive\\<span style=\"color: #000000;\">17.0</span><span style=\"color: #000000;\">.2003</span><span style=\"color: #000000;\">.1112</span>\\Telemetry.dll<br />0x74490000 0x0000A000 C:\\Users\\Maricarmen\\AppData\\<span style=\"color: #00C800;\">Local</span>\\Microsoft\\SkyDrive\\<span style=\"color: #000000;\">17.0</span><span style=\"color: #000000;\">.2003</span><span style=\"color: #000000;\">.1112</span>\\logging.dll<br />0x74430000 0x00052000 C:\\Windows\\system32\\faultrep.dll<br />0x74310000 0x00015000 C:\\Windows\\system32\\Cabinet.dll<br />0x73E70000 0x00058000 C:\\Windows\\system32\\WINHTTP.dll<br />0x73E20000 0x0004F000 C:\\Windows\\system32\\webio.dll<br />0x742E0000 0x0002F000 C:\\Windows\\system32\\XmlLite.dll<br />0x6D530000 0x00031000 C:\\Windows\\system32\\EhStorShell.dll<br />0x6A020000 0x00406000 C:\\PROGRA~<span style=\"color: #000000;\">2</span>\\MICROS~<span style=\"color: #000000;\">4</span>\\Office14\\GROOVEEX.DLL<br />0x73F10000 0x000A3000 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.30729</span>.6161_none_50934f2ebcb7eb57\\MSVCR90.dll<br />0x714D0000 0x0008E000 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.30729</span>.6161_none_50934f2ebcb7eb57\\MSVCP90.dll<br />0x6D640000 0x0002B000 C:\\Windows\\WinSxS\\x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.30729</span>.6161_none_51cd0a7abbe4e19b\\ATL90.DLL<br />0x69840000 0x0041A000 C:\\PROGRA~<span style=\"color: #000000;\">2</span>\\COMMON~<span style=\"color: #000000;\">1</span>\\MICROS~<span style=\"color: #000000;\">1</span>\\OFFICE14\\Cultures\\office.odf<br />0x68FC0000 0x00880000 C:\\PROGRA~<span style=\"color: #000000;\">2</span>\\MICROS~<span style=\"color: #000000;\">4</span>\\Office14\\<span style=\"color: #000000;\">3082</span>\\GrooveIntlResource.dll<br />0x6C860000 0x00070000 C:\\Windows\\system32\\ntshrui.dll<br />0x73C90000 0x00019000 C:\\Windows\\system32\\srvcli.dll<br />0x6D2F0000 0x0000B000 C:\\Windows\\system32\\cscapi.dll<br />0x70490000 0x0000A000 C:\\Windows\\system32\\slc.dll<br />0x72D00000 0x0000E000 C:\\Windows\\system32\\RpcRtRemote.dll<br />0x6D4D0000 0x0005C000 C:\\Windows\\System32\\StructuredQuery.dll<br />0x73700000 0x00008000 C:\\Windows\\System32\\Secur32.dll<br />0x6C810000 0x0004E000 C:\\Windows\\SysWOW64\\actxprxy.dll<br />0x6D600000 0x00033000 C:\\Program Files <span style=\"color: #000000;\">&#40;</span>x86<span style=\"color: #000000;\">&#41;</span>\\Internet Explorer\\ieproxy.dll<br />0x6D4B0000 0x00016000 C:\\Win<br />Called <span style=\"color: #0000ff;\">from</span> SENDMESSAGE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TWINDOW<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">555</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TRICHEDIT:<span style=\"color: #000000;\">SENDMSG</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TRICHEDIT:<span style=\"color: #000000;\">PASTE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">937</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\TRICHEDI.PRG<br />Called <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TRICHEDIT_RBUTTONDOWN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1084</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\TRICHEDI.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TMENU:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">494</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">MENU</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TRICHEDIT:<span style=\"color: #000000;\">RBUTTONDOWN</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1154</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\TRICHEDI.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1700</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\CONTROL.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TRICHEDIT:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">623</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\TRICHEDI.PRG<br />Called <span style=\"color: #0000ff;\">from</span> _FWH<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3154</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> DIALOGBOX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">270</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> CONCEPTO<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3212</span><span style=\"color: #000000;\">&#41;</span> in c:\\FWH\\prog01\\concepto.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TBUTTONBMP:<span style=\"color: #0000ff;\">CLICK</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">157</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">BUTTON</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TBUTTON:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1654</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\CONTROL.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TBUTTONBMP:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">189</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\BUTTONB.PRG<br />Called <span style=\"color: #0000ff;\">from</span> _FWH<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3154</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> SENDMESSAGE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TDIALOG:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">379</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">886</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> DIALOGBOX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">270</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TWINDOW:<span style=\"color: #000000;\">LDBLCLICK</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1926</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TCONTROL:<span style=\"color: #000000;\">LDBLCLICK</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1713</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\CONTROL.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TXBROWSE:<span style=\"color: #000000;\">LDBLCLICK</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3632</span><span style=\"color: #000000;\">&#41;</span> in source\\<span style=\"color: #0000ff;\">xbrowse</span>.prg<br />Called <span style=\"color: #0000ff;\">from</span> TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1700</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\CONTROL.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TXBROWSE:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">11731</span><span style=\"color: #000000;\">&#41;</span> in source\\<span style=\"color: #0000ff;\">xbrowse</span>.prg<br />Called <span style=\"color: #0000ff;\">from</span> _FWH<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3154</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> DIALOGBOXINDIRECT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">270</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TRBTN:<span style=\"color: #0000ff;\">CLICK</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">676</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\TRBTN.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TRBTN:<span style=\"color: #000000;\">LBUTTONUP</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">854</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\TRBTN.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1690</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\CONTROL.PRG<br />Called <span style=\"color: #0000ff;\">from</span> TRBTN:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1520</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\TRBTN.PRG<br />Called <span style=\"color: #0000ff;\">from</span> _FWH<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3154</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> WINRUN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">980</span><span style=\"color: #000000;\">&#41;</span> in .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG<br />Called <span style=\"color: #0000ff;\">from</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">897</span><span style=\"color: #000000;\">&#41;</span> in c:\\FWH\\prog01\\<span style=\"color: #0000ff;\">MENU</span>.PRG<br />-----------------------------------------------------------------<br />&nbsp;</div>[/code:1g8otkxe]\n\n\n¿A alguno le ha sucedido?.\n\nMuy agradecida.", "time": "13:10", "topic": "BCC 6.6", "username": "elvira" } ]
BCC 6.6
[ { "date": "2013-08-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Elvira,\n\nNo creo que sea un error de Borland sino que tal vez el handle de la ventana pueda no estar correcto, aunque eso parece tambien muy improbable. El caso es que se envia el mensaje WM_PASTE y no hay que pasarle ningún parámetro, de ahi el deducir que no quedaria otra opción que el handle de la ventana no este bien (lo cual, insisto, es muy dificil si el control RichEdit ya está en uso:\n\nPrueba con este cambio en el método Paste() de TRichEdit:\n\n[code=fw:z36sedm2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> Paste<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TRichEdit<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> IsWindow<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">SendMsg</span><span style=\"color: #000000;\">&#40;</span> WM_PASTE <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">PostMsg</span><span style=\"color: #000000;\">&#40;</span> FM_CHANGE <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:z36sedm2]", "time": "16:10", "topic": "BCC 6.6", "username": "Antonio Linares" } ]
BCC 6.6
[ { "date": "2013-08-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nEl error se produce cuando se hace un Control y V sin datos.\n\nHay que borrar el clipboard y entonces pulsar Control y V en el richedit para que casque.\n\nMuchas gracias.", "time": "16:38", "topic": "BCC 6.6", "username": "elvira" } ]
BCC 6.6
[ { "date": "2013-08-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Esty Usando Bcc 6.6 sin ningun problerma\n\nSaludos", "time": "17:57", "topic": "BCC 6.6", "username": "ruben Dario" } ]
BCC 6.6
[ { "date": "2013-08-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Elvira,\n\nEntonces una solución podría ser:\n\n[code=fw:2o79seig]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> Paste<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TRichEdit<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oClp := TClipboard<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! oClp:<span style=\"color: #000000;\">IsEmpty</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">SendMsg</span><span style=\"color: #000000;\">&#40;</span> WM_PASTE <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">PostMsg</span><span style=\"color: #000000;\">&#40;</span> FM_CHANGE <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;oClp:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:2o79seig]", "time": "18:36", "topic": "BCC 6.6", "username": "Antonio Linares" } ]
BCC 6.6
[ { "date": "2022-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "hi,\n\nwhat is in c:\\BCC7\\include\\*.* <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\ni have only Sub Folder\n[quote:3ofc7f0f]c:\\BCC7\\include\\dinkumware\\\nc:\\BCC7\\include\\windows\\\n[/quote:3ofc7f0f]\nbut no other Files like *.H <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\n---\n\ni want to use\n[quote:3ofc7f0f]c:\\fwh\\source\\winapi\\listview.c\nc:\\fwh\\source\\classes\\tlistvie.prg[/quote:3ofc7f0f]\nfor a new CLASS TGrid\n\ni have rename HB_FUNC() in listview.c and also in tlistvie.prg with new \"Prefix\" to avoid \"dupe\" Warning\n\ni use c:\\fwh\\samples\\buildh.bat and \n[quote:3ofc7f0f]bcdir=c:\\bcc7[/quote:3ofc7f0f]\nand get Warning missing \"Windows.h\" ...\n\n---\n\nso what must i do <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nhow can use modify listview.c for new Project TGrid <!-- s:idea: --><img src=\"{SMILIES_PATH}/icon_idea.gif\" alt=\":idea:\" title=\"Idea\" /><!-- s:idea: -->", "time": "08:39", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Jimmy" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Jimmy,\n\nIt seems as you are using an uncomplete bcc7\n\nIn those folders there should be lots of header files", "time": "08:43", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Antonio Linares" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "If you post your code here then we will review it and build it", "time": "08:44", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Antonio Linares" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":1z77di0a]It seems as you are using an uncomplete bcc7\nIn those folders there should be lots of header files[/quote:1z77di0a]\nthat is what i thought <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nwhere do i get a complete Version or can i use BCC 5.83 \\INCLUDE Files <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "09:07", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Jimmy" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Jimmy,\n\nPlease check your email, I sent you the official URLs to download it", "time": "10:12", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Antonio Linares" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Antonio,\n[quote=\"Antonio Linares\":nqduvn74]Please check your email, I sent you the official URLs to download it[/quote:nqduvn74]did you send it to @WEB,DE ?\n\ni have not got a Email ,,, WEB.DE often refuse Mail ...", "time": "10:31", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Jimmy" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Please check this url before 24 hours:\n\n[url:1eltlxji]https&#58;//wormhole&#46;app/20Jxy#qVKl_veFeETLmI3qAcZtmw[/url:1eltlxji]", "time": "16:01", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Antonio Linares" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Antonio,\n\nusing your LVCOLUMN Sample i recognize that i use \"C\" Source wrong.\ni have try\n[code=fw:lko32zr7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">PROCEDURE MAIN<br />...<br /><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"LISTVIEW.C\"</span></div>[/code:lko32zr7]\nwhich give me Warnings <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> \n\n---\n\nwhen use it in same PRG\n\n[code=fw:lko32zr7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <commctrl.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span>...<span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP</div>[/code:lko32zr7]\ni get no Warning about \"missing\" <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "07:21", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Jimmy" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Jimmy,\n\nthere are some differences if you want to use it as a standalone C file or inside a PRG using #pragma BEGINDUMP ... ENDDUMP\n\ncan you use it for now inside the PRG ?", "time": "07:38", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Antonio Linares" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2022-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Antonio,\n[quote=\"Antonio Linares\":q6zyv75n]there are some differences if you want to use it as a standalone C file or inside a PRG using #pragma BEGINDUMP ... ENDDUMP[/quote:q6zyv75n]\nOk, begin to understand\n\n[quote=\"Antonio Linares\":q6zyv75n]can you use it for now inside the PRG ?[/quote:q6zyv75n]\nnot sure if HB_FUNC() is working ... but i get no Warning when compile <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\ni do \"add\" those HB_FUNC() which i \"think\" is need ... just search for Listview_Macro in Source\nthose HB_FUNC() later are used in CLASS TGrid()\n\ni will present CLASS TGrid() when have a working Sample but it will take some Time ...", "time": "09:12", "topic": "BCC 7 32 Bit \\INCLUDE", "username": "Jimmy" } ]
BCC 7 32 Bit \INCLUDE
[ { "date": "2015-09-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi all,\nI'm going to update our FWH library to the July 2015 version but I'm in doubt if could it be convenient to update my BCC5.82 to the 7.00 too.\n\nWhat do you think about ? Which advantages do we have moving to 7.00 ? Is there a better speed or better integration with the latest OSs (eg Windows 10) ?\n\nThank you in advance", "time": "15:50", "topic": "BCC 7.0 - what do you think about ?", "username": "Marco Turco" } ]
BCC 7.0 - what do you think about ?
[ { "date": "2015-09-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nA more recent version of a software means less bugs, new enhancements and new features.\n\nTo me Harbour + FWH + BCC7 is working really fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nAnd of course, better integration with Windows 10", "time": "16:21", "topic": "BCC 7.0 - what do you think about ?", "username": "Antonio Linares" } ]
BCC 7.0 - what do you think about ?
[ { "date": "2015-09-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio, thank you for your point of view.\nI have installed latest xharbour for BCC7.0 and BCC7.0 too from <!-- m --><a class=\"postlink\" href=\"http://www.whosaway.com/\">http://www.whosaway.com/</a><!-- m -->\n\nI succesfully compiled my apps, just two things;\n- to complete the link and generate the .exe I need to copy into the app executable dir the lib uuid.lib. It's a bit strange, I'm doing well ?\n- I have installed BCC7.0 from whosaway. They said it is an evaluation version. What does it means ? The generated executeble will expire ? I checked on the embarcadero website but I didn't find a BCC7.0 to buy but only the C++Builder® 10 Seattle. Where I can buy it if needed ?\n\nThank you", "time": "17:14", "topic": "BCC 7.0 - what do you think about ?", "username": "Marco Turco" } ]
BCC 7.0 - what do you think about ?
[ { "date": "2015-09-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nI am sending you an email with detailed instructions", "time": "11:41", "topic": "BCC 7.0 - what do you think about ?", "username": "Antonio Linares" } ]
BCC 7.0 - what do you think about ?
[ { "date": "2015-09-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\n[quote=\"Marco Turco\":pqud0tdx]Hi all,\nI'm going to update our FWH library to the July 2015 version but I'm in doubt if could it be convenient to update my BCC5.82 to the 7.00 too.\n\nWhat do you think about ? Which advantages do we have moving to 7.00 ? Is there a better speed or better integration with the latest OSs (eg Windows 10) ?\n\nThank you in advance[/quote:pqud0tdx]\n\nI can see no immediate advantages (ie. speed, etc.) but I agree with Antonio: better using updated compilers.\n\nEMG", "time": "16:11", "topic": "BCC 7.0 - what do you think about ?", "username": "Enrico Maria Giordano" } ]
BCC 7.0 - what do you think about ?
[ { "date": "2015-09-03", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":2zkt2j6l]Marco,\n\nI am sending you an email with detailed instructions[/quote:2zkt2j6l]\nmee too, please", "time": "14:18", "topic": "BCC 7.0 - what do you think about ?", "username": "bpd2000" } ]
BCC 7.0 - what do you think about ?
[ { "date": "2015-09-03", "forum": "FiveWin for Harbour/xHarbour", "text": "One immediate advantage is that bcc7 has header files for more recent windows APIs.", "time": "15:08", "topic": "BCC 7.0 - what do you think about ?", "username": "nageswaragunupudi" } ]
BCC 7.0 - what do you think about ?
[ { "date": "2016-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Andi Jahja tests:\n\n[quote:389a90cb]I noticed that BCC 7.1 (LLVM 3.3.1) is very much slower than BCC 7.0 (LLVM 3.1).\n(First 64-bit version from BCC 6.5 upto BCC 7.0 were using LLVM 3.1).\n\nComparison (speedtst.prg) follows:\n\nBCC 7.1\n2016-03-27 01:46:07 Windows 7 6.1.7601 Service Pack 1\nHarbour 3.2.0dev (r1603240307) LLVM/Clang C 3.3.1 (35465.f352ad3.17344af) (64-bit) x86-64\n====================================================================\n[ total application time: ]....................................28.94\n[ total real time: ]...........................................29.11\n\nBCC 7.0\n2016-03-27 01:47:52 Windows 7 6.1.7601 Service Pack 1\nHarbour 3.2.0dev (r1603240307) LLVM/Clang C 3.1 ((35091.dcc1b50.5e40b02)) (64-bit) x86-64\n====================================================================\n[ total application time: ]....................................14.34\n[ total real time: ]...........................................14.45[/quote:389a90cb]\n\nFWH 64 for BCC is compatible with both BCC 7.0 and 7.1, so you should consider trying BCC 7.0 too <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "23:12", "topic": "BCC 7.0 64 is almost double fast as BCC 7.1 64", "username": "Antonio Linares" } ]
BCC 7.0 64 is almost double fast as BCC 7.1 64
[ { "date": "2016-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nWhat is doing the speedtst.prg?", "time": "08:19", "topic": "BCC 7.0 64 is almost double fast as BCC 7.1 64", "username": "Marc Vanzegbroeck" } ]
BCC 7.0 64 is almost double fast as BCC 7.1 64
[ { "date": "2016-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\n[code=fw:3cmsqr0u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">/*<br />&nbsp;* HVM speed test program<br />&nbsp;*<br />&nbsp;* Copyright 2008 Przemyslaw Czerpak <druzus / at / priv.onet.pl><br />&nbsp;*<br />&nbsp;*/</span><br /><br /><span style=\"color: #B900B9;\">/* Harbour MT functions used in this test */</span><br /><span style=\"color: #B900B9;\">/*<br />#xtranslate hb_mutexSubscribe( &nbsp; &nbsp; &nbsp;=> mt_mutexSubscribe(<br />#xtranslate hb_mutexNotify( &nbsp; &nbsp; &nbsp; &nbsp; => mt_mutexNotify(<br />#xtranslate hb_mutexCreate( &nbsp; &nbsp; &nbsp; &nbsp; => mt_mutexCreate(<br />#xtranslate hb_threadOnce( &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=> mt_threadOnce(<br />#xtranslate hb_threadStart( &nbsp; &nbsp; &nbsp; &nbsp; => mt_threadStart(<br />#xtranslate hb_threadJoin( &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=> mt_threadJoin(<br />#xtranslate hb_threadWaitForAll( &nbsp; &nbsp;=> mt_threadWaitForAll(<br />*/</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> N_TESTS <span style=\"color: #000000;\">56</span><br /><span style=\"color: #00D7D7;\">#define</span> N_LOOPS <span style=\"color: #000000;\">1000000</span><br /><span style=\"color: #00D7D7;\">#define</span> ARR_LEN <span style=\"color: #000000;\">16</span><br /><br />#ifndef __HARBOUR__<br />&nbsp; &nbsp;#ifndef __XPP__<br />&nbsp; &nbsp; &nbsp; #ifndef __CLIP__<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#ifndef FlagShip<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> __CLIPPER__<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#endif<br />&nbsp; &nbsp; &nbsp; #endif<br />&nbsp; &nbsp;#endif<br />#endif<br /><br /><br />#ifdef __CLIPPER__<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* Clipper does not support multithreading */</span><br />&nbsp; &nbsp;#ifndef __ST__<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> __ST__<br />&nbsp; &nbsp;#endif<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* Clipper does not have function to extract process time */</span><br />&nbsp; &nbsp;#xtranslate hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#91;</span><x><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> => seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#endif<br /><br />#ifdef FlagShip<br />&nbsp; &nbsp;<span style=\"color: #00D7D7;\">#define</span> __NO_OBJ_ARRAY__<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* FlagShip does not support multithreading */</span><br />&nbsp; &nbsp;#ifndef __ST__<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> __ST__<br />&nbsp; &nbsp;#endif<br />&nbsp; &nbsp;#xtranslate hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#91;</span><x><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> => secondsCPU<span style=\"color: #000000;\">&#40;</span><x><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* the FlagShip version of seconds() returns integer values */</span><br />&nbsp; &nbsp;#xtranslate seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> => fs_seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#endif<br /><br />#ifdef __XPP__<br />&nbsp; &nbsp;<span style=\"color: #00D7D7;\">#define</span> __NO_OBJ_ARRAY__<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* Has xBase++ function to extract process time? */</span><br />&nbsp; &nbsp;#xtranslate hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#91;</span><x><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> => seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#endif<br /><br />#ifdef __CLIP__<br />&nbsp; &nbsp;<span style=\"color: #00D7D7;\">#define</span> __NO_OBJ_ARRAY__<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* CLIP version for MT performance testing is not ready yet */</span><br />&nbsp; &nbsp;#ifndef __ST__<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> __ST__<br />&nbsp; &nbsp;#endif<br />&nbsp; &nbsp;#xtranslate hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#91;</span><x><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> => secondsCPU<span style=\"color: #000000;\">&#40;</span><x><span style=\"color: #000000;\">&#41;</span><br />#endif<br /><br />#ifdef __XHARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* By default build xHarbour binaries without MT support.<br />&nbsp; &nbsp; * xHarbour needs separated source code versions for MT and ST mode<br />&nbsp; &nbsp; * because standard MT functions are not available in ST libraries.<br />&nbsp; &nbsp; */</span><br />&nbsp; &nbsp;#ifndef __ST__<br />&nbsp; &nbsp; &nbsp; #ifndef __MT__<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#ifndef MT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #ifndef HB_THREAD_SUPPORT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00D7D7;\">#define</span> __ST__<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#endif<br />&nbsp; &nbsp; &nbsp; #endif<br />&nbsp; &nbsp;#endif<br />&nbsp; &nbsp;#xtranslate hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#91;</span><x><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> => secondsCPU<span style=\"color: #000000;\">&#40;</span><x><span style=\"color: #000000;\">&#41;</span><br />#endif<br /><br /><span style=\"color: #B900B9;\">/* by default create MT version */</span><br />#ifndef __MT__<br />&nbsp; &nbsp;#ifndef __ST__<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> __MT__<br />&nbsp; &nbsp;#endif<br />#endif<br /><br /><br />#command ? => spd_out<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#command ? <xx,...> => spd_out<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;spd_out<span style=\"color: #000000;\">&#40;</span><xx><span style=\"color: #000000;\">&#41;</span><br />#command ?? <xx,...> => spd_out<span style=\"color: #000000;\">&#40;</span><xx><span style=\"color: #000000;\">&#41;</span><br /><br />#ifdef __HARBOUR__<br />&nbsp; &nbsp;#ifdef __XHARBOUR__<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> EOL hb_osNewLine<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> EOL hb_eol<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;#endif<br />#else<br />&nbsp; &nbsp;#ifndef EOL<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> EOL chr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;#endif<br />#endif<br /><br />#xcommand TEST <testfunc> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> WITH <locals,...> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">STATIC</span> <statics,...> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> FIELD &nbsp;<fields,...> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> MEMVAR <memvars,...> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">PRIVATE</span> <privates,...> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">PUBLIC</span> <publics,...> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">INIT</span> <init> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> EXIT <exit> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> INFO <info> <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE <span style=\"color: #000000;\">&#91;</span> <testExp,...> <span style=\"color: #000000;\">&#93;</span> => &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp;func <testfunc> ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> time, i:=<span style=\"color: #00C800;\">nil</span>, x:=<span style=\"color: #00C800;\">nil</span> ; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">local</span> <locals> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">static</span> <statics> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> field <fields> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> memvar <memvars> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">private</span> <privates> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">public</span> <publics> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <init> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; time := hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_LOOPS ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#40;</span> <testExp> <span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span> ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; time := hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - time ; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <exit> ; <span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#123;</span> procname<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\": \"</span> + iif<span style=\"color: #000000;\">&#40;</span> <.info.>, <<span style=\"color: #000000;\">&#40;</span>info<span style=\"color: #000000;\">&#41;</span>>, #<testExp> <span style=\"color: #000000;\">&#41;</span>, time <span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> s_lStdOut := .F.<br /><br />#ifdef __HARBOUR__<br />#ifndef __XHARBOUR__<br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbver.ch\"</span><br />#endif<br />#endif<br /><br />#ifdef __HARBOUR__<br />proc main<span style=\"color: #000000;\">&#40;</span> ... <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aParams := hb_aparams<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#else<br />proc main<span style=\"color: #000000;\">&#40;</span> _p01, _p02, _p03, _p04, _p05, _p06, _p07, _p08, _p09, _p10, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_p11, _p12, _p13, _p14, _p15, _p16, _p17, _p18, _p19, _p20 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aParams := ;<br />&nbsp; &nbsp; &nbsp; asize<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> _p01, _p02, _p03, _p04, _p05, _p06, _p07, _p08, _p09, _p10, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_p11, _p12, _p13, _p14, _p15, _p16, _p17, _p18, _p19, _p20 <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">min</span><span style=\"color: #000000;\">&#40;</span> pCount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />#endif<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nMT, cExclude, lScale, cParam, cMemTests, lSyntax, i, j<br /><br />&nbsp; &nbsp;Set<span style=\"color: #000000;\">&#40;</span> _SET_DATEFORMAT, <span style=\"color: #ff0000;\">\"yyyy-mm-dd\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;lSyntax := lScale := .f.<br />&nbsp; &nbsp;cMemTests := <span style=\"color: #ff0000;\">\"030 031 023 025 027 041 042 044 053 054 019 022 032 033 055 056 \"</span><br />&nbsp; &nbsp;cExclude := <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp;nMT := <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> j := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">&#40;</span> aParams <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; cParam := lower<span style=\"color: #000000;\">&#40;</span> aParams<span style=\"color: #000000;\">&#91;</span> j <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> cParam = <span style=\"color: #ff0000;\">\"--thread\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"=\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> isdigit<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nMT := val<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elseif <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"all\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nMT := <span style=\"color: #000000;\">-1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lSyntax := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;elseif empty<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nMT := <span style=\"color: #000000;\">-1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lSyntax := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; elseif cParam = <span style=\"color: #ff0000;\">\"--exclude=\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"mem\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cExclude += cMemTests<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cExclude += strtran<span style=\"color: #000000;\">&#40;</span> strtran<span style=\"color: #000000;\">&#40;</span> strtran<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\".\"</span>, <span style=\"color: #ff0000;\">\" \"</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\".\"</span>, <span style=\"color: #ff0000;\">\" \"</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"/\"</span>, <span style=\"color: #ff0000;\">\" \"</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" \"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; elseif cParam = <span style=\"color: #ff0000;\">\"--only=\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cExclude := <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> cParam, <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"mem\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cParam := cMemTests<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> ! strzero<span style=\"color: #000000;\">&#40;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> $ cParam<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cExclude += strzero<span style=\"color: #000000;\">&#40;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" \"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; elseif cParam == <span style=\"color: #ff0000;\">\"--scale\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lScale := .t.<br />&nbsp; &nbsp; &nbsp; elseif cParam == <span style=\"color: #ff0000;\">\"--stdout\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s_lStdOut := .t.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lSyntax := .t.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> lSyntax<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"Unknown option:\"</span>, cParam<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"syntax: speedtst [--thread[=<num>]] [--only=<test(s)>] [--exclude=<test(s)>]\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;?<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> ! s_lStdOut<br />&nbsp; &nbsp; &nbsp; set alternate <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">&#40;</span> spd_logfile<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> additive<br />&nbsp; &nbsp; &nbsp; set alternate <span style=\"color: #0000ff;\">on</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// set console off</span><br /><br />&nbsp; &nbsp;test<span style=\"color: #000000;\">&#40;</span> nMT, cExclude, lScale <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> ! s_lStdOut<br />&nbsp; &nbsp; &nbsp; set alternate off<br />&nbsp; &nbsp; &nbsp; set alternate <span style=\"color: #0000ff;\">to</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> PROCEDURE spd_out<span style=\"color: #000000;\">&#40;</span> p1, p2, p3, p4, p5, p6 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> nPCount := PCount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> s_lStdOut<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">CASE</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">0</span> ; OutStd<span style=\"color: #000000;\">&#40;</span> EOL <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">1</span> ; OutStd<span style=\"color: #000000;\">&#40;</span> p1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">2</span> ; OutStd<span style=\"color: #000000;\">&#40;</span> p1, p2 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">3</span> ; OutStd<span style=\"color: #000000;\">&#40;</span> p1, p2, p3 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">4</span> ; OutStd<span style=\"color: #000000;\">&#40;</span> p1, p2, p3, p4 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">5</span> ; OutStd<span style=\"color: #000000;\">&#40;</span> p1, p2, p3, p4, p5 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">6</span> ; OutStd<span style=\"color: #000000;\">&#40;</span> p1, p2, p3, p4, p5, p6 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDCASE</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ELSE</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">CASE</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">0</span> ; QOut<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">1</span> ; QQOut<span style=\"color: #000000;\">&#40;</span> p1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">2</span> ; QQOut<span style=\"color: #000000;\">&#40;</span> p1, p2 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">3</span> ; QQOut<span style=\"color: #000000;\">&#40;</span> p1, p2, p3 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">4</span> ; QQOut<span style=\"color: #000000;\">&#40;</span> p1, p2, p3, p4 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">5</span> ; QQOut<span style=\"color: #000000;\">&#40;</span> p1, p2, p3, p4, p5 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">CASE</span> nPCount == <span style=\"color: #000000;\">6</span> ; QQOut<span style=\"color: #000000;\">&#40;</span> p1, p2, p3, p4, p5, p6 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDCASE</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> spd_logfile<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#ifndef __HARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #ff0000;\">\"speedtst.txt\"</span><br />#else<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> cName<br />&nbsp; &nbsp;hb_FNameSplit<span style=\"color: #000000;\">&#40;</span> hb_ArgV<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>,, @cName <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">RETURN</span> hb_FNameMerge<span style=\"color: #000000;\">&#40;</span> , cName, <span style=\"color: #ff0000;\">\".txt\"</span> <span style=\"color: #000000;\">&#41;</span><br />#endif<br /><br /><span style=\"color: #B900B9;\">/*** TESTS ***/</span><br /><br />TEST t000 INFO <span style=\"color: #ff0000;\">\"empty loop overhead\"</span> CODE<br /><br />TEST t001 WITH L_C:=dtos<span style=\"color: #000000;\">&#40;</span>date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> CODE x := L_C<br /><br />TEST t002 WITH L_N:=<span style=\"color: #000000;\">112345.67</span> &nbsp; &nbsp;CODE x := L_N<br /><br />TEST t003 WITH L_D:=date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; CODE x := L_D<br /><br />TEST t004 <span style=\"color: #00C800;\">STATIC</span> s_once := <span style=\"color: #00C800;\">NIL</span>, S_C ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> @s_once, <span style=\"color: #000000;\">&#123;</span>|| S_C := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := S_C<br /><br />TEST t005 <span style=\"color: #00C800;\">STATIC</span> s_once := <span style=\"color: #00C800;\">NIL</span>, S_N ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> @s_once, <span style=\"color: #000000;\">&#123;</span>|| S_N := <span style=\"color: #000000;\">112345.67</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := S_N<br /><br />TEST t006 <span style=\"color: #00C800;\">STATIC</span> s_once := <span style=\"color: #00C800;\">NIL</span>, S_D ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> @s_once, <span style=\"color: #000000;\">&#123;</span>|| S_D := date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := S_D<br /><br />TEST t007 MEMVAR M_C ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">PRIVATE</span> M_C := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := M->M_C<br /><br />TEST t008 MEMVAR M_N ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">PRIVATE</span> M_N := <span style=\"color: #000000;\">112345.67</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := M->M_N<br /><br />TEST t009 MEMVAR M_D ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">PRIVATE</span> M_D := date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := M->M_D<br /><br />TEST t010 <span style=\"color: #00C800;\">STATIC</span> s_once := <span style=\"color: #00C800;\">NIL</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MEMVAR P_C ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">PUBLIC</span> P_C ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> @s_once, <span style=\"color: #000000;\">&#123;</span>|| M->P_C := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := M->P_C<br /><br />TEST t011 <span style=\"color: #00C800;\">STATIC</span> s_once := <span style=\"color: #00C800;\">NIL</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MEMVAR P_N ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">PUBLIC</span> P_N ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> @s_once, <span style=\"color: #000000;\">&#123;</span>|| M->P_N := <span style=\"color: #000000;\">112345.67</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := M->P_N<br /><br />TEST t012 <span style=\"color: #00C800;\">STATIC</span> s_once := <span style=\"color: #00C800;\">NIL</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MEMVAR P_D ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">PUBLIC</span> P_D ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> @s_once, <span style=\"color: #000000;\">&#123;</span>|| M->P_D := date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := M->P_D<br /><br />TEST t013 FIELD &nbsp;F_C ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> use_dbsh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> EXIT close_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := F_C<br /><br />TEST t014 FIELD F_N ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> use_dbsh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> EXIT close_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := F_N<br /><br />TEST t015 FIELD F_D ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> use_dbsh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> EXIT close_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := F_D<br /><br />TEST t016 WITH o := errorNew<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> CODE x := o:<span style=\"color: #000000;\">Args</span><br /><br />TEST t017 WITH o := errorArray<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> CODE x := o<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><br /><br />TEST t018 CODE <span style=\"color: #0000ff;\">round</span><span style=\"color: #000000;\">&#40;</span> i / <span style=\"color: #000000;\">1000</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t019 CODE str<span style=\"color: #000000;\">&#40;</span> i / <span style=\"color: #000000;\">1000</span> <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t020 WITH s := stuff<span style=\"color: #000000;\">&#40;</span> dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">7</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\".\"</span> <span style=\"color: #000000;\">&#41;</span> CODE val<span style=\"color: #000000;\">&#40;</span> s <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t021 WITH a := afill<span style=\"color: #000000;\">&#40;</span> array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;stuff<span style=\"color: #000000;\">&#40;</span> dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">7</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\".\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE val<span style=\"color: #000000;\">&#40;</span> a <span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t022 WITH d := date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> CODE dtos<span style=\"color: #000000;\">&#40;</span> d - i % <span style=\"color: #000000;\">10000</span> <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t023 CODE eval<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span>|| i % ARR_LEN <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t024 WITH bc := <span style=\"color: #000000;\">&#123;</span>|| i % ARR_LEN <span style=\"color: #000000;\">&#125;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO eval<span style=\"color: #000000;\">&#40;</span> bc := <span style=\"color: #000000;\">&#123;</span>|| i % ARR_LEN <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE eval<span style=\"color: #000000;\">&#40;</span> bc <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t025 CODE eval<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span>| x | x % ARR_LEN <span style=\"color: #000000;\">&#125;</span>, i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t026 WITH bc := <span style=\"color: #000000;\">&#123;</span>| x | x % ARR_LEN <span style=\"color: #000000;\">&#125;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO eval<span style=\"color: #000000;\">&#40;</span> bc := <span style=\"color: #000000;\">&#123;</span>| x | x % ARR_LEN <span style=\"color: #000000;\">&#125;</span>, i <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE eval<span style=\"color: #000000;\">&#40;</span> bc, i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t027 CODE eval<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span>| x | f1<span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t028 WITH bc := <span style=\"color: #000000;\">&#123;</span>| x | f1<span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO eval<span style=\"color: #000000;\">&#40;</span> bc := <span style=\"color: #000000;\">&#123;</span>| x | f1<span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, i <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE eval<span style=\"color: #000000;\">&#40;</span> bc, i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t029 WITH bc := mkBlock<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"{| x | f1( x ) }\"</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO eval<span style=\"color: #000000;\">&#40;</span> bc := &<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"{| x | f1( x ) }\"</span><span style=\"color: #000000;\">&#41;</span>, i <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE eval<span style=\"color: #000000;\">&#40;</span> bc, i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t030 CODE x := &<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'f1('</span> + str<span style=\"color: #000000;\">&#40;</span>i<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">')'</span> <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t031 WITH bc CODE bc := &<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'{| x |f1(x)}'</span> <span style=\"color: #000000;\">&#41;</span>, eval<span style=\"color: #000000;\">&#40;</span> bc, i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t032 CODE x := valtype<span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span> + &nbsp;valtype<span style=\"color: #000000;\">&#40;</span> i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t033 WITH a := afill<span style=\"color: #000000;\">&#40;</span> array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;stuff<span style=\"color: #000000;\">&#40;</span> dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">7</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\".\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := strzero<span style=\"color: #000000;\">&#40;</span> i % <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> $ a<span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br /><br />TEST t034 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> s + s, i <span style=\"color: #000000;\">&#41;</span>, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := a<span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> == s<br /><br />TEST t035 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> s + s, i <span style=\"color: #000000;\">&#41;</span>, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := a<span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> = s<br /><br />TEST t036 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> s + s, i <span style=\"color: #000000;\">&#41;</span>, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := a<span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> >= s<br /><br />TEST t037 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> s + s, i <span style=\"color: #000000;\">&#41;</span>, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := a<span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <= s<br /><br />TEST t038 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> s + s, i <span style=\"color: #000000;\">&#41;</span>, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := a<span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> < s<br /><br />TEST t039 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span>, s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> s + s, i <span style=\"color: #000000;\">&#41;</span>, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE x := a<span style=\"color: #000000;\">&#91;</span> i % ARR_LEN + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> > s<br /><br />TEST t040 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := i, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE ascan<span style=\"color: #000000;\">&#40;</span> a, i % ARR_LEN <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t041 WITH a := array<span style=\"color: #000000;\">&#40;</span> ARR_LEN <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INIT</span> aeval<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x, i | a<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := i, x <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE ascan<span style=\"color: #000000;\">&#40;</span> a, <span style=\"color: #000000;\">&#123;</span>| x | x == i % ARR_LEN <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t042 WITH a := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, a2 := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#125;</span>, bc := <span style=\"color: #000000;\">&#123;</span>| x | f1<span style=\"color: #000000;\">&#40;</span>x<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, s2 := <span style=\"color: #ff0000;\">\"static text\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE iif<span style=\"color: #000000;\">&#40;</span> i%<span style=\"color: #000000;\">1000</span>==<span style=\"color: #000000;\">0</span>, a:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#41;</span> , aadd<span style=\"color: #000000;\">&#40;</span>a,<span style=\"color: #000000;\">&#123;</span>i,<span style=\"color: #000000;\">1</span>,.t.,s,s2,a2,bc<span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span><br /><br />TEST t043 WITH a := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> CODE x := a<br /><br />TEST t044 CODE x := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br />TEST t045 CODE f0<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />TEST t046 CODE f1<span style=\"color: #000000;\">&#40;</span> i <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t047 WITH c := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO <span style=\"color: #ff0000;\">\"f2( c[1...8] )\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE f2<span style=\"color: #000000;\">&#40;</span> c <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t048 WITH c := replicate<span style=\"color: #000000;\">&#40;</span> dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">5000</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO <span style=\"color: #ff0000;\">\"f2( c[1...40000] )\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE f2<span style=\"color: #000000;\">&#40;</span> c <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t049 WITH c := replicate<span style=\"color: #000000;\">&#40;</span> dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">5000</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO <span style=\"color: #ff0000;\">\"f2( @c[1...40000] )\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE f2<span style=\"color: #000000;\">&#40;</span> @c <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t050 WITH c := replicate<span style=\"color: #000000;\">&#40;</span> dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">5000</span> <span style=\"color: #000000;\">&#41;</span>, c2 ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INFO <span style=\"color: #ff0000;\">\"f2( @c[1...40000] ), c2 := c\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE f2<span style=\"color: #000000;\">&#40;</span> @c <span style=\"color: #000000;\">&#41;</span>, c2 := c<br /><br />TEST t051 WITH a := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, a2 := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#125;</span>, bc := <span style=\"color: #000000;\">&#123;</span>| x | f1<span style=\"color: #000000;\">&#40;</span>x<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, s2 := <span style=\"color: #ff0000;\">\"static text\"</span>, n := <span style=\"color: #000000;\">1.23</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CODE f3<span style=\"color: #000000;\">&#40;</span> a, a2, s, i, s2, bc, i, n, x <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t052 WITH a := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#125;</span> CODE f2<span style=\"color: #000000;\">&#40;</span> a <span style=\"color: #000000;\">&#41;</span><br /><br />TEST t053 CODE x := f4<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />TEST t054 CODE x := f5<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />TEST t055 CODE x := space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">16</span><span style=\"color: #000000;\">&#41;</span><br /><br />TEST t056 WITH c := dtos<span style=\"color: #000000;\">&#40;</span> date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> CODE f_prv<span style=\"color: #000000;\">&#40;</span> c <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">/*** end of tests ***/</span><br /><br /><br />#ifdef __MT__<br /><br /><span style=\"color: #00C800;\">function</span> thTest<span style=\"color: #000000;\">&#40;</span> mtxJobs, aResults <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> xJob := <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">while</span> .T.<br />&nbsp; &nbsp; &nbsp; hb_mutexSubscribe<span style=\"color: #000000;\">&#40;</span> mtxJobs,, @xJob <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> xJob == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; aResults<span style=\"color: #000000;\">&#91;</span> xJob <span style=\"color: #000000;\">&#93;</span> := &<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"t\"</span> + strzero<span style=\"color: #000000;\">&#40;</span> xJob, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">enddo</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">function</span> thTestScale<span style=\"color: #000000;\">&#40;</span> mtxJobs, mtxResults <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> xJob := <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">while</span> .T.<br />&nbsp; &nbsp; &nbsp; hb_mutexSubscribe<span style=\"color: #000000;\">&#40;</span> mtxJobs,, @xJob <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> xJob == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtxResults, &<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"t\"</span> + strzero<span style=\"color: #000000;\">&#40;</span> xJob, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">enddo</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />#endif<br /><br /><br />proc test<span style=\"color: #000000;\">&#40;</span> nMT, cExclude, lScale <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> nLoopOverHead, nTimes, nSeconds, cNum, aThreads, aResults, ;<br />&nbsp; &nbsp; &nbsp; mtxJobs, mtxResults, nTimeST, nTimeMT, nTimeTotST, nTimeTotMT, ;<br />&nbsp; &nbsp; &nbsp; cTest, x, i, j<br /><br />create_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />#ifdef __HARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbmemory.ch\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> MEMORY<span style=\"color: #000000;\">&#40;</span> HB_MEM_USEDMAX <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; ? <span style=\"color: #ff0000;\">\"Warning !!! Memory statistic enabled.\"</span><br />&nbsp; &nbsp; &nbsp; ?<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> type<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"__DBGENTRY()\"</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"UI\"</span><br />&nbsp; &nbsp; &nbsp; ? <span style=\"color: #ff0000;\">\"Warning !!! HVM debugger enabled.\"</span><br />&nbsp; &nbsp; &nbsp; ?<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />#endif<br /><br /><span style=\"color: #B900B9;\">//? \"Startup loop to increase CPU clock...\"</span><br /><span style=\"color: #B900B9;\">//x := seconds() + 5; while x > seconds(); enddo</span><br /><br />#ifdef __MT__<br /><span style=\"color: #00C800;\">if</span> ! hb_mtvm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#else<br /><span style=\"color: #00C800;\">if</span> .t.<br />#endif<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> lScale<br />&nbsp; &nbsp; &nbsp; ? <span style=\"color: #ff0000;\">\"scale test available only in MULTI THREAD mode\"</span><br />&nbsp; &nbsp; &nbsp; ?<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> nMT != <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; ? <span style=\"color: #ff0000;\">\"SINGLE THREAD mode, number of threads set to 0\"</span><br />&nbsp; &nbsp; &nbsp; nMT := <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">endif</span><br />? date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, time<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, os<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />? version<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> + iif<span style=\"color: #000000;\">&#40;</span> hb_mtvm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\" (MT)\"</span> + iif<span style=\"color: #000000;\">&#40;</span> nMT != <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"+\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"\"</span><br />#ifdef __HARBOUR__<br />&nbsp; &nbsp;?? hb_compiler<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"\"</span><br />#endif<br />?? spd_cpu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">if</span> lScale .and. nMT < <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;nMT := <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">endif</span><br /><br />? <span style=\"color: #ff0000;\">\"THREADS:\"</span>, iif<span style=\"color: #000000;\">&#40;</span> nMT < <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"all->\"</span> + ltrim<span style=\"color: #000000;\">&#40;</span> str<span style=\"color: #000000;\">&#40;</span> N_TESTS <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ltrim<span style=\"color: #000000;\">&#40;</span> str<span style=\"color: #000000;\">&#40;</span> nMT <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />? <span style=\"color: #ff0000;\">\"N_LOOPS:\"</span>, ltrim<span style=\"color: #000000;\">&#40;</span> str<span style=\"color: #000000;\">&#40;</span> N_LOOPS <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">if</span> ! empty<span style=\"color: #000000;\">&#40;</span> cExclude <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"excluded tests:\"</span>, cExclude<br /><span style=\"color: #00C800;\">endif</span><br /><br />x :=t000<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />nLoopOverHead := x<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><br /><br /><span style=\"color: #00C800;\">if</span> lScale<br />&nbsp; &nbsp;? space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">56</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"1 th.\"</span> + str<span style=\"color: #000000;\">&#40;</span>nMT,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" th. &nbsp;factor\"</span><br />&nbsp; &nbsp;? replicate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"=\"</span>,<span style=\"color: #000000;\">76</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp;? dsp_result<span style=\"color: #000000;\">&#40;</span> x, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;? replicate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"=\"</span>,<span style=\"color: #000000;\">68</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br />nSeconds := seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />nTimes := hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />nTimeTotST := nTimeTotMT := <span style=\"color: #000000;\">0</span><br /><br />#ifdef __MT__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> lScale<br />&nbsp; &nbsp; &nbsp; aThreads := array<span style=\"color: #000000;\">&#40;</span> nMT <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; mtxJobs := hb_mutexCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; mtxResults := hb_mutexCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aThreads<span style=\"color: #000000;\">&#91;</span> i <span style=\"color: #000000;\">&#93;</span> := hb_threadStart<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"thTestScale\"</span>, mtxJobs, mtxResults <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cTest := strzero<span style=\"color: #000000;\">&#40;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! cTest $ cExclude<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* linear execution */</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nTimeST := seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> j:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtxJobs, i <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexSubscribe<span style=\"color: #000000;\">&#40;</span> mtxResults,, @x <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cTest := x<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nTimeST := seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nTimeST<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nTimeTotST += nTimeST<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* simultaneous execution */</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nTimeMT := seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> j:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtxJobs, i <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> j:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexSubscribe<span style=\"color: #000000;\">&#40;</span> mtxResults,, @x <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cTest := x<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nTimeMT := seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nTimeMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nTimeTotMT += nTimeMT<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ? dsp_scaleResult<span style=\"color: #000000;\">&#40;</span> cTest, nTimeST, nTimeMT, nMT, nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtxJobs, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; hb_threadWaitForAll<span style=\"color: #000000;\">&#40;</span> aThreads <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;elseif nMT < <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; aThreads := array<span style=\"color: #000000;\">&#40;</span> N_TESTS <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cNum := strzero<span style=\"color: #000000;\">&#40;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! cNum $ cExclude<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aThreads<span style=\"color: #000000;\">&#91;</span> i <span style=\"color: #000000;\">&#93;</span> := hb_threadStart<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"t\"</span> + cNum <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> aThreads<span style=\"color: #000000;\">&#91;</span> i <span style=\"color: #000000;\">&#93;</span> != <span style=\"color: #00C800;\">NIL</span> .and. hb_threadJoin<span style=\"color: #000000;\">&#40;</span> aThreads<span style=\"color: #000000;\">&#91;</span> i <span style=\"color: #000000;\">&#93;</span>, @x <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ? dsp_result<span style=\"color: #000000;\">&#40;</span> x, nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;elseif nMT > <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; aThreads := array<span style=\"color: #000000;\">&#40;</span> nMT <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; aResults := array<span style=\"color: #000000;\">&#40;</span> N_TESTS <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; mtxJobs := hb_mutexCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aThreads<span style=\"color: #000000;\">&#91;</span> i <span style=\"color: #000000;\">&#93;</span> := hb_threadStart<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"thTest\"</span>, mtxJobs, aResults <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! strzero<span style=\"color: #000000;\">&#40;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> $ cExclude<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtxJobs, i <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nMT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtxJobs, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; hb_threadWaitForAll<span style=\"color: #000000;\">&#40;</span> aThreads <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> aResults<span style=\"color: #000000;\">&#91;</span> i <span style=\"color: #000000;\">&#93;</span> != <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ? dsp_result<span style=\"color: #000000;\">&#40;</span> aResults<span style=\"color: #000000;\">&#91;</span> i <span style=\"color: #000000;\">&#93;</span>, nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp; &nbsp; mtxJobs := <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cNum := strzero<span style=\"color: #000000;\">&#40;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! cNum $ cExclude<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ? dsp_result<span style=\"color: #000000;\">&#40;</span> &<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"t\"</span> + cNum <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />#else<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> N_TESTS<br />&nbsp; &nbsp; &nbsp; cNum := strzero<span style=\"color: #000000;\">&#40;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> ! cNum $ cExclude<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;? dsp_result<span style=\"color: #000000;\">&#40;</span> &<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"t\"</span> + cNum <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br />#endif<br /><br />nTimes := hb_secondsCPU<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nTimes<br />nSeconds := seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nSeconds<br /><br /><span style=\"color: #00C800;\">if</span> lScale<br />&nbsp; &nbsp;? replicate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"=\"</span>,<span style=\"color: #000000;\">76</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;? dsp_scaleResult<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\" &nbsp;TOTAL &nbsp;\"</span>, nTimeTotST, nTimeTotMT, nMT, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;? replicate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"=\"</span>,<span style=\"color: #000000;\">76</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp;? replicate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"=\"</span>,<span style=\"color: #000000;\">68</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br />? dsp_result<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"total application time:\"</span>, nTimes <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />? dsp_result<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"total real time:\"</span>, nSeconds <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />?<br /><br />remove_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #00C800;\">function</span> f0<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">function</span> f1<span style=\"color: #000000;\">&#40;</span>x<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> x<br /><br /><span style=\"color: #00C800;\">function</span> f2<span style=\"color: #000000;\">&#40;</span>x<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">function</span> f3<span style=\"color: #000000;\">&#40;</span>a,b,c,d,e,f,g,h,i<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">function</span> f4<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4000</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">function</span> f5<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">function</span> f_prv<span style=\"color: #000000;\">&#40;</span>x<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;memvar PRV_C<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">private</span> PRV_C := x<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">/*<br />function f_pub(x)<br />&nbsp; &nbsp;memvar PUB_C<br />&nbsp; &nbsp;public PUB_C := x<br />return nil<br /><br />function f_stat(x)<br />&nbsp; &nbsp;static STAT_C<br />&nbsp; &nbsp;STAT_C := x<br />return nil<br />*/</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> mkBlock<span style=\"color: #000000;\">&#40;</span>x<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> &x<br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> errorArray<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#ifdef __NO_OBJ_ARRAY__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> array<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">16</span><span style=\"color: #000000;\">&#41;</span><br />#else<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> errorNew<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />#endif<br /><br /><span style=\"color: #00C800;\">static</span> func dsp_result<span style=\"color: #000000;\">&#40;</span> aResult, nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> padr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"[ \"</span> + <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> aResult<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">56</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" ]\"</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #ff0000;\">\".\"</span> <span style=\"color: #000000;\">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strtran<span style=\"color: #000000;\">&#40;</span> str<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">max</span><span style=\"color: #000000;\">&#40;</span> aResult<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> - nLoopOverHead, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\".\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">static</span> func dsp_scaleResult<span style=\"color: #000000;\">&#40;</span> cTest, nTimeST, nTimeMT, nMT, nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> .f.<br />&nbsp; &nbsp; &nbsp; nTimeST := <span style=\"color: #0000ff;\">max</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, nTimeST - nMT * nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; nTimeMT := <span style=\"color: #0000ff;\">max</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, nTimeMT - nMT * nLoopOverHead <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> padr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"[ \"</span> + <span style=\"color: #0000ff;\">left</span><span style=\"color: #000000;\">&#40;</span> cTest, <span style=\"color: #000000;\">50</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" ]\"</span>, <span style=\"color: #000000;\">54</span>, <span style=\"color: #ff0000;\">\"_\"</span> <span style=\"color: #000000;\">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; str<span style=\"color: #000000;\">&#40;</span> nTimeST, <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" \"</span> + str<span style=\"color: #000000;\">&#40;</span> nTimeMT, <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" ->\"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; str<span style=\"color: #000000;\">&#40;</span> nTimeST / nTimeMT, <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br /><span style=\"color: #00D7D7;\">#define</span> TMP_FILE <span style=\"color: #ff0000;\">\"_tst_tmp.dbf\"</span><br /><span style=\"color: #00C800;\">static</span> proc create_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;remove_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;dbcreate<span style=\"color: #000000;\">&#40;</span> TMP_FILE, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"F_C\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"F_N\"</span>, <span style=\"color: #ff0000;\">\"N\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"F_D\"</span>, <span style=\"color: #ff0000;\">\"D\"</span>, &nbsp;<span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;use TMP_FILE exclusive<br />&nbsp; &nbsp;dbappend<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;field->F_C := dtos<span style=\"color: #000000;\">&#40;</span>date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;field->F_N := <span style=\"color: #000000;\">112345.67</span><br />&nbsp; &nbsp;field->F_D := date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;dbclosearea<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #00C800;\">static</span> proc remove_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ferase<span style=\"color: #000000;\">&#40;</span> TMP_FILE <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #00C800;\">static</span> proc close_db<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;dbclosearea<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #00C800;\">static</span> proc use_dbsh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;use TMP_FILE shared<br /><span style=\"color: #00C800;\">return</span><br /><br />#ifdef __HARBOUR__<br />#ifndef __XHARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> spd_cpu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> hb_version<span style=\"color: #000000;\">&#40;</span> HB_VERSION_CPU <span style=\"color: #000000;\">&#41;</span><br />#endif<br />#endif<br />#ifdef __CLIPPER__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> spd_cpu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"x86\"</span><br />#endif<br />#ifdef FlagShip<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> spd_cpu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"?\"</span><br />#endif<br />#ifdef __CLIP__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> spd_cpu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"?\"</span><br />#endif<br />#ifdef __XPP__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> spd_cpu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"x86\"</span><br />#endif<br />#ifdef __XHARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> spd_cpu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"?\"</span><br />#endif<br /><br />#ifdef __CLIPPER__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_mtvm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> .f. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* Clipper does not support MT */</span><br />#endif<br />#ifdef FlagShip<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_mtvm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> .f. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* FlagShip does not support MT */</span><br />#endif<br />#ifdef __CLIP__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_mtvm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> .t. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* CLIP always uses VM with MT support */</span><br />#endif<br />#ifdef __XPP__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_mtvm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> .t. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* xBase++ always uses VM with MT support */</span><br />#endif<br />#ifdef __XHARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_mtvm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> hb_multiThread<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp;<span style=\"color: #B900B9;\">/* check for MT support in xHarbour VM */</span><br />#endif<br /><br /><br />#ifndef __MT__<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* trivial single thread version of once execution */</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> xOnceControl, bAction <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> lFirstCall := .f.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> xOnceControl == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> bAction != <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; eval<span style=\"color: #000000;\">&#40;</span> bAction <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xOnceControl := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lFirstCall := .t.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> lFirstCall<br /><br />#else<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* Add support for MT functions for used compiler<br />&nbsp; &nbsp; */</span><br /><br />#ifdef __XHARBOUR__<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_mutexSubscribe<span style=\"color: #000000;\">&#40;</span> mtx, nTimeOut, xSubscribed <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> lSubscribed<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> valtype<span style=\"color: #000000;\">&#40;</span> nTimeOut <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"N\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nTimeOut := <span style=\"color: #0000ff;\">round</span><span style=\"color: #000000;\">&#40;</span> nTimeOut * <span style=\"color: #000000;\">1000</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xSubscribed := Subscribe<span style=\"color: #000000;\">&#40;</span> mtx, nTimeOut, @lSubscribed <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xSubscribed := Subscribe<span style=\"color: #000000;\">&#40;</span> mtx <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lSubscribed := .t.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> lSubscribed<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtx, xValue <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; Notify<span style=\"color: #000000;\">&#40;</span> mtx, xValue <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* In xHarbour there is race condition in JoinThread() which fails if<br />&nbsp; &nbsp; * thread have ended before call to JoinThread() so we cannot use it.<br />&nbsp; &nbsp; * Exactly the same problem exists in GetThreadId().<br />&nbsp; &nbsp; * As workaround we will use mutexes as thread IDs and notify/subscribe<br />&nbsp; &nbsp; * mechanism to simulate thread join operation and passing thread return<br />&nbsp; &nbsp; * value.<br />&nbsp; &nbsp; */</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_threadStart<span style=\"color: #000000;\">&#40;</span> ... <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> thId<br />&nbsp; &nbsp; &nbsp; thId := hb_mutexCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* For some reasons codeblocks as thread startup entry are broken<br />&nbsp; &nbsp; &nbsp; &nbsp;* in xHarbour so we use intermediate function instead<br />&nbsp; &nbsp; &nbsp; &nbsp;*/</span><br />&nbsp; &nbsp; &nbsp; StartThread<span style=\"color: #000000;\">&#40;</span> @_thFuncFirst<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, thId, hb_aParams<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> thId<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> _thFuncFirst<span style=\"color: #000000;\">&#40;</span> thID, aParams <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; Notify<span style=\"color: #000000;\">&#40;</span> thId, hb_execFromArray<span style=\"color: #000000;\">&#40;</span> aParams <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_threadJoin<span style=\"color: #000000;\">&#40;</span> thId, xResult <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; xResult := Subscribe<span style=\"color: #000000;\">&#40;</span> thId <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> .t.<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_threadWaitForAll<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; WaitForThreads<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> xOnceControl, bAction <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">static</span> s_mutex<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> lFirstCall := .f.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> s_mutex == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s_mutex := hb_mutexCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> xOnceControl == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexLock<span style=\"color: #000000;\">&#40;</span> s_mutex <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> xOnceControl == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> bAction != <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;eval<span style=\"color: #000000;\">&#40;</span> bAction <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xOnceControl := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lFirstCall := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_mutexUnlock<span style=\"color: #000000;\">&#40;</span> s_mutex <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> lFirstCall<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">init</span> proc once_init<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* set workareas local to thread */</span><br />&nbsp; &nbsp; &nbsp; set workarea <span style=\"color: #00C800;\">private</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* initialize mutex in hb_threadOnce() */</span><br />&nbsp; &nbsp; &nbsp; hb_threadOnce<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* initialize error object to reduce to chance for possible crash<br />&nbsp; &nbsp; &nbsp; &nbsp;* when two threads try to create new error class simultaneously.<br />&nbsp; &nbsp; &nbsp; &nbsp;* xHarbour does not have any protection against such situation<br />&nbsp; &nbsp; &nbsp; &nbsp;*/</span><br />&nbsp; &nbsp; &nbsp; errorNew<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span><br /><br />#endif <span style=\"color: #B900B9;\">/* __XHARBOUR__ */</span><br /><br /><br />#ifdef __XPP__<br /><br />#ifdef __HARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* for testing. Harbour also can use xBase++ API in this code */</span><br />&nbsp; &nbsp;<span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbclass.ch\"</span><br />#endif<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">INIT</span> PROCEDURE once_init<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* initialize sync object in hb_threadOnce() */</span><br />&nbsp; &nbsp; &nbsp; hb_threadOnce<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">CLASS</span> Notifier<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">PROTECTED</span>:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">VAR</span> aQueue<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">VAR</span> oSignal<br />&nbsp; &nbsp; &nbsp; EXPORTED:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #0000ff;\">init</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SYNC <span style=\"color: #00C800;\">METHOD</span> notify<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SYNC <span style=\"color: #00C800;\">METHOD</span> subscribe<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDCLASS</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> Notifier:<span style=\"color: #0000ff;\">init</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">aQueue</span> := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oSignal</span> := Signal<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">self</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> Notifier:<span style=\"color: #000000;\">notify</span><span style=\"color: #000000;\">&#40;</span> xValue <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aQueue</span>, xValue <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oSignal</span>:<span style=\"color: #000000;\">signal</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">self</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> Notifier:<span style=\"color: #000000;\">subscribe</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> xResult<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">WHILE</span> Len<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aQueue</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">oSignal</span>:<span style=\"color: #000000;\">wait</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDDO</span><br />&nbsp; &nbsp; &nbsp; xResult := ::<span style=\"color: #000000;\">aQueue</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; ADel<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aQueue</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ASize<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aQueue</span>, Len<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aQueue</span> <span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> xResult<br /><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> hb_mutexSubscribe<span style=\"color: #000000;\">&#40;</span> mtx, nTimeOut, xResult <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/* Ignore timeout - it's not used in this test */</span><br />&nbsp; &nbsp; &nbsp; xResult := mtx:<span style=\"color: #000000;\">subscribe</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> hb_mutexNotify<span style=\"color: #000000;\">&#40;</span> mtx, xValue <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> mtx:<span style=\"color: #000000;\">notify</span><span style=\"color: #000000;\">&#40;</span> xValue <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> hb_mutexCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> Notifier<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">CLASS</span> Once<br />&nbsp; &nbsp; &nbsp; EXPORTED:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">SYNC</span> <span style=\"color: #00C800;\">METHOD</span> onceDo<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDCLASS</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> Once:<span style=\"color: #000000;\">onceDo</span><span style=\"color: #000000;\">&#40;</span> xOnceControl, bAction <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> lFirstCall := .f.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> xOnceControl == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> bAction != <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Eval<span style=\"color: #000000;\">&#40;</span> bAction <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xOnceControl := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lFirstCall := .t.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> lFirstCall<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> hb_threadOnce<span style=\"color: #000000;\">&#40;</span> xOnceControl, bAction <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">STATIC</span> s_oObject := <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> s_oObject == <span style=\"color: #00C800;\">NIL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s_oObject := Once<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> s_oObject:<span style=\"color: #000000;\">onceDo</span><span style=\"color: #000000;\">&#40;</span> @xOnceControl, bAction <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> hb_threadStart<span style=\"color: #000000;\">&#40;</span> cFunc, xPar1, xPar2, xPar3 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oThread<br />&nbsp; &nbsp; &nbsp; oThread := Thread<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oThread:<span style=\"color: #000000;\">start</span><span style=\"color: #000000;\">&#40;</span> cFunc, xPar1, xPar2, xPar3 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> oThread<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> hb_threadJoin<span style=\"color: #000000;\">&#40;</span> oThread, xResult <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oThread:<span style=\"color: #000000;\">synchronize</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; xResult := oThread:<span style=\"color: #000000;\">result</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> hb_threadWaitForAll<span style=\"color: #000000;\">&#40;</span> aThreads <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ThreadWaitAll<span style=\"color: #000000;\">&#40;</span> aThreads <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br />#endif <span style=\"color: #B900B9;\">/* __XPP__ */</span><br /><br /><br /><span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp;static function hb_threadStart( cFunc, xPar1, xPar2, xPar3 )<br />&nbsp; &nbsp;return nil<br /><br />&nbsp; &nbsp;static function hb_threadJoin( thId, xResult )<br />&nbsp; &nbsp;return nil<br /><br />&nbsp; &nbsp;static function hb_mutexCreate()<br />&nbsp; &nbsp;return nil<br /><br />&nbsp; &nbsp;static function hb_mutexSubscribe()<br />&nbsp; &nbsp;return nil<br />&nbsp; &nbsp;static function hb_mutexLock()<br />&nbsp; &nbsp;return nil<br />&nbsp; &nbsp;static function hb_mutexUnlock()<br />&nbsp; &nbsp;return nil<br />&nbsp; &nbsp;static function hb_mutexNotify()<br />&nbsp; &nbsp;return nil<br />&nbsp; &nbsp;static function hb_threadWaitForAll()<br />&nbsp; &nbsp;return nil<br />&nbsp; &nbsp;static function hb_mtvm()<br />&nbsp; &nbsp;return .f.<br />*/</span><br /><br />#endif<br /><br />#ifdef FlagShip<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> fs_seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; LOCAL_DOUBLE nret := <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; #Cinline<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00D7D7;\">#include</span> <sys/time.h><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;struct timeval tv;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> gettimeofday<span style=\"color: #000000;\">&#40;</span>&tv, <span style=\"color: #00C800;\">NULL</span><span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nret = <span style=\"color: #000000;\">&#40;</span>double<span style=\"color: #000000;\">&#41;</span> tv.tv_sec + <span style=\"color: #000000;\">&#40;</span>double<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>tv.tv_usec<span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">1000000</span>;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; #endCinline<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> nret<br />&nbsp; &nbsp;#ifndef FlagShip5<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">FUNCTION</span> cursesinit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;#endif<br />#endif<br />&nbsp;</div>[/code:3cmsqr0u]", "time": "08:21", "topic": "BCC 7.0 64 is almost double fast as BCC 7.1 64", "username": "Antonio Linares" } ]
BCC 7.0 64 is almost double fast as BCC 7.1 64
[ { "date": "2016-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nwhat about 32 bit version of BCC? I'm using 7.1 and didn't notice any speed decreasing.\n\nEMG", "time": "09:38", "topic": "BCC 7.0 64 is almost double fast as BCC 7.1 64", "username": "Enrico Maria Giordano" } ]
BCC 7.0 64 is almost double fast as BCC 7.1 64
[ { "date": "2016-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "I will have to deactivate my antivirus while running speedtst.exe.\nIt is deleted after starting it....\n\nI will do it later...", "time": "09:52", "topic": "BCC 7.0 64 is almost double fast as BCC 7.1 64", "username": "Marc Vanzegbroeck" } ]
BCC 7.0 64 is almost double fast as BCC 7.1 64
[ { "date": "2016-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nYesterday Manuel Alvarez commented me that there is a LLVM\\Clang based version of BCC32 which\nmay be much faster than BCC32:\n\n[quote:2yat79ch]\n<!-- m --><a class=\"postlink\" href=\"http://docwiki.embarcadero.com/RADStudio/Seattle/en/What's_New\">http://docwiki.embarcadero.com/RADStudi ... What's_New</a><!-- m -->\n\nC++ Compilers\n\nNew Clang-enhanced C++ Compiler for 32-bit Windows \n[b:2yat79ch]BCC32C is a Clang-enhanced C++ compiler for 32-bit Windows[/b:2yat79ch]. BCC32C allows you to take advantage of many C++11 features, and it makes it easier to maintain a single code base to target both 32-bit and 64-bit Windows.\nBCC32C does not replace BCC32; RAD Studio lets you choose which compiler you want to use for each of your projects. BCC32 is the default C++ compiler for 32-bit Windows. To switch a project to BCC32C, select Project > Options > C++ Compiler and, under Classic Compiler, disable the \"Use 'classic' Borland compiler\" option.[/quote:2yat79ch]", "time": "09:53", "topic": "BCC 7.0 64 is almost double fast as BCC 7.1 64", "username": "Antonio Linares" } ]
BCC 7.0 64 is almost double fast as BCC 7.1 64