messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":36nnfhtq]Enrico,\n\nWe have tested FWH 7.11 with Harbour svn 05 Nov, and it works fine. Its the one distributed with FWH 7.11.\n\nSo it has to be a change in Harbour since 05 Nov.[/quote:36nnfhtq]\n\nIt maybe. Or I'm doing something wrong.\n\n[quote=\"Antonio Linares\":36nnfhtq]Do you get an error.log file ?[/quote:36nnfhtq]\n\nUnfortunately not. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "09:47",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nWe have just done a fresh checkout from the Harbour svn, and your test code works fine here",
"time": "10:19",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Can I see the batch you are using to build Harbour?\n\nEMG",
"time": "10:27",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Is this the latest changelog you see in your changelog file?\n\n2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)\n * harbour/source/rtl/filesys.c\n * updated hb_fsTell() and hb_fsEof() to respect platform dependent\n API calls used in hb_fsSeek[Large]()\n\nEMG",
"time": "10:29",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is the batch I'm using to build Harbour:\n\n@ ECHO OFF\nSET PATH=e:\\bcc55\\bin;e:\\harbour cvs\\harbour\\bin\\b32\nSET C_USR=-DHB_FM_STATISTICS_OFF\nSET PRG_USR=-l\nCALL make_b32 clean\nCALL make_b32\nCD contrib\\hbzlib\nCALL make_b32 clean\nCALL make_b32\nCD ..\\win32\nCALL make_b32 clean\nCALL make_b32\nCD ..\\adordd\nCALL make_b32 clean\nCALL make_b32\n\nEMG",
"time": "10:31",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nWe name this makeb32.bat:\n\nSET PATH=%PATH%;%DEVDRIVE%\\bcc55\\bin;%DEVDRIVE%\\util\nSET BISON_SIMPLE=%DEVDRIVE%\\util\\bison.simple\nSET CFLAGS=-D__EXPORT__ -DHB_GUI -tWM -DHB_COMPAT_XHB -DHB_FM_STATISTICS_OFF -DHB_INCLUDE_WINEXCHANDLER -DHARBOUR_MAIN_WIN -d -a8 -OS -O2 -5 -6 \nmake_b32.bat %1\n\n2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)\n * harbour/source/rtl/filesys.c\n * updated hb_fsTell() and hb_fsEof() to respect platform dependent\n API calls used in hb_fsSeek[Large]()",
"time": "10:31",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nI email you the most recent FWH Harbour libs, just to be sure we use the same files",
"time": "10:34",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":2w9vtltc]Enrico,\n\nWe have just done a fresh checkout from the Harbour svn, and your test code works fine here[/quote:2w9vtltc]\n\nI just done a fresh checkout too: no changes. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "10:50",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nAre you using the most recent FWH Harbour libs that I have emailed you ?",
"time": "10:51",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":fkfsuhwc]Enrico,\n\nWe name this makeb32.bat:\n\nSET PATH=%PATH%;%DEVDRIVE%\\bcc55\\bin;%DEVDRIVE%\\util\nSET BISON_SIMPLE=%DEVDRIVE%\\util\\bison.simple\nSET CFLAGS=-D__EXPORT__ -DHB_GUI -tWM -DHB_COMPAT_XHB -DHB_FM_STATISTICS_OFF -DHB_INCLUDE_WINEXCHANDLER -DHARBOUR_MAIN_WIN -d -a8 -OS -O2 -5 -6 \nmake_b32.bat %1[/quote:fkfsuhwc]\n\nAs far as I know, Bison is no longer required.\n\nAnyway, all I get running your batch is a make_b32.log containing\n\n[quote:fkfsuhwc]MAKE Version 5.2 Copyright (c) 1987, 2000 Borland[/quote:fkfsuhwc]\n\nWhat am I doing wrong?\n\nEMG",
"time": "10:53",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":10z5egu3]Enrico,\n\nI email you the most recent FWH Harbour libs, just to be sure we use the same files[/quote:10z5egu3]\n\nTried. No changes. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "10:53",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I tracked down the error. It seems that is the call\n\n[code:26km7cep]TrackMouseEvent( ::hWnd, TME_LEAVE )[/code:26km7cep]\n\nin MouseMove() method of TBtnBmp class that recursively calls MouseMove() again and again.\n\nAny thought?\n\nEMG",
"time": "11:05",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nBut TrackMouseEvent( ::hWnd, TME_LEAVE ) is called with TME_LEAVE parameter, so it just notifies when the mouse leaves the control, not when the mouse is moved.\n\nAnyhow, an error like the one that you describe looks as a recursive call that forces the operating system to quit the task",
"time": "11:25",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Can you compile my sample and send me the resulting EXE?\n\nEMG",
"time": "11:37",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nAlready sent",
"time": "11:44",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Your EXE works fine here too.\n\nEMG",
"time": "11:49",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":1ttfhsdi]Enrico,\n\nBut TrackMouseEvent( ::hWnd, TME_LEAVE ) is called with TME_LEAVE parameter, so it just notifies when the mouse leaves the control, not when the mouse is moved.\n\nAnyhow, an error like the one that you describe looks as a recursive call that forces the operating system to quit the task[/quote:1ttfhsdi]\n\nIt seems that TrackMouseEvent( ::hWnd, TME_LEAVE ) calls HandleEvent() that, in turn, calls MouseMove() again but I can't understand how...\n\nEMG",
"time": "11:51",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Can you send me a ZIP file containing:\n\n- HARBOUR.EXE\n- inlcude folder\n- lib folder\n\nfrom your Harbour installation?\n\nEMG",
"time": "12:01",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nHave you used the libraries that I just sent you ? If we use the same libraries and the same Harbour, then we should get the same EXE",
"time": "12:15",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":3fcqhuhz]Enrico,\n\nHave you used the libraries that I just sent you ? If we use the same libraries and the same Harbour, then we should get the same EXE[/quote:3fcqhuhz]\n\nYes, as I wrote some messages ago, I tried with your libraries and found no differences.\n\nEMG",
"time": "12:20",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Using your Harbour libraries the problem goes away. The size of your libraries are different from those I have. I'm going to investigate why...\n\nEMG",
"time": "12:32",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It is vm.lib. I have to find what I'm doing wrong building Harbour...\n\nEMG",
"time": "12:39",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I tried all the differences from your compile batch and mine. The only one that I've not tried yet is Bison. I don't have bison.simple here. Can you send it to me? Are you sure it is required?\n\nEMG",
"time": "12:47",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nAlready sent\n\nI don't know if it is still required, but I use it",
"time": "13:07",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tried with Bison. No differences. I'm running out of ideas... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "14:24",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nIf you comment TrackMouseEvent() call then it gets fixed ?",
"time": "15:21",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes.\n\nEMG",
"time": "17:58",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nDo you use any library or OBJ of your own ?",
"time": "20:49",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "No, I made the test with pure xHarbour/FWH.\n\nEMG",
"time": "00:25",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Another sample that bombs out as soon as I move the mouse over the link (please note that also TUrlLink uses TrackMouseEvent()):\n\n[code:1rh0ufa9]#include \"Fivewin.ch\"\n#include \"Urllink.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oWnd, oUrl\n\n DEFINE WINDOW oWnd\n\n @ 1, 1 URLLINK oUrl URL \"This is a test\"\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:1rh0ufa9]\n\nI don't understand... <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nEMG",
"time": "13:53",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nHere it is working fine too <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nAre you testing on XP ? I am testing on Vista 32",
"time": "13:59",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes, XP. Do you still have an XP to try my samples on it?\n\nEMG",
"time": "14:19",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nYes, I have XP and Vista here on the same computer <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> We are going to try it.\n\nWell, in fact, I use five different operating systems on my computer <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> XP/Vista, Ubuntu and OSX Tiger/Leopard",
"time": "14:47",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nBoth examples work fine on XP\n\nDo you have your XP upgraded with all automatic updates ?",
"time": "15:24",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":2tbt4evz]Enrico,\n\nBoth examples work fine on XP\n\nDo you have your XP upgraded with all automatic updates ?[/quote:2tbt4evz]\n\nOf course. But sorry, these tests are a waste of time. The facts are that if I replace my vm.lib with the one you sent me yesterday then the problem vanishes. Keep in mind that I'm building Harbour for myself since years. I really can't imagine what the difference is...\n\nEMG",
"time": "20:13",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "> I really can't imagine what the difference is...\n\nSame here <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->",
"time": "20:18",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Don't worry: sooner or later we will find the reason. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "20:41",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nYour example is even running on new OSX Leopard <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[url=http://imageshack.us:3rdjp4lx][img:3rdjp4lx]http://img228.imageshack.us/img228/6734/picture1lg8.png[/img:3rdjp4lx][/url:3rdjp4lx]\n\nCrossOver is a \"Wine\" alike Windows emulator for OSX, so you can directly run Windows EXEs on Mac OSX",
"time": "00:17",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Wonderful!\n\nEMG",
"time": "10:24",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Another question: are you using BCC 5.5.1 or a newer version?\n\nEMG",
"time": "11:33",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nBorland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland",
"time": "11:46",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok. I still trying to find the difference. Even your HARBOUR.EXE is different from mine and I don't know why. C compiler is the same. Harbour sources are the same. I tried all the switches you use in your batch. What am I missing?\n\nEMG",
"time": "11:53",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Can I see your BCC32.CFG and ILINK32.CFG?\n\nEMG",
"time": "12:00",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "bcc32.cfg\n\n-I\"c:\\Bcc55\\include\" \n-L\"c:\\Bcc55\\lib\" \n\nilink32.cfg\n\n-L\"c:\\Bcc55\\lib\"",
"time": "12:19",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Found! It was\n\n-DHB_NO_TRACE\n\nCan you test with it?\n\nEMG",
"time": "12:46",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nWere you using -DHB_NO_TRACE ?\n\nIs it fine now, without it ? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "13:17",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":34lobkm0]Enrico,\n\nWere you using -DHB_NO_TRACE ?[/quote:34lobkm0]\n\nYes.\n\n[quote=\"Antonio Linares\":34lobkm0]Is it fine now, without it ? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:34lobkm0]\n\nYes. Anyway, I would want to report it to the Harbour developers list, if you confirm the problem.\n\nEMG",
"time": "15:30",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nI am currently reinstalling an operating system on the computer\n\nAs soon as I finish I will check it, thanks",
"time": "17:40",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok, thank you.\n\nEMG",
"time": "17:40",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nProblem confirmed: -DHB_NO_TRACE can't be used. It also GPFs here.\n\nI appreciate if you report it on the list, thanks",
"time": "19:22",
"topic": "Bug in Harbour version of toolbar",
"username": "Antonio Linares"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2007-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Great! Thank you.\n\nEMG",
"time": "19:37",
"topic": "Bug in Harbour version of toolbar",
"username": "Enrico Maria Giordano"
}
] |
Bug in Harbour version of toolbar
|
[
{
"date": "2017-04-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "The function HasAlpha doesn't work anymore. It returns .T. even if the image doesn't have an alpha channel. I noticed that the function has been changed in dibbmp.c, don't know exactly when.\n\nEMG",
"time": "13:16",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "This is a sample:\n\n[code=fw:2uqi14sy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> hBmp := LOADIMG<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span> <span style=\"color: #000000;\">)</span><br /><br /> ? hBmp<br /> ? HASALPHA<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> LOADIMG<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">IF</span> !FILE<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> <span style=\"color: #00C800;\">IF</span> UPPER<span style=\"color: #000000;\">(</span> CFILEEXT<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"BMP\"</span><br /> <span style=\"color: #00C800;\">RETURN</span> READBITMAP<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> GDIP_IMAGEFROMFILE<span style=\"color: #000000;\">(</span> cFile, .T., UPPER<span style=\"color: #000000;\">(</span> CFILEEXT<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"GIF\"</span> <span style=\"color: #000000;\">)</span></div>[/code:2uqi14sy]\n\nAny ideas?\n\nEMG",
"time": "14:17",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-04",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Up! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "15:28",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-04",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Try with\n\n[code=fw:30m63ca6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> cFile := <span style=\"color: #ff0000;\">\"d:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\f</span>whteam<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span><br /> <span style=\"color: #00C800;\">local</span> hBmp := LoadImg<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> ? hBmp, HASALPHA<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> ? GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #000000;\">(</span> GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /> cFile := <span style=\"color: #ff0000;\">\"D:<span style=\"color: #000000;\">\\F</span>wh<span style=\"color: #000000;\">\\F</span>whTeam<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\a</span>ndroid.bmp\"</span><br /> hBmp := LoadImg<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> ? hBmp, HASALPHA<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> ? GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #000000;\">(</span> GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> LoadImg<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">IF</span> !FILE<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> <span style=\"color: #00C800;\">IF</span> UPPER<span style=\"color: #000000;\">(</span> CFILEEXT<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"BMP\"</span><br /> <span style=\"color: #00C800;\">RETURN</span> READBITMAP<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">Return</span> GDIP_IMAGEFROMFILE<span style=\"color: #000000;\">(</span> cFile, .T., UPPER<span style=\"color: #000000;\">(</span> CFILEEXT<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"GIF\"</span> <span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:30m63ca6]",
"time": "23:16",
"topic": "Bug in HasAlpha()",
"username": "cnavarro"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-04",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Another possibility\n\n[code=fw:1tdcmeip]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oBmp<br /> <span style=\"color: #00C800;\">local</span> cFile := <span style=\"color: #ff0000;\">\"d:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\f</span>whteam<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span><br /> <span style=\"color: #00C800;\">local</span> hBmp := LoadImg<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> ? hBmp, HASALPHA<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> ? GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #000000;\">(</span> GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /> cFile := <span style=\"color: #ff0000;\">\"D:<span style=\"color: #000000;\">\\F</span>wh<span style=\"color: #000000;\">\\F</span>whTeam<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\a</span>ndroid.bmp\"</span><br /> hBmp := LoadImg<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> ? hBmp, HASALPHA<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /> ? GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #000000;\">(</span> GdiplusImagePixGetAlpha<span style=\"color: #000000;\">(</span> GdiPlusImageLoadCachedFile<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><br /> cFile := <span style=\"color: #ff0000;\">\"d:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\f</span>whteam<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span><br /> oBmp := GdiBmp<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> ? oBmp:<span style=\"color: #000000;\">IsAlphaChannel</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBmp:<span style=\"color: #000000;\">Is32Bits</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBmp:<span style=\"color: #000000;\">Destroy</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cFile := <span style=\"color: #ff0000;\">\"D:<span style=\"color: #000000;\">\\F</span>wh<span style=\"color: #000000;\">\\F</span>whTeam<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\a</span>ndroid.bmp\"</span><br /> oBmp := GdiBmp<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> ? oBmp:<span style=\"color: #000000;\">IsAlphaChannel</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBmp:<span style=\"color: #000000;\">Is32Bits</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBmp:<span style=\"color: #000000;\">Destroy</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> LoadImg<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">IF</span> !FILE<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> <span style=\"color: #00C800;\">IF</span> UPPER<span style=\"color: #000000;\">(</span> CFILEEXT<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"BMP\"</span><br /> <span style=\"color: #00C800;\">RETURN</span> READBITMAP<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, cFile <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">Return</span> GDIP_IMAGEFROMFILE<span style=\"color: #000000;\">(</span> cFile, .T., UPPER<span style=\"color: #000000;\">(</span> CFILEEXT<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"GIF\"</span> <span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:1tdcmeip]",
"time": "23:22",
"topic": "Bug in HasAlpha()",
"username": "cnavarro"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "What is the official way to load an image and to check for alpha channel without using classes?\n\nEMG",
"time": "09:09",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "This is an interesting reading and this code may be the simplest way to do it:\n\n[url:11aviyjd]https://www.gamedev.net/topic/607214-get-alpha-channel-from-32bit-bmp/[/url:11aviyjd]\n\n[code=fw:11aviyjd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">struct ABGRStruct <span style=\"color: #000000;\">{</span><br /> BYTE a,b,g,r;<br /> <span style=\"color: #000000;\">}</span>;<br /><br /> FILE *f = fopen<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"the_file_name.bmp\"</span>, <span style=\"color: #ff0000;\">\"rb\"</span><span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span>f<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">{</span><br /><br /> int w, h;<br /> fseek<span style=\"color: #000000;\">(</span>f, 0x12, SEEK_SET<span style=\"color: #000000;\">)</span>;<br /> fread<span style=\"color: #000000;\">(</span>&w, <span style=\"color: #000000;\">1</span>, sizeof<span style=\"color: #000000;\">(</span>int<span style=\"color: #000000;\">)</span>, f<span style=\"color: #000000;\">)</span>;<br /> fread<span style=\"color: #000000;\">(</span>&h, <span style=\"color: #000000;\">1</span>, sizeof<span style=\"color: #000000;\">(</span>int<span style=\"color: #000000;\">)</span>, f<span style=\"color: #000000;\">)</span>;<br /> fseek<span style=\"color: #000000;\">(</span>f, <span style=\"color: #000000;\">54</span>, SEEK_SET<span style=\"color: #000000;\">)</span>;<br /><br /> int NumPixels = w * h;<br /> <span style=\"color: #00C800;\">for</span><span style=\"color: #000000;\">(</span>int i = <span style=\"color: #000000;\">0</span>; i < NumPixels; i++<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">{</span><br /> ABGRStruct <span style=\"color: #0000ff;\">Pixel</span>;<br /> fread<span style=\"color: #000000;\">(</span>&Pixel, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4</span>, f<span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #B900B9;\">// do something with alpha</span><br /> <span style=\"color: #000000;\">}</span><br /><br /> fclose<span style=\"color: #000000;\">(</span>f<span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span></div>[/code:11aviyjd]",
"time": "09:18",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Thank you. I will wait for something faster. I'm going to drop alpha channel support in my application, for the moment.\n\nEMG",
"time": "09:26",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "BitBlt() is the fastest way to manage bitmaps\n\nNot sure if there is a flag we could used for Alpha channel detection",
"time": "09:30",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nWindows function AlphaBlend() returns a logical value once it tries to paint a bitmap that have transparent or semitransparent pixels:\n\n[url:37745f30]https://msdn.microsoft.com/en-us/library/windows/desktop/dd183351(v=vs.85).aspx[/url:37745f30]\n\nThus, we could modify FWH function ABPaint() to return the return value of the AlphaBlend() call there",
"time": "10:19",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Ok, let's try it.\n\nEMG",
"time": "10:31",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Please try it using this function:\n\nYou have to provide it a hDC and later on call DeleteDC() \n\n[code=fw:17ako2qs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> ABPAINT <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> #ifdef _WIN64<br /> HDC hDC = <span style=\"color: #000000;\">(</span> HDC <span style=\"color: #000000;\">)</span> hb_parnll<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> #else<br /> HDC hDC = <span style=\"color: #000000;\">(</span> HDC <span style=\"color: #000000;\">)</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> #endif<br /><br /> HDC hDCComp = CreateCompatibleDC<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span>;<br /> BITMAP bm;<br /> HGDIOBJ hOldBmp = SelectObject<span style=\"color: #000000;\">(</span> hDCComp, <span style=\"color: #000000;\">(</span> HBITMAP <span style=\"color: #000000;\">)</span> fw_parH<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> BLENDFUNCTION blend;<br /> int wDest, hDest;<br /><br /> blend.BlendOp = AC_SRC_OVER;<br /> blend.BlendFlags = <span style=\"color: #000000;\">0</span>;<br /> blend.SourceConstantAlpha = <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span> != <span style=\"color: #000000;\">0</span>, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">220</span> <span style=\"color: #000000;\">)</span>;<br /> blend.AlphaFormat = AC_SRC_ALPHA;<br /><br /> #ifdef _WIN64<br /> GetObject<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> HBITMAP <span style=\"color: #000000;\">)</span> hb_parnll<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>, sizeof<span style=\"color: #000000;\">(</span> BITMAP <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">(</span> LPSTR <span style=\"color: #000000;\">)</span> &bm <span style=\"color: #000000;\">)</span>;<br /> #else<br /> GetObject<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> HBITMAP <span style=\"color: #000000;\">)</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>, sizeof<span style=\"color: #000000;\">(</span> BITMAP <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">(</span> LPSTR <span style=\"color: #000000;\">)</span> &bm <span style=\"color: #000000;\">)</span>;<br /> #endif<br /><br /> wDest = bm.bmWidth;<br /> hDest = bm.bmHeight;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> hb_pcount<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> wDest = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span>;<br /> hDest = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> hb_retl<span style=\"color: #000000;\">(</span> AlphaBlend<span style=\"color: #000000;\">(</span> hDC, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>, wDest, hDest, hDCComp,<br /> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, bm.bmWidth, bm.bmHeight, blend <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /><br /> SelectObject<span style=\"color: #000000;\">(</span> hDCComp, hOldBmp <span style=\"color: #000000;\">)</span>;<br /> DeleteDC<span style=\"color: #000000;\">(</span> hDCComp <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /> </div>[/code:17ako2qs]",
"time": "11:01",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "I don't understand. I have to select the correct painting function to use after checking for alpha channel. Ie:\n\nIF HASALPHA()\n use ABPAINT()\nELSE\n use something else\nENDIF\n\nEMG",
"time": "11:24",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "The idea is:\n\nlHasAlpha = ABPaint( hDC, nX, nY, hBitmap, nAlphaLevel )",
"time": "11:33",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Yes, but then the image is already printed with the right or wrong function. We need of a checking function that doesn't print the image, I think.\n\nEMG",
"time": "12:17",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "If we paint it into a memory hDC then we will just check if it works or not\n\nNothing will be seen",
"time": "19:11",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "So, why not to make a function HasAlpha( hBmp ) using ABPaint() inside it?\n\nEMG",
"time": "19:25",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nLets check if it works. \n\nI have modified FWH function ABPaint() to return the result of the call to AlphaBlend()\n\n[code=fw:2thob5i8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> HasAlpha<span style=\"color: #000000;\">(</span> hBitmap <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> hDC := CreateDC<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"DISPLAY\"</span>, <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> lHasAlpha := ABPaint<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, hBitmap <span style=\"color: #000000;\">)</span><br /><br /> DeleteDC<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> lHasAlpha</div>[/code:2thob5i8]\n\nI am emailing you the modified FWH library. I appreciate if you can test it",
"time": "19:53",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "I get this:\n\n[code=fw:2w56lajc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1605041350<span style=\"color: #000000;\">)</span><br />Copyright <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2016</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />Embarcadero C++ <span style=\"color: #000000;\">7.20</span> <span style=\"color: #00C800;\">for</span> Win32 Copyright <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2016</span> Embarcadero Technologies, Inc.<br />ALPHA.c:<br /><span style=\"color: #000000;\">Turbo</span> Incremental Link <span style=\"color: #000000;\">6.75</span> Copyright <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">1997</span><span style=\"color: #000000;\">-2016</span> Embarcadero Technologies, Inc.<br />Error: <span style=\"color: #000000;\">Unresolved</span> external <span style=\"color: #ff0000;\">'_pcre_config'</span> referenced <span style=\"color: #0000ff;\">from</span> E:\\HARBOUR\\LIB\\HBRTL.LIB|hbregex<br />Error: <span style=\"color: #000000;\">Unresolved</span> external <span style=\"color: #ff0000;\">'_pcre_stack_malloc'</span> referenced <span style=\"color: #0000ff;\">from</span> E:\\HARBOUR\\LIB\\HBRTL.LIB|hbregex<br />Error: <span style=\"color: #000000;\">Unresolved</span> external <span style=\"color: #ff0000;\">'_pcre_stack_free'</span> referenced <span style=\"color: #0000ff;\">from</span> E:\\HARBOUR\\LIB\\HBRTL.LIB|hbregex<br />Error: <span style=\"color: #000000;\">Unable</span> <span style=\"color: #0000ff;\">to</span> perform link</div>[/code:2w56lajc]\n\nCan you send me the libs for xHarbour, please?\n\nEMG",
"time": "22:09",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-06",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Are you linking hbpcre.lib ?",
"time": "00:14",
"topic": "Bug in HasAlpha()",
"username": "Antonio Linares"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-06",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Function HasAlpha() has never been changed and works the same way it was working all the time.\n\n[code=fw:3kll3vt1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cFile := <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span><br />hBmp := FILOADIMG<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Source of function image.prg. Requires Freeimage.dll</span><br />? HasAlpha<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// --> .F.</span><br /> </div>[/code:3kll3vt1]\n\nIn the first post in this thread, hBmp is read wth the function GDIP_IMAGEFROMFILE(). This function uses GDI+. This does not require freeimage.dll, but the side-effect is this function converts even jpeg image as an alpha image and returns hBmp which has Alpha. Naturally HasAlpha( hBmp ) returns .T., because this hBitmap has Alpha channel. Even if the alpha channel is added ( 32-bit bitmap instead of 24-bit bitmap) there is no change in the content or rendering when painted with abpaint(). We knew this behavior from the time we started using GDI+.",
"time": "02:31",
"topic": "Bug in HasAlpha()",
"username": "nageswaragunupudi"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2017-04-06",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "[quote=\"nageswaragunupudi\":3ay3a3ib]Function HasAlpha() has never been changed and works the same way it was working all the time.\n\n[code=fw:3ay3a3ib]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cFile := <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span><br />hBmp := FILOADIMG<span style=\"color: #000000;\">(</span> cFile <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Source of function image.prg. Requires Freeimage.dll</span><br />? HasAlpha<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// --> .F.</span><br /> </div>[/code:3ay3a3ib]\n\nIn the first post in this thread, hBmp is read wth the function GDIP_IMAGEFROMFILE(). This function uses GDI+. This does not require freeimage.dll, but the side-effect is this function converts even jpeg image as an alpha image and returns hBmp which has Alpha. Naturally HasAlpha( hBmp ) returns .T., because this hBitmap has Alpha channel. Even if the alpha channel is added ( 32-bit bitmap instead of 24-bit bitmap) there is no change in the content or rendering when painted with abpaint(). We knew this behavior from the time we started using GDI+.[/quote:3ay3a3ib]\n\nThank you. This could explain why HasAlpha() is not working fine. Unfortunately there is another problem: images loaded with GDIP_IMAGEFROMFILE() seems to not paint correctly using ABPAINT(), at least with TPrinter's hDCOut.\n\nEMG",
"time": "08:53",
"topic": "Bug in HasAlpha()",
"username": "Enrico Maria Giordano"
}
] |
Bug in HasAlpha()
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "This is the sample:\n\n[code:384kxwjd]#include \"Fwce.ch\"\n\n\nFUNCTION MAIN()\n\n DBCREATE( CURDIR() + \"\\TMPTEST\", { { \"TEST\", \"C\", 10, 0 } } )\n\n USE ( CURDIR() + \"\\TMPTEST\" )\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 1\"\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 2\"\n\n INDEX ON FIELD -> test TO ( CURDIR() + \"\\TMPTEST\" )\n\n CLOSE\n\n MSGINFO( \"Done!\" )\n\n RETURN NIL[/code:384kxwjd]\n\nIt gives \"Corruption detected\" error.\n\nEMG",
"time": "12:53",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "This sample works fine in MyDevice.\n\nEMG",
"time": "23:34",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nIt looks as the same behavior. Applications should be tested on the Pocket PC memory, not on the memory card",
"time": "06:33",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "The problem is that apparently the memory card can't be mapped to a directory of the PC and this forces to do a manual copy/paste on the device at each execution. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nAre there other solutions?\n\nEMG",
"time": "07:43",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nYou can use Microsoft's device emulator manager:\n<!-- m --><a class=\"postlink\" href=\"http://rapidshare.com/files/32491820/dvcemumanager.zip.html\">http://rapidshare.com/files/32491820/dv ... r.zip.html</a><!-- m -->\nto manage the emulator from your PC and then move the files to the desired location",
"time": "07:57",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Thank you, but all I get is \"Cannot start the emulator\" error message. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "08:47",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nYou need to have the emulator running before using it",
"time": "09:03",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Just tried. Same result. Perhaps some other components is required? Or my emulator is not the right one? It already has a device manager but I get nothing when I run it.\n\nEMG",
"time": "09:09",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nDo you have ActiveSync installed on your computer ? It is required for the dvcemumanager.exe to properly work",
"time": "09:46",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "No, from where can I download it?\n\nThank you!\n\nEMG",
"time": "09:57",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nGoogle for it. Its a Microsoft download\n\nIf you are using Windows Vista then it is no longer needed, as it is part of Vista",
"time": "10:32",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Ok, I already downloaded and installed ActiveSync 4.5 but it won't connect to my device emulator.\n\nAny hint?\n\nEMG",
"time": "10:43",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nOnce the emulator is running, then you execute dvcemumanager.exe and what screen do you get ?",
"time": "10:46",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "As previously: nothing at all with the version provided with the emulator and \"Cannot start the emulator\" with the version you sent me.\n\nEMG",
"time": "10:49",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nAre you using XP ?",
"time": "11:13",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Yes. Anyway, now the Device Manager starts (it was not registered). I already get the emulator connected with ActiveSync and I can use Explorer on the PC to see My Device.\n\nBut what I would want to find is a way to automatically copy updated files from mapped storage card to My Device.\n\nIs it possible?\n\nEMG",
"time": "11:25",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nWe could use FWPPC to build an application that does it (using a timer) <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "11:31",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "I just need to automatically copy a file from Storage Card to My Device but I don't know how to access to My Device from a copy command or similar.\n\nEMG",
"time": "11:38",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nMy Device is the root path \"\\\"",
"time": "11:52",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "Sorry, I meant to do a copy from the PC to My Device. I think it is not possible, right?\n\nEMG",
"time": "16:08",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "I rethink to the subject. What makes PACK or INDEX ON command so special that they can't execute in Storage Card while, as an example, REPLACE command or DBCREATE() function aren't?\n\nEMG",
"time": "18:51",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "And why the following sample works?\n\n[code:1v8djvn5]#include \"Fwce.ch\"\n\n\nFUNCTION MAIN()\n\n SET DELETED ON\n\n DBCREATE( CURDIR() + \"\\TMPTEST\", { { \"TEST\", \"C\", 10, 0 } } )\n\n USE ( CURDIR() + \"\\TMPTEST\" )\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 1\"\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 2\"\n\n DELETE\n\n// PACK\n\n CLOSE\n\n MYPACK( CURDIR() + \"\\TMPTEST.DBF\" )\n\n USE ( CURDIR() + \"\\TMPTEST\" )\n\n MSGINFO( RECCOUNT() )\n\n CLOSE\n\n RETURN NIL\n\n\nSTATIC FUNCTION MYPACK( cDbf )\n\n LOCAL cTmp := ( CURDIR() + \"\\TMPTEST_.DBF\" )\n\n USE ( cDbf )\n\n COPY TO ( cTmp )\n\n CLOSE\n\n FERASE( cDbf )\n\n COPY FILE ( cTmp ) TO ( cDbf )\n\n FERASE ( cTmp )\n\n RETURN NIL[/code:1v8djvn5]\n\nEMG",
"time": "19:13",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-21",
"forum": "FiveWin for Pocket PC",
"text": "And why this other works too (please note that I only add REQUEST DBFNTX)?\n\n[code:3b7y3wqi]#include \"Fwce.ch\"\n\n\nREQUEST DBFNTX\n\n\nFUNCTION MAIN()\n\n DBCREATE( CURDIR() + \"\\TMPTEST\", { { \"TEST\", \"C\", 10, 0 } } )\n\n USE ( CURDIR() + \"\\TMPTEST\" )\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 1\"\n\n APPEND BLANK\n\n REPLACE FIELD -> test WITH \"Test 2\"\n\n INDEX ON FIELD -> test TO ( CURDIR() + \"\\TMPTEST\" )\n\n CLOSE\n\n MSGINFO( \"Done!\" )\n\n RETURN NIL[/code:3b7y3wqi]",
"time": "19:19",
"topic": "Bug in INDEX command",
"username": "Enrico Maria Giordano"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-22",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\n> Sorry, I meant to do a copy from the PC to My Device. I think it is not possible, right? \n\nTotal Commander allows to map a Pocket PC path",
"time": "08:23",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2007-05-22",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nHarbour is the one that manages the files, so I can't tell what the difference may it be. The curious thing is that they work fine on the My Device path.\n\nWe have faced similar situations when using SHARED. It works on My Device or subdirs, but not on the memory card",
"time": "08:26",
"topic": "Bug in INDEX command",
"username": "Antonio Linares"
}
] |
Bug in INDEX command
|
[
{
"date": "2006-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The following sample shows .T. and .F. instead of .F. and .T. (CHR( 128 ) is the Euro symbol and is an ANSI code):\n\n[code:3i2gztm8]#include \"Fivewin.ch\"\n\n\nFUNCTION MAIN()\n\n ? ISOEM( CHR( 128 ) )\n ? ISANSI( CHR( 128 ) )\n\n RETURN NIL[/code:3i2gztm8]\n\nEMG",
"time": "17:33",
"topic": "Bug in IsOem()/IsAnsi() function",
"username": "Enrico Maria Giordano"
}
] |
Bug in IsOem()/IsAnsi() function
|
[
{
"date": "2006-03-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nIn source\\winapi\\oemansi.c please implement these changes:\n[code:1mxtxylc]\nCLIPPER ISANSI( PARAMS ) // cString --> lAnsi\n{\n LPBYTE pString = ( LPBYTE ) _parc( 1 );\n WORD w = 0, wLen = _parclen( 1 );\n BOOL bAnsi = FALSE;\n\n while( w < wLen && ! bAnsi )\n {\n bAnsi = ( pString[ w ] >= 224 && pString[ w ] <= 255 ) || pString[ w ] == 128;\n w++;\n }\n\n _retl( bAnsi );\n}\n\n//----------------------------------------------------------------------------//\n\nCLIPPER ISOEM( PARAMS ) // cString --> lOem\n{\n LPBYTE pString = ( LPBYTE ) _parc( 1 );\n WORD w = 0, wLen = _parclen( 1 );\n BOOL bOem = FALSE;\n\n while( w < wLen && ! bOem )\n {\n bOem = pString[ w ] > 128 && pString[ w ] <= 168;\n w++;\n }\n\n _retl( bOem );\n}\n[/code:1mxtxylc]",
"time": "08:45",
"topic": "Bug in IsOem()/IsAnsi() function",
"username": "Antonio Linares"
}
] |
Bug in IsOem()/IsAnsi() function
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.