messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2008-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Armando,\r\n\r\nLa razón es que hasta la versión 2.4 de FWH existía un bug que no liberaba correctamente las DLLs usadas, asi al hacer LoadLibray() la DLL se quedaba cargada en memoria, aunque se llamase a FreeLibrary().\r\n\r\nAl corregirlo en siguientes versiones de FWH, entonces se hacía preciso volver a cargar la DLL, ya que dejaba de estar disponible.", "time": "10:16", "topic": "Antonio...Codigo que no funciona", "username": "Antonio Linares" } ]
Antonio...Codigo que no funciona
[ { "date": "2008-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":q8m462i7]Armando,\n\nLa razón es que hasta la versión 2.4 de FWH existía un bug que no liberaba correctamente las DLLs usadas, asi al hacer LoadLibray() la DLL se quedaba cargada en memoria, aunque se llamase a FreeLibrary().\n\nAl corregirlo en siguientes versiones de FWH, entonces se hacía preciso volver a cargar la DLL, ya que dejaba de estar disponible.[/quote:q8m462i7]\r\n\r\nPues Sí\r\n\r\nLo que pasa es que tuvo que pasar mucho tiempo para darme cuenta que ese fue uno de los cambios que nadie avisó que se había dado... (no está encontré documentación al respecto)\r\n\r\nAhora estoy yendo a la busqueda de solucionar el ajuste automático de la ventana cliente en MDI de manera que los degradados y bitmaps de fondo también se reajusten ante el cambio de resolución.\r\n\r\nTengo algunos ejemplos realizados en C++ pero como no soy bueno en ese lenguaje me está tomando mucho tiempo... (no me gusta depender del API de windows)", "time": "18:34", "topic": "Antonio...Codigo que no funciona", "username": "Armando Picon" } ]
Antonio...Codigo que no funciona
[ { "date": "2008-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Armando,\r\n\r\nEn el fichero whatsnew.txt de FWH, del cual publicamos aqui copia en cada build, se especificó claramente el error y la solución:\r\n\r\n August 2004 build\r\n =============\r\n\r\n...\r\n\r\n * IMPORTANT: Since version 2.5, FreeLibrary() 32 bits is properly working, so if you are using Borland controls, you will have to do a previous local hDLL := LoadLibrary( \"bwcc32.dll\" ) and a final FreeLibrary( hDLL ) besides the call to BWCCRegister() that keeps being required.\r\n\r\n>\r\nAhora estoy yendo a la busqueda de solucionar el ajuste automático de la ventana cliente en MDI de manera que los degradados y bitmaps de fondo también se reajusten ante el cambio de resolución. \r\n>\r\n\r\nSi explicas lo que quieres hacer y pones un ejemplo, con mucho gusto intentaremos ayudar <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "20:05", "topic": "Antonio...Codigo que no funciona", "username": "Antonio Linares" } ]
Antonio...Codigo que no funciona
[ { "date": "2006-03-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Maestro:\nSería posible me envio los archivos a mi tambien\n\nSe los pedí en el otro post, pero como hubieron\nmuchos pedidos seguro se le paso el mio.\n\nMuchas gracias y disculpe.\n\nSaludos\n\nRuben Fernandez.", "time": "05:33", "topic": "Antonio...butonbmp de Rosine?", "username": "RuFer" } ]
Antonio...butonbmp de Rosine?
[ { "date": "2006-03-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Rubén,\n\nVamos a publicarlos en el nuevo build de Abril dentro de pocos días.", "time": "08:32", "topic": "Antonio...butonbmp de Rosine?", "username": "Antonio Linares" } ]
Antonio...butonbmp de Rosine?
[ { "date": "2006-03-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Maestro\n\nSaludos\n\nRuben Fernandez", "time": "14:22", "topic": "Antonio...butonbmp de Rosine?", "username": "RuFer" } ]
Antonio...butonbmp de Rosine?
[ { "date": "2020-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "* New: FUll support to easily build your PRGs from Microsoft free vscode. Just open\na PRG from FWH\\samples and build it using Ctrl + Shift + B\"\n\nI tried this ... but clearly I need to understand the setup.\n\nI downloaded the code program ... but how does it need to be configured ? What are the steps ? I thought there was a section on this forum but I can't find it.\n\nThanks.", "time": "18:19", "topic": "Antonio: Please explain", "username": "TimStone" } ]
Antonio: Please explain
[ { "date": "2020-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Tim,\n\nPlease review this thread:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=231362#p231362\">viewtopic.php?p=231362#p231362</a><!-- l -->", "time": "23:31", "topic": "Antonio: Please explain", "username": "Antonio Linares" } ]
Antonio: Please explain
[ { "date": "2020-05-13", "forum": "FiveWin for Harbour/xHarbour", "text": "OK ... I looked at that thread. I reinstalled FWH 20.04. I was able to get the settings to now use Harbour to generate the .c code.\n\nI was working with fivedit.prg in sources. I get the .c code compiled ... but now what do I need to do to get it to link the program and run it ? \n\nThanks.", "time": "00:24", "topic": "Antonio: Please explain", "username": "TimStone" } ]
Antonio: Please explain
[ { "date": "2020-05-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\n1. Open Microsoft vscode and select the folder c:\\FWH\\samples folder\n\n2. Open a PRG from samples from vscode\n\n3. Press Ctrl + Shift + B", "time": "06:59", "topic": "Antonio: Please explain", "username": "Antonio Linares" } ]
Antonio: Please explain
[ { "date": "2020-05-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nThat is exactly what I am doing.\n\nVSCode builds the .c but stops there and does not build the actual executable or run it.\n\nWhat am I missing ? It must be a setup issue ... so what do I need to change and where ?\n\nTim", "time": "19:18", "topic": "Antonio: Please explain", "username": "TimStone" } ]
Antonio: Please explain
[ { "date": "2020-05-14", "forum": "FiveWin for Harbour/xHarbour", "text": "I really would like to use this feature from 20.04, but I need to understand why it does not complete the build. It creates the .c file and stops.\n\nCertainly it does more than this.", "time": "22:04", "topic": "Antonio: Please explain", "username": "TimStone" } ]
Antonio: Please explain
[ { "date": "2020-05-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Tim,\n\nDo you get an error msg ? Are you placed at c:\\fwh\\samples ?\n\nHave you installed FWH 20.04 ?\n\nYou can edit the tasks.json file yourself and check it is looks like the one I pointed you to", "time": "06:23", "topic": "Antonio: Please explain", "username": "Antonio Linares" } ]
Antonio: Please explain
[ { "date": "2020-05-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nYes, I am running by default in the samples directory.\n\nI am using the simpler version you pointed to, which is using buildh32.bat ( since I'm using Microsoft )\n\nThe json is in the .vscode subfolder in the samples directory.\n\nWhen I press t he keys, it tells me it cannot find buildh32.bat. It is there, in the samples directory.\n\nSo, I have a clear path problem here. Though I've opened the correct folder in VS Code, I have a hunch the json is somehow directing it to look for the .bat file elsewhere.\n\nIf I execute the commoand. buildh32 fivedemo. the program is built and run. So clearly the .bat file is good.\n\nYour input would be appreciated.\n\nTim", "time": "19:00", "topic": "Antonio: Please explain", "username": "TimStone" } ]
Antonio: Please explain
[ { "date": "2020-05-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nPlease open vscode and select \"c:\\fwh\\samples\" as the folder to work on from vscode\n\nBeing there, open a new terminal from vscode and select \"cmd\" instead of \"powershell\".\n\nThen press Ctrl + Shift + B and it should work fine. I just tested it here with success.", "time": "04:47", "topic": "Antonio: Please explain", "username": "Antonio Linares" } ]
Antonio: Please explain
[ { "date": "2020-05-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you. Using the New Terminal with CMD was the missing step. It now works.\n \nThe other thing people need to know is to use the proper build script. In my case, Buildh32.bat is used to build with Harbour/Microsoft VC++", "time": "19:56", "topic": "Antonio: Please explain", "username": "TimStone" } ]
Antonio: Please explain
[ { "date": "2014-01-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, i am using a printerobject with the direct pdf-output. Now i see, that the emf-files in the temp-directory are still present and should be deleted! If i will manually or programatically delete this files, i become a \"Access Violation\".\n...and the temp-directory grows and grows...\nA second question: After ENDPRINT the printobject shows with valtype(oPrint) still \"O\"???", "time": "10:55", "topic": "Antonio: \"BUG\" in TPrinter", "username": "byte-one" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Gunther,\n\n1. the emf-files in the temp-directory are still present\n\nWhere is located your temp-directory ? What files are there ? Please show a test and the names of the files that you get. If you cant delete them it means that they are open (in use)\n\n2. END... does not mean that the object is turned into nil. When you go out of the scope where it is defined, the garbage collector will do its work and will finally free it.", "time": "15:06", "topic": "Antonio: \"BUG\" in TPrinter", "username": "Antonio Linares" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-21", "forum": "FiveWin for Harbour/xHarbour", "text": "1. Antonio, when using normal Tprinter-object the EMFs are deleted! Only when i use the direct pdf-creation with clausula ..FILE \"xyz.pdf\" the files in Format z.b. \"234571.emf\" are not erased! The temp-directory are in normal windows location. \n2. END.. Ok, i understand!!", "time": "18:04", "topic": "Antonio: \"BUG\" in TPrinter", "username": "byte-one" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Gunter,\n\nAre you calling ENDPRINT after sending the print to the PDF file ?\n\nClass TPrinter Method End() is responsible for deleting the metafiles.", "time": "23:47", "topic": "Antonio: \"BUG\" in TPrinter", "username": "Antonio Linares" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:3npp9h8k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> PrintEnd<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> oPrinter:<span style=\"color: #000000;\">lMeta</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">&#40;</span> oPrinter:<span style=\"color: #000000;\">cFile</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrinter:<span style=\"color: #000000;\">Preview</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; elseif <span style=\"color: #ff0000;\">\"pdf\"</span> $ Lower<span style=\"color: #000000;\">&#40;</span> oPrinter:<span style=\"color: #000000;\">cFile</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FWSavePreviewToPDF<span style=\"color: #000000;\">&#40;</span> oPrinter, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Lower<span style=\"color: #000000;\">&#40;</span> cFileExt<span style=\"color: #000000;\">&#40;</span> oPrinter:<span style=\"color: #000000;\">cFile</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"pdf\"</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrinter:<span style=\"color: #000000;\">cFile</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span>, oPrinter:<span style=\"color: #000000;\">lPreview</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; oPrinter:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;oPrinter := <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3npp9h8k]\n\nAntonio, you see, that end() only calling on normal prints! On preview, the preview itself deletes the EMFs, on FWSavePreviewToPDF(..) nobody deletes this files!\nShould end() called in all cases?", "time": "09:10", "topic": "Antonio: \"BUG\" in TPrinter", "username": "byte-one" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, I found a solution:\n\n1. In Emf2Jpeg() instead of CloseEnhMetafile() using DeleteEnhMetafile()! In this function should also inserted a sysrefresh(). Then i can produce hundreds of pages without Problems!\n2. In FWSavePreviwToPDF() before returning oDevice:end() BUT only, when[b:1qbgq6kq] not [/b:1qbgq6kq]called from TPreview as the preview deletes the EMFs!!", "time": "09:49", "topic": "Antonio: \"BUG\" in TPrinter", "username": "byte-one" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Gunther,\n\nI guess you can also do:\n\nENDPRINT\noPrinter:End()\n\nanyhow, please post here your exact code changes so we can review them and include them, many thanks", "time": "10:02", "topic": "Antonio: \"BUG\" in TPrinter", "username": "Antonio Linares" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "This is my code, I use. In poor Computers with only 1Gb memory it can bee, the program terminates without any message! Possibly from the FI functions with Memory? \n\n[code=fw:pwgemtmj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> FWSavePreviewToPDF<span style=\"color: #000000;\">&#40;</span> oDevice, cPDF, lOpen, nQual <span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #B900B9;\">// oDevice can be oPrinter or oPreview</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cOrient, oPDF<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> hWnd , lPreview<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">DEFAULT</span> nQual := <span style=\"color: #000000;\">0</span> , lPreview := .F.<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> oDevice:<span style=\"color: #000000;\">IsKindOf</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"TPREVIEW\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; hWnd &nbsp; &nbsp; := oDevice:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span><br />&nbsp; &nbsp; &nbsp; oDevice &nbsp;:= oDevice:<span style=\"color: #000000;\">oDevice</span><br />&nbsp; &nbsp; &nbsp; lPreview := .T.<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> LoadFreeImage<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <= <span style=\"color: #000000;\">32</span><br />&nbsp; &nbsp; &nbsp; MsgAlert<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"freeimage.dll not found\"</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;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">DEFAULT</span> cPDF &nbsp; := cGetFile<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"PDF File (*.pdf)|*.pdf|\"</span>, <span style=\"color: #ff0000;\">\"Select PDF File to Save\"</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CurDir<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, .t. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">&#40;</span> cPDF <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; cPDF = cFileSetExt<span style=\"color: #000000;\">&#40;</span> cPDF, <span style=\"color: #ff0000;\">\"pdf\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; CursorWait<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; cOrient = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oDevice:<span style=\"color: #000000;\">nHorzSize</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> > oDevice:<span style=\"color: #000000;\">nVertSize</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">'L'</span>, <span style=\"color: #ff0000;\">'P'</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oPdf = fwPdf<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> cPdf, cOrient, nQual <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; AEval<span style=\"color: #000000;\">&#40;</span> oDevice:<span style=\"color: #000000;\">aMeta</span>, <span style=\"color: #000000;\">&#123;</span> | cMeta |<span style=\"color: #000000;\">&#40;</span> oPdf:<span style=\"color: #000000;\">AddMeta</span><span style=\"color: #000000;\">&#40;</span> cMeta <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; oPdf:<span style=\"color: #000000;\">Close</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; CursorArrow<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">DEFAULT</span> lOpen := MsgYesNo<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"View \"</span> + cPDF + <span style=\"color: #ff0000;\">\" (Y/N)?\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> lOpen<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShellExecute<span style=\"color: #000000;\">&#40;</span> IfNil<span style=\"color: #000000;\">&#40;</span> hWnd, GetWndDefault<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"open\"</span>, cPDF <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; cPDF &nbsp;:= <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>!lPreview,oDevice:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span>&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//BYTE-ONE 2014</span><br /><br /><span style=\"color: #00C800;\">return</span> cPDF<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> Emf2Jpeg<span style=\"color: #000000;\">&#40;</span> cEMF , nQual <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cJpeg &nbsp; &nbsp;:= cFileSetExt<span style=\"color: #000000;\">&#40;</span> cEMF, <span style=\"color: #ff0000;\">\"jpg\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> hDC1, hDC, hDib, hDib2, hMem, hBmp, hOldBmp, hEMF<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cBuf, oRect, lRet := .f.<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nFormat<br /><br />&nbsp; &nbsp;cBuf &nbsp; &nbsp; &nbsp; &nbsp; := MemoRead<span style=\"color: #000000;\">&#40;</span> cEMF <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oRect &nbsp; &nbsp; &nbsp; &nbsp;:= TRect<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;\">0</span>, <span style=\"color: #000000;\">0</span>, Bin2L<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cBuf, <span style=\"color: #000000;\">21</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">2</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Bin2L<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cBuf, <span style=\"color: #000000;\">17</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">2</span> &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;cBuf &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #00C800;\">nil</span> &nbsp;<span style=\"color: #B900B9;\">// to release memory</span><br />&nbsp; &nbsp;HB_GCAll<span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hEMF &nbsp; &nbsp; &nbsp; &nbsp;:= GetEnhMetaFile<span style=\"color: #000000;\">&#40;</span> cEMF <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hDC1 &nbsp; &nbsp; &nbsp; &nbsp;:= GetDC<span style=\"color: #000000;\">&#40;</span> GetDesktopWindow<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hDC &nbsp; &nbsp; &nbsp; &nbsp; := CreateCompatibleDC<span style=\"color: #000000;\">&#40;</span> hDC1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hBmp &nbsp; &nbsp; &nbsp; &nbsp;:= CreateCompatibleBitmap<span style=\"color: #000000;\">&#40;</span> hDC1, oRect:<span style=\"color: #000000;\">nWidth</span>, oRect:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hOldBmp &nbsp; &nbsp; := SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FillRect<span style=\"color: #000000;\">&#40;</span> hDC, oRect:<span style=\"color: #000000;\">aRect</span>, GetStockObject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;PlayEMF<span style=\"color: #000000;\">&#40;</span> hDC, hEMF, oRect:<span style=\"color: #000000;\">cRect</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;DeleteEnhMetafile<span style=\"color: #000000;\">&#40;</span> hEMF <span style=\"color: #000000;\">&#41;</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//BYTE-ONE 2014</span><br />&nbsp; &nbsp;hDib &nbsp; &nbsp; &nbsp; &nbsp;:= DibFromBitmap<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;cBuf &nbsp; &nbsp; &nbsp; &nbsp;:= DibToStr<span style=\"color: #000000;\">&#40;</span> hDib <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;GloBalFree<span style=\"color: #000000;\">&#40;</span> hDib <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hOldBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;DeleteDC<span style=\"color: #000000;\">&#40;</span> hDC <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;DeleteDC<span style=\"color: #000000;\">&#40;</span> hDC1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;DeleteObject<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hMem &nbsp; &nbsp; &nbsp; &nbsp;:= FI_OpenMemory<span style=\"color: #000000;\">&#40;</span> cBuf, Len<span style=\"color: #000000;\">&#40;</span> cBuf <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;nFormat &nbsp; &nbsp; := FI_GetFileTypeFromMemory<span style=\"color: #000000;\">&#40;</span> hMem, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hDib &nbsp; &nbsp; &nbsp; &nbsp;:= FI_LoadFromMemory<span style=\"color: #000000;\">&#40;</span> nFormat, hMem, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FI_CloseMemory<span style=\"color: #000000;\">&#40;</span> hMem <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;cBuf &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #00C800;\">nil</span> &nbsp;<span style=\"color: #B900B9;\">// to release memory</span><br />&nbsp; &nbsp;HB_GCAll<span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hDib2 &nbsp; &nbsp; &nbsp; := FICnv24<span style=\"color: #000000;\">&#40;</span> hDib <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FIUnload<span style=\"color: #000000;\">&#40;</span> hDib <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;lRet &nbsp; &nbsp; &nbsp; &nbsp;:= FISave<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, hDib2, cJpeg, nQual <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FIUnload<span style=\"color: #000000;\">&#40;</span> hDib2 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;cBuf &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lRet, MemoRead<span style=\"color: #000000;\">&#40;</span> cJpeg <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FErase<span style=\"color: #000000;\">&#40;</span> cJpeg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;sysrefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>&nbsp;&nbsp; &nbsp; <span style=\"color: #B900B9;\">//BYTE-ONE 2014</span><br /><br /><span style=\"color: #00C800;\">return</span> cBuf<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span></div>[/code:pwgemtmj]", "time": "10:13", "topic": "Antonio: \"BUG\" in TPrinter", "username": "byte-one" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Have you checked for memory leaks?", "time": "18:20", "topic": "Antonio: \"BUG\" in TPrinter", "username": "James Bott" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes James, no leaks. Maybe the memory-functions from \"freeimage\" are responsible for this fault!?\nWe should change to file-functions, but i am not so versed with freeimage.", "time": "20:20", "topic": "Antonio: \"BUG\" in TPrinter", "username": "byte-one" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nPerhaps you need to use a general purpose memory leak detector program instead of the Fivewin functions. This might find memory leaks in freeimage.\n\nJames", "time": "20:56", "topic": "Antonio: \"BUG\" in TPrinter", "username": "James Bott" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Maybe this old message will help.\n\nJames\n\n[quote:3gocq68p]From: Patrick Mast <patrick@winfakt.com>\nSubject: Re: FW Win 2000\nDate: Friday, January 05, 2001 2:08 AM\n\nUwe,\n\n> Big Prob my Fw App crashes with a Gpf under Win 2000\n> Any Tip for me ??\nMy app works great in Win2000.\n\nHave you tried this:\n\n[code=fw:3gocq68p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// In the begin of your app:</span><br />InterruptRegister<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> || ControlGPF<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #B900B9;\">// Setting our own GPF controller</span><br /><br /><span style=\"color: #B900B9;\">//-----------</span><br /><span style=\"color: #00C800;\">function</span> ControlGPF<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//SOCS</span><br />   CLOSE <span style=\"color: #00C800;\">DATA</span><br />   MsgAlert<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"A Windows GPF occured...\"</span><span style=\"color: #000000;\">&#41;</span><br />   InterruptUnRegister<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #B900B9;\">// We release our GPF controller</span><br />   Eval<span style=\"color: #000000;\">&#40;</span> ErrorBlock<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, _FWGenError<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"Undetermined GPF\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #B900B9;\">//---------</span><br /> </div>[/code:3gocq68p]\nThis way maybe you can see what line causes the GPF.\n\n--\nRegards,\n\nPatrick Mast\n<!-- m --><a class=\"postlink\" href=\"http://www.Patrick.Be.kz\">http://www.Patrick.Be.kz</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://www.FiveWin.Be.kz\">http://www.FiveWin.Be.kz</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://www.Harbour-Project.org\">http://www.Harbour-Project.org</a><!-- m -->\n[/quote:3gocq68p]", "time": "21:37", "topic": "Antonio: \"BUG\" in TPrinter", "username": "James Bott" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Gunther and Mr Antonio\n\nI suggest modification of printend() function and no other changes anywhere else.\n\nProposed New function\n[code=fw:x4w5cox9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> PrintEnd<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> oPrinter:<span style=\"color: #000000;\">lMeta</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">&#40;</span> oPrinter:<span style=\"color: #000000;\">cFile</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrinter:<span style=\"color: #000000;\">Preview</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; elseif <span style=\"color: #ff0000;\">\"pdf\"</span> $ Lower<span style=\"color: #000000;\">&#40;</span> oPrinter:<span style=\"color: #000000;\">cFile</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FWSavePreviewToPDF<span style=\"color: #000000;\">&#40;</span> oPrinter, oPrinter:<span style=\"color: #000000;\">cFile</span>, oPrinter:<span style=\"color: #000000;\">lPreview</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrinter:<span style=\"color: #000000;\">End</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;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; oPrinter:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;oPrinter := <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:x4w5cox9]\nDo you think this solves the issue?", "time": "15:54", "topic": "Antonio: \"BUG\" in TPrinter", "username": "nageswaragunupudi" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "OK, but usíng CloseEnhMetaFile() frees not the emf-files to let them erasing! \nWe must use DeleteEnhMetafile( hEMF ) in the function Emf2Jpeg(...)!\nAnother negative issue from this function is the dependency from the resolution of the Printer-Driver. It should in all cases\n the same!\nI suggest further the option to use automatically (if available) a PDF-Printer-Driver (with a special name?).", "time": "22:41", "topic": "Antonio: \"BUG\" in TPrinter", "username": "byte-one" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2014-02-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Implemented.", "time": "07:33", "topic": "Antonio: \"BUG\" in TPrinter", "username": "nageswaragunupudi" } ]
Antonio: "BUG" in TPrinter
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "FUNCTION TESTALT\r\n// Indicates differences between results when clicking a button\r\n// compared to instead using ALT accelerator for the button.\r\n// Example 1. BUTTON'S ACTION DOESN'T FURTHER CHANGE THE FOCUS:\r\n// If ALT accelerator is pressed for a button when the current focus\r\n// is on a GET which has a valid, focus returns to the control (in\r\n// this case a GET) that had focus before the button's action was \r\n// executed - and the valid is executed twice.\r\n// If instead the button is clicked, focus remains on the BUTTON after\r\n// the button's action is executed - and the valid hass executed just\r\n// once.\r\n//\r\n// 2. BUTTON'S ACTION DOES FURTHER CHANGE THE FOCUS:\r\n// If ALT accelerator is pressed for a button when the current focus\r\n// is on a GET which has a valid, focus returns to the control (in\r\n// this case a GET) that had focus before the button's action was \r\n// executed - and the valid is not executed until AFTER the button's \r\n// ACTION.\r\n// If instead the button is clicked, focus remains on the BUTTON after\r\n// the button's action is executed - and the valid is executed BEFORE\r\n// the button's ACTION.\r\n\r\n//--------------------------------------------\r\n#include 'Fivewin.ch' \r\n\r\nLOCAL oDlg \r\nLOCAL oGet1, oGet2, oGet3, oBtn\r\nLOCAL cVar1 := 'ABCDEF ' \r\nLOCAL cVar2 := SPACE(8)\r\nLOCAL cVar3 := SPACE(8)\r\n\r\nDEFINE DIALOG oDlg FROM 0, 0 TO 10, 30 ;\r\n TITLE 'Test Alt / Button / GET_VALID' \r\n\r\n@ 1, 1 GET oGet1 VAR cVar1 SIZE 30,12 PIXEL ;\r\n Valid (MSGBEEP(), .T. )\r\n\r\n@ 2, 1 GET oGet2 VAR cVar2 SIZE 30,12\r\n\r\n@ 3, 1 GET oGet3 VAR cVar3 SIZE 30,12\r\n\r\n// Example 1: ACTION doesn't try to further change focus:\r\n@ 40,50 BUTTON oBtn PROMPT '&Test' ; \r\n SIZE 30, 20 PIXEL ; \r\n ACTION (SYSWAIT(1), ( cVar2 := cVar1 ), oGet2:Refresh())\r\n\r\n// Example 2: Next ACTION does try to further change focus.\r\n// Uncomment to see the difference:\r\n/*\r\n@ 40,50 BUTTON oBtn PROMPT '&Test' ; \r\n SIZE 30, 20 PIXEL ; \r\n ACTION MsgInfo('This is a test')\r\n*/\r\n\r\nACTIVATE DIALOG oDlg CENTER \r\n\r\nreturn NIL\r\n//-------------------------------------------------\r\n\r\nHope you can help fix if a bug, or tell me what I need to do.\r\n\r\nThanks,\r\nColin Wisbey", "time": "08:56", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Colin Wisbey" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Colin,\r\n\r\nWe are already reviewing your example to provide you an answer as soon as possible", "time": "09:41", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Antonio Linares" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Colin,\r\n\r\nIf you modify your code this way, then there is no difference between using the mouse to click on the button or using the accelerator. Please review the generated .TXT files contents:\r\n[code:39aq2oxd]\n@ 1, 1 GET oGet1 VAR cVar1 SIZE 30,12 PIXEL ; \n VALID &#40; LogFile&#40; \"valid&#46;txt\", &#123; \"valid\" &#125; &#41;, &#46;T&#46; &#41; \n&#46;&#46;&#46;\n\n@ 40,50 BUTTON oBtn PROMPT '&Test' ; \nSIZE 30, 20 PIXEL ; \nACTION &#40; LogFile&#40; \"action&#46;txt\", &#123; \"action\" &#125; &#41;, &#40; cVar2 &#58;= cVar1 &#41;, oGet2&#58;Refresh&#40;&#41; &#41; \n[/code:39aq2oxd]\r\nPlease don't use MsgInfo() as it changes the focus sequence.", "time": "10:01", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Antonio Linares" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "This code seems to be fine also. Please check the contents of the generated TXT files. Even using MsgInfo():\r\n[code:2182hnwo]\n@ 1, 1 GET oGet1 VAR cVar1 SIZE 30,12 PIXEL ; \nValid &#40; LogFile&#40; \"valid&#46;txt\", &#123; \"valid\" &#125; &#41;, &#46;T&#46; &#41; \n\n&#46;&#46;&#46;\n\n@ 40,50 BUTTON oBtn PROMPT '&Test' ; \nSIZE 30, 20 PIXEL ; \nACTION &#40; LogFile&#40; \"action&#46;txt\", &#123; \"action\" &#125; &#41;, MsgInfo&#40; \"action\" &#41; &#41; \n[/code:2182hnwo]\r\nTested with Harbour and FWH 8.07", "time": "10:09", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Antonio Linares" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Same behaviors with xHarbour and FWH 8.07", "time": "10:10", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Antonio Linares" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks for prompt reply, Antonio, but it doesn't address either of the 2 problems. \r\n\r\nPlease try the following with my original example #1: \r\n\r\nStep 1: Place cursor in oGet1. \r\nStep 2: Action the button by using ALT A. Notice that focus is still on oGet1. When done, click on another get. The VALID (which you can hear from the Msgbeep()) gets evaluated twice.\r\n\r\nStep 3: Place cursor in oGet1 again. \r\nStep 2: Action the button by clicking the button. Notice that focus is now on the button, not on oGet1. When done, click on another get. The VALID (which you can hear from the Msgbeep()) got evaluated prior (and only) prior) to the button click, which is how I want a button to be actioned.\r\n\r\nFor problem 2, try the above with my original example #2.\r\n\r\nThe example I posted is an artificial example to demonstrate the problem. In my real apps, the equivalent of my oGet1 VALID is vital in both it needing to be executed only once and before the button's action gets executed. The VALID can't afford to executed twice or only after the button's action.\r\n\r\nIn short, clicking on the button works the way it always has and works perfectly. However, if we instead action the button by ALT-accelerator, the results are not only different (depending on what the VALID does) but very different in change of focus and when the VALID gets actioned.\r\n\r\nIt's never previously presented a problem for my users because I haven't offered ALT accelerators with a button until now. Now they are screaming at me due to reproducible errors whenever they use the ALT accelerator.\r\n\r\nIncidentally, I used MSGINFO() in my 2nd example as it represents the equivalent of real-world actions of my buttons. e.g. The real-world dialog represents a docket (invoice) and one of the buttons calls up the image of the docket (obviously changing focus in the process, as does Msginfo()). The VALID on the GET does the equivalent of incrementing a base number so I can't afford it to be actioned twice.\r\n\r\nAs I said, clicking on a button works fine. The problem is with actioning the button by ALT accelerator.\r\n\r\nHope that explains my problems better than my original post did.\r\n\r\nThanks again. Hope you can help.\r\nCol", "time": "11:52", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Colin Wisbey" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Oops!. I referred to \"ALT A\". \r\n\r\nI meant \"ALT T\" of course.", "time": "12:16", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Colin Wisbey" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Colin,\r\n\r\nWhen you press a button accelerator, the focus is not changed to the button. Just its action is fired. A workaround for this:\r\n\r\n[code:g4rzwigd]\n@ 1, 1 GET oGet1 VAR cVar1 SIZE 30,12 PIXEL ; \nValid &#40; MsgBeep&#40;&#41;, &#46;T&#46; &#41; \n\n&#46;&#46;&#46;\n\n@ 40,50 BUTTON oBtn PROMPT '&Test' ; \nSIZE 30, 20 PIXEL ; \nACTION &#40; &#40; cVar2 &#58;= cVar1 &#41;, oGet2&#58;Refresh&#40;&#41;, oBtn&#58;SetFocus&#40;&#41; &#41; \n[/code:g4rzwigd]", "time": "16:06", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Antonio Linares" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-13", "forum": "FiveWin for Harbour/xHarbour", "text": ">When you press a button accelerator, the focus is not changed to the button. Just its action is fired. \r\n\r\nCorrect. That's the problem I've been trying to explain.\r\n\r\n>A workaround for this\r\n< snip >\r\n\r\nGreat. That should do it. That solution never crossed my mind (but probably should have, now I've seen how simple it is).\r\n\r\nMany thanks, Antonio. I really appreciate such prompt and useful support.\r\n\r\nCol", "time": "16:58", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Colin Wisbey" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, your suggestion fix doesn't make any difference.\r\n\r\nThe only difference it makes is that, if using ALT accelerator, focus now finishes up on the button. However, using ALT accelerator, the valid still gets executed as per all the original problems (wrong timing and/or executed twice) in my 2 examples.\r\n\r\nAny other thoughts?\r\n\r\nFrom a quick check, it seems Microsoft's apps behave identically regardless of whether button action is initiated by clicking or by ALT accelerator. (i.e. the way clicking on a button in FWH works, the focus automatically finishing on the button control). This is the way FWH should automatically work. Whether clicking on a button or using ALT accelerator, the sequence of actions and end results need to be identical. After all, the ALT accelerator is intended to be merely an alternative equivalent to clicking the button.\r\n\r\n(I sincerely appreciate the time you are investing on this problem. The problem poses a potential trap for any developer using ALT accelerators with buttons, especially if VALID clauses are involved.)", "time": "03:42", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Colin Wisbey" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Colin,\r\n\r\nWhat FWH version are you using ?\r\n\r\nHere its working fine using FWH 8.07. If you use LogFile() as I shown here then you will see that the VALID is executed just once.", "time": "07:41", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Antonio Linares" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, please try this sample. Note that a single Validxxxxx txt file gets created (as it should) if we click the button but two Validxxxxx txt files get created if we use ALT accelerator.\r\n\r\n//--------------------------------------\r\n\r\nFUNCTION TESTALT\r\n\r\n#include 'Fivewin.ch' \r\n\r\nLOCAL oDlg \r\nLOCAL oGet1, oGet2, oGet3, oBtn\r\nLOCAL cVar1 := 'ABCDEF ' \r\nLOCAL cVar2 := SPACE(8)\r\nLOCAL cVar3 := SPACE(8)\r\n\r\nDEFINE DIALOG oDlg FROM 0, 0 TO 10, 30 ;\r\nTITLE 'Test Alt / Button / GET_VALID' \r\n\r\n@ 1, 1 GET oGet1 VAR cVar1 SIZE 30,12 PIXEL ; \r\n Valid ( LogFile( \"valid\" +STR(Seconds(),9,2) +\".txt\", { \"valid\" } ), .T. ) \r\n\r\n@ 2, 1 GET oGet2 VAR cVar2 SIZE 30,12\r\n\r\n@ 3, 1 GET oGet3 VAR cVar3 SIZE 30,12 \r\n\r\n@ 40,50 BUTTON oBtn PROMPT '&Test' ; \r\n SIZE 30, 20 PIXEL ; \r\n ACTION ( ( SYSWAIT(2),;\r\n LogFile( \"action\" +STR(Seconds(),9,2) +\".txt\", { \"action\" } ),;\r\n oBtn:SetFocus() ) )\r\n\r\nACTIVATE DIALOG oDlg CENTER \r\n\r\nreturn NIL\r\n//----------------------------------\r\n\r\nFWH 8.06\r\n\r\nThanks\r\nCol", "time": "11:22", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Colin Wisbey" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2008-08-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Colin,\r\n\r\nMany thanks for your example. Yes, you were right and there was a problem that was firing twice the focus, when Alt + acc was pressed.\r\n\r\nThis change is required in Class TButton:\r\n[code:3kfg7bim]\nMETHOD Click&#40;&#41; CLASS TButton\n\n if ! &#58;&#58;lProcessing\n \n &#58;&#58;lProcessing = &#46;t&#46;\n \n if &#58;&#58;bWhen != nil &#46;and&#46; ! Eval&#40; &#58;&#58;bWhen &#41; \n &#58;&#58;lProcessing = &#46;f&#46;\n return nil \n endif \n\n &#58;&#58;oWnd&#58;lValidating = &#46;T&#46;\n if GetFocus&#40;&#41; != &#58;&#58;hWnd\n SetFocus&#40; &#58;&#58;hWnd &#41;\n endif\n\n if &#58;&#58;bAction != nil\n Eval&#40; &#58;&#58;bAction &#41;\n endif\n\n if ! &#58;&#58;lCancel &#46;and&#46; &#58;&#58;oWnd&#58;hWnd != 0\n Super&#58;Click&#40;&#41;\n endif \n\n if &#40; GetFocus&#40;&#41; == &#58;&#58;hWnd &#41;\n &#58;&#58;PostMsg&#40; BM_SETSTYLE, BS_DEFPUSHBUTTON, 1 &#41;\n else\n if ! &#58;&#58;lDefault\n &#58;&#58;PostMsg&#40; BM_SETSTYLE, BS_PUSHBUTTON, 1 &#41;\n endif\n endif\n\n &#58;&#58;lProcessing = &#46;f&#46;\n endif\n\nreturn nil\n[/code:3kfg7bim]\nWith such change, this test is properly working here:\n[code:3kfg7bim]\n#include 'Fivewin&#46;ch' \n\nfunction Main&#40;&#41;\n\nLOCAL oDlg \nLOCAL oGet1, oGet2, oGet3, oBtn \nLOCAL cVar1 &#58;= 'ABCDEF ' \nLOCAL cVar2 &#58;= SPACE&#40; 8 &#41;\nLOCAL cVar3 &#58;= SPACE&#40; 8 &#41;\n\nDEFINE DIALOG oDlg FROM 0, 0 TO 10, 30 ; \nTITLE 'Test Alt / Button / GET_VALID' \n\n@ 1, 1 GET oGet1 VAR cVar1 SIZE 30,12 PIXEL ; \nValid &#40; LogFile&#40; \"valid\" + AllTrim&#40; Str&#40; GetTickCount&#40;&#41; &#41; &#41; + \"&#46;txt\", &#123; \"valid\" &#125; &#41;, &#46;T&#46; &#41; \n\n@ 2, 1 GET oGet2 VAR cVar2 SIZE 30,12 \n\n@ 3, 1 GET oGet3 VAR cVar3 SIZE 30,12 \n\n@ 40,50 BUTTON oBtn PROMPT '&Test' ; \nSIZE 30, 20 PIXEL ; \nACTION &#40; LogFile&#40; \"action\" + AllTrim&#40; Str&#40; GetTickCount&#40;&#41; &#41; &#41; + \"&#46;txt\", &#123; \"action\", GetClassName&#40; GetFocus&#40;&#41; &#41; &#125; &#41; &#41; \n\nACTIVATE DIALOG oDlg CENTER \n\nreturn NIL \n[/code:3kfg7bim]\r\nPlease test it and let us know your results. Thanks!", "time": "23:20", "topic": "Antonio: ALT accelerator with button - Urgent help needed", "username": "Antonio Linares" } ]
Antonio: ALT accelerator with button - Urgent help needed
[ { "date": "2012-05-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos:\n\ncomo hago para insertar una imagen en una hoja de excel ?\n\nla idea es insertar una imagen en la primera celda de la oSheet\n\nel siguiente codigo marca error de ejecucion: , \n\nError description: Error 3302404:SHAPES/3 DISP_E_MEMBERNOTFOUND: ADDPICTURE\n\n[code=fw:25cznwop]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <fivewin.ch><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oExcel, oSheet, oBook<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cFile := <span style=\"color: #ff0000;\">'OLGA1.JPG'</span><br /><br />&nbsp; &nbsp; oExcel = CreateObject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Excel.Application\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; oBook &nbsp;:= oExcel:<span style=\"color: #000000;\">WorkBooks</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; oSheet := oExcel:<span style=\"color: #0000ff;\">Get</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"ActiveSheet\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">//oSheet:Pictures:Insert( cFile )</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; oSheet:<span style=\"color: #000000;\">Shapes</span>:<span style=\"color: #000000;\">AddPicture</span><span style=\"color: #000000;\">&#40;</span> cFile, .F., .T., <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">150</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; oExcel:<span style=\"color: #000000;\">Visible</span> = .T.<br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:25cznwop]\n\nGracias por la ayuda.", "time": "20:25", "topic": "Antonio: AddPicture & EXCEL 2010", "username": "sysctrl2" } ]
Antonio: AddPicture & EXCEL 2010
[ { "date": "2012-05-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Please specify the full path of the image file\nFor eg.\n[code=fw:1pf2icaa]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">local</span> cFile := <span style=\"color: #ff0000;\">'C:<span style=\"color: #000000;\">\\F</span>WH<span style=\"color: #000000;\">\\g</span>ifs<span style=\"color: #000000;\">\\F</span>ts.Gif'</span></div>[/code:1pf2icaa]\n\nRegards\nAnser", "time": "06:19", "topic": "Antonio: AddPicture & EXCEL 2010", "username": "anserkk" } ]
Antonio: AddPicture & EXCEL 2010
[ { "date": "2012-05-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Anserkk, Many tanks.\n\nFunciona perfecto,\n\ngracias\n\nsaludos.", "time": "20:10", "topic": "Antonio: AddPicture & EXCEL 2010", "username": "sysctrl2" } ]
Antonio: AddPicture & EXCEL 2010
[ { "date": "2012-05-25", "forum": "FiveWin para Harbour/xHarbour", "text": "amigos tambien funciona con:\n\noSheet:Pictures:Insert( cFile )\n\npero como dice el amigo Anserkk,\n\nhay que indicar la ruta completa donde esta la imagen,\n\nhe probado con JPG y BMP funciona perfecto.\n\n\n\nsaludos...\n\n\n[code=fw:epqvdex0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <fivewin.ch><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oExcel, oSheet, oBook<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cFile := <span style=\"color: #ff0000;\">'C:<span style=\"color: #000000;\">\\F</span>WH<span style=\"color: #000000;\">\\S</span>AMPLES<span style=\"color: #000000;\">\\O</span>LGA1.JPG'</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> FILE<span style=\"color: #000000;\">&#40;</span>cFile<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;? <span style=\"color: #ff0000;\">'si existe ...'</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; oExcel = CreateObject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Excel.Application\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; oBook &nbsp;:= oExcel:<span style=\"color: #000000;\">WorkBooks</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; oSheet := oExcel:<span style=\"color: #0000ff;\">Get</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"ActiveSheet\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; oSheet:<span style=\"color: #000000;\">Pictures</span>:<span style=\"color: #000000;\">Insert</span><span style=\"color: #000000;\">&#40;</span> cFile <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">//oSheet:Shapes:AddPicture( cFile, .F., .T., 0, 0, 200, 150 )</span><br /><br />&nbsp; &nbsp; oExcel:<span style=\"color: #000000;\">Visible</span> = .T. <span style=\"color: #B900B9;\">//ñ</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:epqvdex0]", "time": "20:16", "topic": "Antonio: AddPicture & EXCEL 2010", "username": "sysctrl2" } ]
Antonio: AddPicture & EXCEL 2010
[ { "date": "2015-10-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia.\n\nY si esa imagen la tengo dentro de un recurso?\n\ngracias.", "time": "09:38", "topic": "Antonio: AddPicture & EXCEL 2010", "username": "goosfancito" } ]
Antonio: AddPicture & EXCEL 2010
[ { "date": "2015-10-16", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"goosfancito\":7hq481cb]Buen dia.\n\nY si esa imagen la tengo dentro de un recurso?\n\ngracias.[/quote:7hq481cb]\n\nLo he intentado y buscado informacion y con el OLE no creo se pueda, ya que usa los mismo macros de VB y los que he visto alli, solo permite insertar imagenes desde disco, si consigues o logras algo y puedes compartirlo seria bueno, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "05:47", "topic": "Antonio: AddPicture & EXCEL 2010", "username": "joseluisysturiz" } ]
Antonio: AddPicture & EXCEL 2010
[ { "date": "2010-07-12", "forum": "FiveWin for Harbour/xHarbour", "text": "With the new FWH 10/6 and bcc582 the programm hangs with a call to treg32:getbinary() and uses 50% from resources. I change the code to the following:\n\n[code=fw:rk30xzj5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> GetBinary<span style=\"color: #000000;\">&#40;</span> cSubKey <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TReg32<br /><br />   <span style=\"color: #00C800;\">local</span> cBuffer:=<span style=\"color: #ff0000;\">\"\"</span>, nLen := <span style=\"color: #000000;\">0</span> , nType := <span style=\"color: #000000;\">0</span><br /><br />   ::<span style=\"color: #000000;\">nError</span> := RegQueryValueEx<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nHandle</span>, cSubkey, @nType, @cBuffer, @nLen <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">nError</span> != ERROR_SUCCESS<br />    cBuffer := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> cBuffer</div>[/code:rk30xzj5]", "time": "23:00", "topic": "Antonio: BUG in Treg32?", "username": "byte-one" } ]
Antonio: BUG in Treg32?
[ { "date": "2010-08-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, have you seen this?", "time": "12:04", "topic": "Antonio: BUG in Treg32?", "username": "byte-one" } ]
Antonio: BUG in Treg32?
[ { "date": "2010-08-16", "forum": "FiveWin for Harbour/xHarbour", "text": "byte-one\n\nAlready changed to next version\n\nThanks", "time": "11:42", "topic": "Antonio: BUG in Treg32?", "username": "Daniel Garcia-Gil" } ]
Antonio: BUG in Treg32?
[ { "date": "2012-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "In the function aRead() there must be \"local nPos := 4,....\" in the first line!", "time": "15:34", "topic": "Antonio: Bug in ARead()", "username": "byte-one" } ]
Antonio: Bug in ARead()
[ { "date": "2012-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Günther\n\nYou are right. Actually it was 4 in the older versions. This value was changed to 1 in some later version wrongly.\n\nShould be restored to 4.", "time": "05:23", "topic": "Antonio: Bug in ARead()", "username": "nageswaragunupudi" } ]
Antonio: Bug in ARead()
[ { "date": "2012-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nCould you please provide an example that shows the need for that change ? thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:28", "topic": "Antonio: Bug in ARead()", "username": "Antonio Linares" } ]
Antonio: Bug in ARead()
[ { "date": "2012-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "For years i use this functions to store arrays. In the last time aread() gives wrong resultats. Antonio, please make \n[code=fw:170l2n9y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">cVal := asave<span style=\"color: #000000;\">&#40;</span><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><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span>len<span style=\"color: #000000;\">&#40;</span>aread<span style=\"color: #000000;\">&#40;</span>cVal<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:170l2n9y]", "time": "11:13", "topic": "Antonio: Bug in ARead()", "username": "byte-one" } ]
Antonio: Bug in ARead()
[ { "date": "2011-09-07", "forum": "FiveWin for Harbour/xHarbour", "text": "If i make a [b:1yv0d5mi]second[/b:1yv0d5mi] TRibbonBar in a second window and add a quickaccess, a error occured, when i add to the quickaccess a button. I found, that the static variables are on old status and the quickaccess is not properly initialized! This 3 vars should not be static.\n[code=fw:1yv0d5mi]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">static</span> hQuickAreaL, hQuickAreaM, hQuickAreaR</div>[/code:1yv0d5mi]\n\nQuestion also: Can i manually change static vars in a class??", "time": "15:31", "topic": "Antonio: Bug in TRibbonBar", "username": "byte-one" } ]
Antonio: Bug in TRibbonBar
[ { "date": "2011-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, have you seen this?", "time": "22:49", "topic": "Antonio: Bug in TRibbonBar", "username": "byte-one" } ]
Antonio: Bug in TRibbonBar
[ { "date": "2016-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "in cFileSubDir( cPath ) are also the drive name returned! This should not be so!\n[quote:1rgp6bj8]Returns: \n <cDirName> Just the path name specified inside the full filename, excluding the drive name. \n[/quote:1rgp6bj8]", "time": "16:03", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "byte-one" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2016-02-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nWhy do you think that the drive name should not be in the result ?", "time": "10:46", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "Antonio Linares" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2016-02-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, read the description from this function:\n[quote:s1hylwoa]Returns: \n <cDirName> Just the path name specified inside the full filename, [b:s1hylwoa]excluding the drive name[/b:s1hylwoa]. [/quote:s1hylwoa]\nLook also at cFilePath()! This now the same result as cFileSubDir().", "time": "15:34", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "byte-one" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2016-02-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Please try this one:\n\n[code=fw:3lpri2fl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> cFileSubDir<span style=\"color: #000000;\">&#40;</span> cPath <span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #B900B9;\">// returns the subdir of a path & filename</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span>, cFilePath<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span> cPath, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span> ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Left( cPath, Len( cPath ) - 1 ), cPath ) ) )<br /></span></div>[/code:3lpri2fl]", "time": "17:13", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "Antonio Linares" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2016-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, thanks!\nBut this method is not functioning with UNC-path !", "time": "13:05", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "byte-one" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2016-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nHere you have it with UNC support. cFilePath() needs to be changed too:\n\n[code=fw:3dbbklsb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> cFilePath<span style=\"color: #000000;\">&#40;</span> cPathMask <span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #B900B9;\">// returns path of a filename</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> lUNC := <span style=\"color: #ff0000;\">\"/\"</span> $ cPathMask<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cSep := <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lUNC, <span style=\"color: #ff0000;\">\"/\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span> )<br />&nbsp; &nbsp;local n := RAt( cSep, cPathMask ), cDisk<br /><br />return If( n > 0, Upper( Left( cPathMask, n ) ),;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;( cDisk := cFileDisc( cPathMask ) ) + If( ! Empty( cDisk ), cSep, \"</span><span style=\"color: #ff0000;\">\" ) )</span></div>[/code:3dbbklsb]\n\n[code=fw:3dbbklsb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> cFileSubDir<span style=\"color: #000000;\">&#40;</span> cPath <span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #B900B9;\">// returns the subdir of a path & filename</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> lUNC := <span style=\"color: #ff0000;\">\"/\"</span> $ cPath<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cTemp := cFilePath<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span> cPath, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> $ <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\/</span>\"</span> ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">&#40;</span> cPath, Len<span style=\"color: #000000;\">&#40;</span> cPath <span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>, cPath <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lUNC, <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cTemp, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span>, cTemp <span style=\"color: #000000;\">&#41;</span></div>[/code:3dbbklsb]", "time": "20:04", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "Antonio Linares" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2016-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, thanks!!!\nIn the next FWH??", "time": "01:05", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "byte-one" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2016-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "yes, included in next FWH version <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:41", "topic": "Antonio: Bug in cFileSubDir( cPath )", "username": "Antonio Linares" } ]
Antonio: Bug in cFileSubDir( cPath )
[ { "date": "2011-07-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, in 11/6 the skinbuttons are not right in reaction. If I leave the button with pressed left-mouse, the button is not released! So the button is fired also, when the mouse-arrow is outside the button.", "time": "12:42", "topic": "Antonio: Buttons with skin", "username": "byte-one" } ]
Antonio: Buttons with skin
[ { "date": "2011-07-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, please look also to this problem for 11/07!", "time": "16:24", "topic": "Antonio: Buttons with skin", "username": "byte-one" } ]
Antonio: Buttons with skin
[ { "date": "2011-09-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, in the 11/8 this problem is latent! For the moment the skinbuttons are not practicable.", "time": "09:09", "topic": "Antonio: Buttons with skin", "username": "byte-one" } ]
Antonio: Buttons with skin
[ { "date": "2011-10-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, please show to this problem! I use for the moment a old version.", "time": "16:52", "topic": "Antonio: Buttons with skin", "username": "byte-one" } ]
Antonio: Buttons with skin
[ { "date": "2008-05-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\nI'm now trying to use .chm help files via FWH syntax.\r\n\r\n1. With .HLP files I just needed to do a \r\n\r\nSET HELPFILE TO myhlphelp.hlp\r\n\r\nand I could call up the help either by pressing F1 or by calling \r\n\r\nWINHELP(GetHelpFile()).\r\n\r\n2. With .CHM files it seems I need to do a \r\n\r\nSET HELPFILE TO mychmhelp.chm\r\n\r\nand I can call up the help either by pressing F1 or I must (?) call \r\n\r\nCHMHELPTOPIC().\r\n\r\nNote that calling WINHELP(GetHelpFile()) does nothing. \r\n\r\nAlso, even with the F1 key, although it works fine with the FWH .chm files, for some reason or other my own .chm file (which incidentally has no index entries), supplied by my client, seem to require\r\n\r\nHELPSETTOPIC('WINHELP')\r\n\r\nafter the\r\n\r\nSET HELPFILE TO mychmhelp.chm,\r\n\r\notherwise the 1st topic that pops up displays as a\"This program cannot display the webpage\" error (although any subsequent movement within the help file removes this message).\r\n-------------\r\n\r\nTemporarily, to save me making wholesale changes in my code to convert all references of \r\n\r\nWINHELP(GetHelpFile()) \r\nto \r\nCHMHELPTOPIC(),\r\n\r\nI've now simply created my own WINHELP() function which calls \r\nCHMHELPTOPIC().\r\n\r\n[b:3lgjj872]Is calling CHMHELPTOPIC() the recommended way to invoke .chm help from a button / menu etc?[/b:3lgjj872]\r\n\r\nPreviously, I've been successfully using \r\nWinexec(\"HH.EXE \" +\"mychmhelp.chm\")\r\nto invoke .chm help from a button / menu etc. That works fine but I'd rather eliminate having to call WINEXE.exe and go the recommended FWH way instead.\r\n\r\nTIA\r\nColin\r\n\r\n(P.S. I looked in TESTHLP2.prg but it didn't seem to clarify the matter for me).", "time": "01:01", "topic": "Antonio: CHM Help", "username": "Colin Wisbey" } ]
Antonio: CHM Help
[ { "date": "2008-05-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Colin,\r\n\r\nYes, chmHelpTopic( nHelpID / cTopic[.htm] ) --> nil is the way to review a topic.\r\n\r\nFWH also provides (source\\winapi\\helpchm.prg):\r\nfunction chmHelpIndex( cSearch )\r\nfunction chmHelpSearch (cSearch )\r\nfunction chmHelpPopup( cnHelp, nRow, nCol, oWnd ) // nrow, ncol are optional\r\n\r\nPlease review the documentation info provided inside helpchm.prg (at the end) for more details.", "time": "10:09", "topic": "Antonio: CHM Help", "username": "Antonio Linares" } ]
Antonio: CHM Help
[ { "date": "2008-05-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Colin,\r\n\r\n>\r\nHELPSETTOPIC('WINHELP') \r\nafter the \r\nSET HELPFILE TO mychmhelp.chm, \r\n>\r\n\r\nYes, thats the way we do it in samples\\TestHlp2.prg", "time": "10:15", "topic": "Antonio: CHM Help", "username": "Antonio Linares" } ]
Antonio: CHM Help
[ { "date": "2008-05-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio. Where I was confused was that \r\n\r\nSET HELPFILE TO mychmhelp.chm\r\nHELPSETTOPIC('WINHELP')\r\n\r\nallowed F1 to invoke help but, if I wanted to invoke help from a button or a menu, I had to call\r\n\r\nCHMHELPTOPIC()\r\n\r\nto get the same result.\r\n(Incidentally, the chm file in the app I am working on is created by the client so I never know beforehand what topic names are in it. This doesn't seem to matter. The app is not required to have context-sensitive help.)\r\n\r\nAnyway it seems to be working fine now.\r\n\r\nColin\r\n---------------\r\nColin, \r\n\r\n> \r\nHELPSETTOPIC('WINHELP') \r\nafter the \r\nSET HELPFILE TO mychmhelp.chm, \r\n> \r\n\r\nYes, thats the way we do it in samples\\TestHlp2.prg\r\n_________________\r\nregards, saludos \r\n\r\nAntonio Linares \r\n\r\n---------------", "time": "02:48", "topic": "Antonio: CHM Help", "username": "Colin Wisbey" } ]
Antonio: CHM Help
[ { "date": "2014-12-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, in this class the buttons are not declared with style WS_TABSTOP!?\n\nI have changed the calls ::nStyle := ...... to\n[code=fw:1bvpgoqx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   ::<span style=\"color: #000000;\">nStyle</span>    = nOR<span style=\"color: #000000;\">&#40;</span> WS_CHILD, WS_VISIBLE, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>oWnd:<span style=\"color: #000000;\">IsKindOf</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"TDIALOG\"</span> <span style=\"color: #000000;\">&#41;</span>, WS_TABSTOP, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:1bvpgoqx]\nIs this right?", "time": "14:49", "topic": "Antonio: CLASS TRBtn", "username": "byte-one" } ]
Antonio: CLASS TRBtn
[ { "date": "2014-12-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nYes, it is right and it makes pefect sense\n\nIncluded for next FWH build, many thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "19:58", "topic": "Antonio: CLASS TRBtn", "username": "Antonio Linares" } ]
Antonio: CLASS TRBtn
[ { "date": "2014-12-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nI think a better implementation would be:\n\n::nStyle = nOR( WS_CHILD, WS_VISIBLE, If( ! oWnd:IsKindOf( \"TRBGROUP\" ), WS_TABSTOP, 0 ) )\n\nSo the control may be placed any where and only on a RibbonBar would not need the focus.", "time": "20:10", "topic": "Antonio: CLASS TRBtn", "username": "Antonio Linares" } ]
Antonio: CLASS TRBtn
[ { "date": "2010-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio:\n\nHe probado la funcion que publicastes aqui en el foro para generar un gradient en el xBrowse estilo Windows 7, el efecto es super bonito, pero tiene un fallo que no se solucionar. Cuando el campo a mostrar en el Browse no contiene informacion no generar el gradient en ese campo, y tambien tiene el mismo defecto cuando el ultimo campo declarado en el xBrowse no llega al final del tamaño del xBrowse, muestra la barra por defecto sin el gradient. Probado en una Windows MDI.\n\nNOTA: No he subido una imagen porque todavia estoy actualizando los programas para Windows 7, ya que no funciona nada de lo que tenia, ahora necesito un FTP para Windows 7. Para la proxima duda/error intentare poner una imagen que vale mas que mil palabras.\n\nSi algun prueba esto, que uno de los campos de la B.D que no tenga informacion para ver el efecto.\n\nEspero que me haya explicado correctamente.\n\n\n // Para Gradient estilo Windows 7\n oGrid:nRowDividerStyle = LINESTYLE_NOLINES\n oGrid:nColDividerStyle = LINESTYLE_NOLINES\n oGrid:nMarqueeStyle = MARQSTYLE_HIGHLROW\n oGrid:lTransparent = .T.\n\nDespues de la declaracion del xBrowse:\n\n * Metodo 1: Gradient para Windows 7\n AEval( oGrid:aCols, { | oCol | oCol:bPaintText := { | oCol, hDC, cData, aRect | ;\n PaintCol( oCol, hDC, cData, aRect ) } } )\n\nFuncion:\n\n\nstatic function PaintCol( oCol, hDC, cData, aRect )\n\n if oCol:oBrw:VGetPos() == Especies->( OrdKeyNo() )\n\n GradientFill( hDC, aRect[ 1 ] - 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5,;\n { { 1, RGB( 220, 235, 252 ), RGB( 193, 219, 252 ) } }, .T. )\n\n RoundBox( hDC, 2, aRect[ 1 ] - 1, WndWidth( oCol:oBrw:hWnd ) - 22, aRect[ 3 ] + 1, 2, 2,;\n RGB( 235, 244, 253 ), 1 )\n RoundBox( hDC, 1, aRect[ 1 ] - 2, WndWidth( oCol:oBrw:hWnd ) - 21, aRect[ 3 ] + 2, 2, 2,;\n RGB( 125, 162, 206 ), 1 )\n\n endif\n\n SetTextColor( hDC, 0 )\n DrawTextEx( hDC, cData, aRect, oCol:nDataStyle )\n\nReturn nil\n\nUn saludo\nJLL", "time": "13:27", "topic": "Antonio: Defecto en Gradient en Windows 7", "username": "jll-fwh" } ]
Antonio: Defecto en Gradient en Windows 7
[ { "date": "2010-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui esta la Imagen:\n\n[img:2oogmahl]http&#58;//www&#46;proyectos-meliana&#46;es/basura/1&#46;jpg[/img:2oogmahl]\n\nun saludo\nJLL", "time": "13:47", "topic": "Antonio: Defecto en Gradient en Windows 7", "username": "jll-fwh" } ]
Antonio: Defecto en Gradient en Windows 7
[ { "date": "2010-08-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\nYo tengo el mismo problema y la verdad es que no se como resolverlo. Yo creo que el efecto de rejilla a la Windows 7 se obtiene más por los dos rebordes de la fila seleccionada, el interior blanco y el exterior azul que por el gradiente en sí. Y creo que nos estamos complicando la vida al intentar usar el método bPaintText. Estoy viendo la manera de pintar los rebordes en el método Paint() de la clase XBrowse, igual que se pinta el selector de fila cuando se ha terminado de pintar todas las columnas pintar los dos rebordes. Si lo consigo lo publicaré en el foro, y si alguien lo ha hecho así o tiene idea de cómo hacerlo agradecería que lo publicara.\nSaludos,\nJosé Luis", "time": "08:51", "topic": "Antonio: Defecto en Gradient en Windows 7", "username": "José Luis Sánchez" } ]
Antonio: Defecto en Gradient en Windows 7
[ { "date": "2010-08-16", "forum": "FiveWin para Harbour/xHarbour", "text": "jll-fwh, Jose Luis\n\njll-fwh\nEl punto ya los has tratado y te di la solucion para tu version, pero no se si la aplicaste correctamente, verifica nuevamente este hilo\n[url:2n8plu72]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?p=95369#p95369[/url:2n8plu72]\n\nPonle atencion al punto para tu version\n[url:2n8plu72]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?p=95709#p95709[/url:2n8plu72]\n\nJose luis verifica el primer link y sigue el hilo\n\nel unico problema que no se ha solucionado y por la logica de pintado del xbrowse no tiene solucion por ahora, es el uso de bitmap junto con el gradient", "time": "11:22", "topic": "Antonio: Defecto en Gradient en Windows 7", "username": "Daniel Garcia-Gil" } ]
Antonio: Defecto en Gradient en Windows 7
[ { "date": "2010-08-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\nGracias de nuevo por la solución. He estado probando en un par de aplicaciones, y los bitmaps se ven bien con el gradiente. Uso bitmaps normales, no alphablended, porque mi versión de FWH es un tanto antigua.\nSaludos,\nJosé Luis", "time": "15:12", "topic": "Antonio: Defecto en Gradient en Windows 7", "username": "José Luis Sánchez" } ]
Antonio: Defecto en Gradient en Windows 7
[ { "date": "2018-04-23", "forum": "FiveWin for Harbour/xHarbour", "text": "1. If i use cGetDir(..) and choose a USB-drive for camera-cards BUT WITHOUT any inserted camera-card, the programm crashes in some times! \n2. When using shadow() in MS-VC the shadow are bigger then in Borland and on some dialogs the wide (height?) of the dialog are cutting a little on right(bottom?) side.", "time": "13:31", "topic": "Antonio: Differences between BORLAND and VCC", "username": "byte-one" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\n1. Please check if a hb_out.log file is created\n\n2. Check the manifest files embedded into the EXE", "time": "08:10", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Antonio Linares" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, from the first point the hb_out.log:\n[quote:2r6f5vli]Application Internal Error - C:\\WGUN\\GUN1\\gun32.exe\nTerminated at: 2018-04-23 14:22:53\nUnrecoverable error 9015: Symbol item expected from hb_vmDo()\nCalled from ASCAN(0)\nCalled from OWNDFROMHWND(3695) in .\\source\\classes\\WINDOW.PRG\nCalled from FWSKINBTNPAINT(72) in C:\\prg_allgemein\\skins.prg\nCalled from FWSKINBTNFOCUSED(363) in C:\\prg_allgemein\\skins.prg\nCalled from CGETDIR(0)[/quote:2r6f5vli]\n\nOn second point: Same manifest in MS-VC and Borland", "time": "09:46", "topic": "Antonio: Differences between BORLAND and VCC", "username": "byte-one" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-25", "forum": "FiveWin for Harbour/xHarbour", "text": "In the meantime i made some tests. No referring with ::shadow!\nPlease see the picture. On left side compiled with MS-VC, on right side compiled with Borland. It seems, only on dialogs from code!? \n\n[img:1uqa9lmu]http&#58;//byte-one&#46;com/dialogs&#46;png[/img:1uqa9lmu]\n\n[code=fw:1uqa9lmu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> dlg_test<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> oDlg, oFont, oMemo, oFile, oBtnok, oBtncancel, cFile := space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">50</span><span style=\"color: #000000;\">&#41;</span>, uTemp := <span style=\"color: #ff0000;\">\" \"</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Ms Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-10</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">450</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br />   @ <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">GET</span> oMemo <span style=\"color: #0000ff;\">VAR</span> uTemp MULTILINE <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br />   @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">GET</span> oFile <span style=\"color: #0000ff;\">VAR</span> cFile <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br />   @ <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtnOk <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"OK\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">46</span>, <span style=\"color: #000000;\">13</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   @ <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtnCancel <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Zurück\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">46</span>, <span style=\"color: #000000;\">13</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span>  ;<br />                oMemo:<span style=\"color: #000000;\">SetSize</span><span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">17</span>, oDlg:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">77</span> <span style=\"color: #000000;\">&#41;</span>,;<br />        oMemo:<span style=\"color: #000000;\">SetSel</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                oFile:<span style=\"color: #000000;\">nTop</span>      := oDlg:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">64</span>,;<br />                oFile:<span style=\"color: #000000;\">nLeft</span>     := <span style=\"color: #000000;\">6</span>,;<br />                oBtnOk:<span style=\"color: #000000;\">nTop</span>      := oDlg:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">64</span>,;<br />                oBtnOk:<span style=\"color: #000000;\">nLeft</span>     := oDlg:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">197</span>,;<br />                oBtnCancel:<span style=\"color: #000000;\">nTop</span>  := oDlg:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">64</span>,;<br />                oBtnCancel:<span style=\"color: #000000;\">nLeft</span> := oDlg:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">104</span>;<br />                 <span style=\"color: #000000;\">&#41;</span><br />   oFont:<span style=\"color: #000000;\">End</span><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></div>[/code:1uqa9lmu]", "time": "09:03", "topic": "Antonio: Differences between BORLAND and VCC", "username": "byte-one" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Please inspect both EXEs using this tool:\n\n[url:x0pmia2p]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/peinfo&#46;exe[/url:x0pmia2p]\n\nlook for differences in the embedded manifest files and/or resources", "time": "09:38", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Antonio Linares" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-25", "forum": "FiveWin for Harbour/xHarbour", "text": "1. looks like memory corruption", "time": "09:39", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Antonio Linares" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio.\n1. The error is present on all machines.\n2. I inspect the files with PE but no differences. I compile with the exact same RC-File. Have you tested the code?", "time": "10:15", "topic": "Antonio: Differences between BORLAND and VCC", "username": "byte-one" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Any news?\nI found also that in dialogs from resource the height of the caption-area between MS-VC and Borland are different. Maybe different constants in the header-files from the compilers? For the moment i cannot use MS-VC.", "time": "12:10", "topic": "Antonio: Differences between BORLAND and VCC", "username": "byte-one" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-04-29", "forum": "FiveWin for Harbour/xHarbour", "text": "We are checking it but can't see where the difference comes from yet", "time": "20:54", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Antonio Linares" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello to all. I not can found any reason for the differences on the both compilers. Can please several from us test the above code with VCC and report!?", "time": "14:13", "topic": "Antonio: Differences between BORLAND and VCC", "username": "byte-one" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Gunther, I tested your sample also and I continue to investigate why", "time": "14:20", "topic": "Antonio: Differences between BORLAND and VCC", "username": "cnavarro" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nI have tried to create a script to compile MSVC 2017 using BuildxM ( xHarbour ) as my guide ( as you may remember ), unfortunately I gave up because I could not get any script or suggestions from the forum to cleanly compile tutor01.prg.\n\nIf anyone could post a working MSVC\\xHarbour script .. I would be glad to help in comparing the difference between the two compilers.\n\nRick Lipkin", "time": "14:29", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Rick Lipkin" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nI do not use Borland, but I do create two builds of my primary application.\n 1). xHarbour ( .com / xBuilder with Pelles C ) using the version from 11/2015\n 2). Microsoft Visual Studio 2017 with Harbour libraries\n\nOption 1 is only used by people who have ADS Version 7 or 8 and I have the proper libs for those in xHarbour.\nOption 2 is for everyone else.\n\nI have never tried Microsoft Visual C++ with xHarbour. I once was going to and was told there were no MSVC compatible libraries available for the commercial product.\n\nI can assure you that Harbour and Microsoft Visual C++ work very well with FWH, and almost all of my clients use that version.\n\nI should note: Visual Studio Community 2017 is FREE and quite capable of building any application. Antonio provides Harbour also for free. If you were to go that route, you would have no problem getting up and running. I actually do the builds in Visual Studio, and you can actually incorporate your editor of choice in the IDE ( I use UE Studio ).\n\nTim", "time": "18:02", "topic": "Antonio: Differences between BORLAND and VCC", "username": "TimStone" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim or Anyone\n\nI have downloaded the MSVC2017 32 bit Command line Compiler ( from Mel's site .. you do not need to install Visual Studio ) [img:1shnqzj5]http&#58;//i65&#46;tinypic&#46;com/2zxvzgm&#46;jpg[/img:1shnqzj5]\n\n[img:1shnqzj5]http&#58;//i67&#46;tinypic&#46;com/2rhqn2a&#46;jpg[/img:1shnqzj5]\n\nAnd the matching xHarbourM for MSVC2017\n[img:1shnqzj5]http&#58;//i66&#46;tinypic&#46;com/9apog7&#46;jpg[/img:1shnqzj5]\n\nI would appreciate if anyone has a batch file ( like buildxm.bat ) to be able to compile tutor01.prg ... here are my file locations:\n\nc:\\MSVC2017\nc:\\Fwh1707\nc:\\XharbourM\n\nThanks\nRick Lipkin", "time": "22:13", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Rick Lipkin" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "compiled with Harbour + Fivewin 18.03 and GCC 7.3 32 bit\n[img:3lrdhf4n]http&#58;//www&#46;veneziasoft&#46;com/download/gcc_32&#46;jpg[/img:3lrdhf4n]\n\n\ncompiled with Harbour + Fivewin 18.03 and GCC 7.3 64 bit\n[img:3lrdhf4n]http&#58;//www&#46;veneziasoft&#46;com/download/gcc_64&#46;jpg[/img:3lrdhf4n]\n\nregards", "time": "09:03", "topic": "Antonio: Differences between BORLAND and VCC", "username": "vensanto" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rick Lipkin\":3e0mt2xa]I would appreciate if anyone has a batch file ( like buildxm.bat ) to be able to compile tutor01.prg[/quote:3e0mt2xa]\n\nWhat problem did you get using buildxm.bat?\n\nEMG", "time": "14:59", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Enrico Maria Giordano" } ]
Antonio: Differences between BORLAND and VCC
[ { "date": "2018-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico\n\nI gave up on MSVC .... here was the last test before I gave up ... this how I modified my batch file:\n\n[code=fw:1hru0lij]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style=\"color: #00C800;\">for</span> Harbour <span style=\"color: #000000;\">14.09</span> <span style=\"color: #000000;\">&#40;</span>MSVC++<span style=\"color: #000000;\">&#41;</span> Sep. <span style=\"color: #000000;\">2014</span>     Harbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />ECHO ³ <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2014</span>   <span style=\"color: #00C800;\">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br /><span style=\"color: #00C800;\">if</span> A%<span style=\"color: #000000;\">1</span> == A GOTO :<span style=\"color: #000000;\">SINTAX</span><br /><span style=\"color: #00C800;\">if</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.prg GOTO :<span style=\"color: #000000;\">NOEXIST</span><br /><br />ECHO Compiling...<br /><br />set hdir=c:\\xharbourM<br />set vcdir=c:\\msvc2017<br />set include=%vcdir%\\include;%hdir%\\include;%include%<br />set lib=%vcdir%\\lib;%hdir%\\lib;%lib%<br /><br /><br />rem @set fwh=%FWDIR%<br />rem @set hdir=%HBDIR%<br />rem @set hdirl=%hdir%\\lib<br /><br />rem set vcdir= c:\\vc<br />rem set vclib=%vcdir%\\lib<br /><br /><br />%hdir%\\bin\\harbour %<span style=\"color: #000000;\">1</span> /n /ic:\\Fwh1707\\include;%hdir%\\include /w /p %<span style=\"color: #000000;\">2</span> %<span style=\"color: #000000;\">3</span> > comp.log <span style=\"color: #000000;\">2</span>> warnings.log<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO COMPILEERROR<br />@type comp.log<br />@type warnings.log<br /><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PAUSE</span><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO EXIT<br /><br />: <span style=\"color: #000000;\">mvsc</span> compiler line<br /><br />%vcdir%\\bin\\cl.Exe -TP -W3 -O2 -nologo -c -GA -GS -EHsc /I%hdir%\\include /I%vcdir%\\include %<span style=\"color: #000000;\">1</span>.c<br /><br />:<span style=\"color: #000000;\">ENDCOMPILE</span><br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc <span style=\"color: #00C800;\">IF</span> EXIST %vcdir%\\bin\\rc %vcdir%\\bin\\rc -r -d__FLAT__ %<span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc <span style=\"color: #00C800;\">IF</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.res rc -r -d__FLAT__ %<span style=\"color: #000000;\">1</span><br /><br />echo %<span style=\"color: #000000;\">1</span>.obj  > msvc.tmp<br /><br />: <span style=\"color: #000000;\">fivewin</span> libs<br />echo c:\\Fwh1707\\lib\\FivehMX.lib c:\\fwh1707\\lib\\FiveHc32.lib  >> msvc.tmp<br /><br />: <span style=\"color: #000000;\">xHarbourM</span> libs<br /><br />echo %hdir%\\lib\\rtl.lib    >> msvc.tmp<br />echo %hdir%\\lib\\vm.lib     >> msvc.tmp<br />echo %hdir%\\lib\\gtgui.lib  >> msvc.tmp<br />echo %hdir%\\lib\\lang.lib   >> msvc.tmp<br />echo %hdir%\\lib\\macro.lib  >> msvc.tmp<br />echo %hdir%\\lib\\rdd.lib    >> msvc.tmp<br />echo %hdir%\\lib\\dbfntx.lib >> msvc.tmp<br />echo %hdir%\\lib\\dbfcdx.lib >> msvc.tmp<br />echo %hdir%\\lib\\dbffpt.lib >> msvc.tmp<br />echo %hdir%\\lib\\hbsix.lib  >> msvc.tmp<br />echo %hdir%\\lib\\debug.lib  >> msvc.tmp<br />echo %hdir%\\lib\\common.lib >> msvc.tmp<br />echo %hdir%\\lib\\pp.lib     >> msvc.tmp<br />echo %hdir%\\lib\\pcrepos.lib >> msvc.tmp<br />echo %hdir%\\lib\\png.lib     >> msvc.tmp<br /><br />echo %hdir%\\lib\\ct.lib  >> msvc.tmp<br /><br />rem ... can not find this in xHarbourM<br />rem echo %hdir%\\lib\\hbzlib.lib  >> msvc.tmp<br /><br />echo %hdir%\\lib\\zlib.lib   >> msvc.tmp<br />echo %hdir%\\lib\\HBMzip.lib  >> msvc.tmp<br />echo %hdir%\\lib\\HBzip.lib  >> msvc.tmp<br /><br />: <span style=\"color: #000000;\">msvc</span> libs<br /><br />echo %vcdir%\\lib\\kernel32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\user32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\gdi32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\winspool.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\comctl32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\comdlg32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\advapi32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\shell32.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\ole32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\oleaut32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\uuid.lib      >> msvc.tmp<br />echo %vcdir%\\lib\\odbc32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\odbccp32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\iphlpapi.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\mpr.lib       >> msvc.tmp<br />echo %vcdir%\\lib\\version.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\wsock32.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\msimg32.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\oledlg.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\psapi.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\gdiplus.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\winmm.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\libcmt.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\oldnames.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\libcpmt.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\ws2_32.lib    >> msvc.tmp<br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.res echo %<span style=\"color: #000000;\">1</span>.res >> msvc.tmp<br /><br />%vcdir%\\bin\\link @msvc.tmp /nologo /NODEFAULTLIB:<span style=\"color: #000000;\">LIBC</span> /NODEFAULTLIB:<span style=\"color: #000000;\">msvcrt</span> /force:<span style=\"color: #000000;\">multiple</span> /nxcompat:<span style=\"color: #000000;\">NO</span> /subsystem:<span style=\"color: #000000;\">windows</span>,<span style=\"color: #000000;\">5.01</span> /machine:<span style=\"color: #000000;\">X86</span> /Ignore:<span style=\"color: #000000;\">4006</span> /LIBPATH:<span style=\"color: #000000;\">c</span>:\\Msvc17\\lib<br />rem %vcdir%\\bin\\link @msvc.tmp /nologo  /NODEFAULTLIB:<span style=\"color: #000000;\">msvcrt</span> /force:<span style=\"color: #000000;\">multiple</span> /nxcompat:<span style=\"color: #000000;\">NO</span> /subsystem:<span style=\"color: #000000;\">windows</span>,<span style=\"color: #000000;\">5.01</span> /machine:<span style=\"color: #000000;\">X86</span> /Ignore:<span style=\"color: #000000;\">4006</span> /LIBPATH:<span style=\"color: #000000;\">c</span>:\\Msvc17\\lib<br /><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br />ECHO * Application successfully built *<br />@set path=%oldpath%<br />@set include=%oldinclude%<br />@set lib=%oldlib%<br />@set libpath=%oldlibpath%<br />@set oldpath=<span style=\"color: #ff0000;\">\"\"</span><br />@set oldinclude=<span style=\"color: #ff0000;\">\"\"</span><br />@set oldlib=<span style=\"color: #ff0000;\">\"\"</span><br />@set oldlibpath=<span style=\"color: #ff0000;\">\"\"</span><br />%<span style=\"color: #000000;\">1</span><br />GOTO EXIT<br />ECHO<br /><br />: <span style=\"color: #000000;\">delete</span> temporary files<br /><br />@del %<span style=\"color: #000000;\">1</span>.c<br />@del msvc.tmp<br /><br />:<span style=\"color: #000000;\">COMPILEERROR</span><br />@type comp.log<br />@type warnings.log<br />ECHO * Compiling errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">LINKERROR</span><br />ECHO * Linking errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">SINTAX</span><br />ECHO    SYNTAX: <span style=\"color: #000000;\">Build</span> <span style=\"color: #000000;\">&#91;</span>Program<span style=\"color: #000000;\">&#93;</span>     <span style=\"color: #000000;\">&#123;</span>-- No especifiques la extensi¢n PRG<br />ECHO                                <span style=\"color: #000000;\">&#123;</span>-- Don<span style=\"color: #ff0000;\">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT<br /></span></div>[/code:1hru0lij]\n\nHere was the result:\n\n[code=fw:1hru0lij]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />\fÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />³ FiveWin <span style=\"color: #00C800;\">for</span> Harbour <span style=\"color: #000000;\">14.09</span> <span style=\"color: #000000;\">&#40;</span>MSVC++<span style=\"color: #000000;\">&#41;</span> Sep. <span style=\"color: #000000;\">2014</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;\">-2014</span>   <span style=\"color: #00C800;\">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br />Compiling...<br />xHarbour <span style=\"color: #000000;\">1.2</span><span style=\"color: #000000;\">.3</span> Intl. <span style=\"color: #000000;\">&#40;</span>SimpLex<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>Build <span style=\"color: #000000;\">20180420</span><span style=\"color: #000000;\">&#41;</span><br />Copyright <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2018</span>, http:<span style=\"color: #B900B9;\">//www.xharbour.org <!-- m --><a class=\"postlink\" href=\"http://www.harbour-project.org/\">http://www.harbour-project.org/</a><!-- m --></span><br />Compiling <span style=\"color: #ff0000;\">'Tutor01.prg'</span> and generating preprocessed output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'Tutor01.ppo'</span>...<br /><br />Generating C source output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'Tutor01.c'</span>...<br />Done.<br /><br />Lines <span style=\"color: #000000;\">13</span>, Functions/Procedures <span style=\"color: #000000;\">1</span>, pCodes <span style=\"color: #000000;\">14</span><br />Tutor01.c<br />   Creating <span style=\"color: #0000ff;\">library</span> Tutor01.lib and object Tutor01.<span style=\"color: #0000ff;\">exp</span><br />Tutor01.exe : <span style=\"color: #000000;\">warning</span> LNK4088: <span style=\"color: #0000ff;\">image</span> being generated due <span style=\"color: #0000ff;\">to</span> /FORCE option; <span style=\"color: #0000ff;\">image</span> may not run<br />* Application successfully built *<br /> </div>[/code:1hru0lij]\n\n\nMsvc.Tmp\n[code=fw:1hru0lij]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Tutor01.obj  <br />c:\\Fwh1707\\lib\\FivehMX.lib c:\\fwh1707\\lib\\FiveHc32.lib  <br />c:\\xharbourM\\lib\\rtl.lib    <br />c:\\xharbourM\\lib\\vm.lib     <br />c:\\xharbourM\\lib\\gtgui.lib  <br />c:\\xharbourM\\lib\\lang.lib   <br />c:\\xharbourM\\lib\\macro.lib  <br />c:\\xharbourM\\lib\\rdd.lib    <br />c:\\xharbourM\\lib\\dbfntx.lib <br />c:\\xharbourM\\lib\\dbfcdx.lib <br />c:\\xharbourM\\lib\\dbffpt.lib <br />c:\\xharbourM\\lib\\hbsix.lib  <br />c:\\xharbourM\\lib\\debug.lib  <br />c:\\xharbourM\\lib\\common.lib <br />c:\\xharbourM\\lib\\pp.lib     <br />c:\\xharbourM\\lib\\pcrepos.lib <br />c:\\xharbourM\\lib\\png.lib     <br />c:\\xharbourM\\lib\\ct.lib  <br />c:\\xharbourM\\lib\\zlib.lib   <br />c:\\xharbourM\\lib\\HBMzip.lib  <br />c:\\xharbourM\\lib\\HBzip.lib  <br />c:\\msvc2017\\lib\\kernel32.lib  <br />c:\\msvc2017\\lib\\user32.lib    <br />c:\\msvc2017\\lib\\gdi32.lib     <br />c:\\msvc2017\\lib\\winspool.lib  <br />c:\\msvc2017\\lib\\comctl32.lib  <br />c:\\msvc2017\\lib\\comdlg32.lib  <br />c:\\msvc2017\\lib\\advapi32.lib  <br />c:\\msvc2017\\lib\\shell32.lib   <br />c:\\msvc2017\\lib\\ole32.lib     <br />c:\\msvc2017\\lib\\oleaut32.lib  <br />c:\\msvc2017\\lib\\uuid.lib      <br />c:\\msvc2017\\lib\\odbc32.lib    <br />c:\\msvc2017\\lib\\odbccp32.lib  <br />c:\\msvc2017\\lib\\iphlpapi.lib  <br />c:\\msvc2017\\lib\\mpr.lib       <br />c:\\msvc2017\\lib\\version.lib   <br />c:\\msvc2017\\lib\\wsock32.lib   <br />c:\\msvc2017\\lib\\msimg32.lib   <br />c:\\msvc2017\\lib\\oledlg.lib    <br />c:\\msvc2017\\lib\\psapi.lib     <br />c:\\msvc2017\\lib\\gdiplus.lib   <br />c:\\msvc2017\\lib\\winmm.lib     <br />c:\\msvc2017\\lib\\libcmt.lib    <br />c:\\msvc2017\\lib\\oldnames.lib  <br />c:\\msvc2017\\lib\\libcpmt.lib   <br />c:\\msvc2017\\lib\\ws2_32.lib    <br />Tutor01.res <br /> </div>[/code:1hru0lij]\n\n\nThe resulting Tutor01.exe will not run \n\nRick Lipkin", "time": "21:06", "topic": "Antonio: Differences between BORLAND and VCC", "username": "Rick Lipkin" } ]
Antonio: Differences between BORLAND and VCC