topic
stringlengths
1
63
text
stringlengths
1
577k
Bug in Harbour version of toolbar
[quote="Antonio Linares":36nnfhtq]Enrico, We have tested FWH 7.11 with Harbour svn 05 Nov, and it works fine. Its the one distributed with FWH 7.11. So it has to be a change in Harbour since 05 Nov.[/quote:36nnfhtq] It maybe. Or I'm doing something wrong. [quote="Antonio Linares":36nnfhtq]Do you get an error.log fi...
Bug in Harbour version of toolbar
Enrico, We have just done a fresh checkout from the Harbour svn, and your test code works fine here
Bug in Harbour version of toolbar
Can I see the batch you are using to build Harbour? EMG
Bug in Harbour version of toolbar
Is this the latest changelog you see in your changelog file? 2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * updated hb_fsTell() and hb_fsEof() to respect platform dependent API calls used in hb_fsSeek[Large]() EMG
Bug in Harbour version of toolbar
This is the batch I'm using to build Harbour: @ ECHO OFF SET PATH=e:\bcc55\bin;e:\harbour cvs\harbour\bin\b32 SET C_USR=-DHB_FM_STATISTICS_OFF SET PRG_USR=-l CALL make_b32 clean CALL make_b32 CD contrib\hbzlib CALL make_b32 clean CALL make_b32 CD ..\win32 CALL make_b32 clean CALL make_b32 CD ..\adordd CALL make_b32 cl...
Bug in Harbour version of toolbar
Enrico, We name this makeb32.bat: SET PATH=%PATH%;%DEVDRIVE%\bcc55\bin;%DEVDRIVE%\util SET BISON_SIMPLE=%DEVDRIVE%\util\bison.simple SET 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 make_b32.bat %1 2007-11-07 01:47 UTC+0...
Bug in Harbour version of toolbar
Enrico, I email you the most recent FWH Harbour libs, just to be sure we use the same files
Bug in Harbour version of toolbar
[quote="Antonio Linares":2w9vtltc]Enrico, We have just done a fresh checkout from the Harbour svn, and your test code works fine here[/quote:2w9vtltc] I just done a fresh checkout too: no changes. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> EMG
Bug in Harbour version of toolbar
Enrico, Are you using the most recent FWH Harbour libs that I have emailed you ?
Bug in Harbour version of toolbar
[quote="Antonio Linares":fkfsuhwc]Enrico, We name this makeb32.bat: SET PATH=%PATH%;%DEVDRIVE%\bcc55\bin;%DEVDRIVE%\util SET BISON_SIMPLE=%DEVDRIVE%\util\bison.simple SET 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 make_...
Bug in Harbour version of toolbar
[quote="Antonio Linares":10z5egu3]Enrico, I email you the most recent FWH Harbour libs, just to be sure we use the same files[/quote:10z5egu3] Tried. No changes. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> EMG
Bug in Harbour version of toolbar
I tracked down the error. It seems that is the call [code:26km7cep]TrackMouseEvent&#40; &#58;&#58;hWnd, TME_LEAVE &#41;[/code:26km7cep] in MouseMove() method of TBtnBmp class that recursively calls MouseMove() again and again. Any thought? EMG
Bug in Harbour version of toolbar
Enrico, But 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. Anyhow, an error like the one that you describe looks as a recursive call that forces the operating system to quit the task
Bug in Harbour version of toolbar
Can you compile my sample and send me the resulting EXE? EMG
Bug in Harbour version of toolbar
Enrico, Already sent
Bug in Harbour version of toolbar
Your EXE works fine here too. EMG
Bug in Harbour version of toolbar
[quote="Antonio Linares":1ttfhsdi]Enrico, But 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. Anyhow, an error like the one that you describe looks as a recursive call that forces the operating system to quit ...
Bug in Harbour version of toolbar
Can you send me a ZIP file containing: - HARBOUR.EXE - inlcude folder - lib folder from your Harbour installation? EMG
Bug in Harbour version of toolbar
Enrico, Have 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
Bug in Harbour version of toolbar
[quote="Antonio Linares":3fcqhuhz]Enrico, Have 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] Yes, as I wrote some messages ago, I tried with your libraries and found no differences. EMG
Bug in Harbour version of toolbar
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... EMG
Bug in Harbour version of toolbar
It is vm.lib. I have to find what I'm doing wrong building Harbour... EMG
Bug in Harbour version of toolbar
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? EMG
Bug in Harbour version of toolbar
Enrico, Already sent I don't know if it is still required, but I use it
Bug in Harbour version of toolbar
Tried with Bison. No differences. I'm running out of ideas... <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> EMG
Bug in Harbour version of toolbar
Enrico, If you comment TrackMouseEvent() call then it gets fixed ?
Bug in Harbour version of toolbar
Yes. EMG
Bug in Harbour version of toolbar
Enrico, Do you use any library or OBJ of your own ?
Bug in Harbour version of toolbar
No, I made the test with pure xHarbour/FWH. EMG
Bug in Harbour version of toolbar
Another sample that bombs out as soon as I move the mouse over the link (please note that also TUrlLink uses TrackMouseEvent()): [code:1rh0ufa9]#include "Fivewin&#46;ch" #include "Urllink&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL oWnd, oUrl DEFINE WINDOW oWnd @ 1, 1 URLLINK oUrl URL "This is a test" ...
Bug in Harbour version of toolbar
Enrico, Here it is working fine too <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> Are you testing on XP ? I am testing on Vista 32
Bug in Harbour version of toolbar
Yes, XP. Do you still have an XP to try my samples on it? EMG
Bug in Harbour version of toolbar
Enrico, Yes, 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. Well, in fact, I use five different operating systems on my computer <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="S...
Bug in Harbour version of toolbar
Enrico, Both examples work fine on XP Do you have your XP upgraded with all automatic updates ?
Bug in Harbour version of toolbar
[quote="Antonio Linares":2tbt4evz]Enrico, Both examples work fine on XP Do you have your XP upgraded with all automatic updates ?[/quote:2tbt4evz] Of 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 min...
Bug in Harbour version of toolbar
> I really can't imagine what the difference is... Same here <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
Bug in Harbour version of toolbar
Don't worry: sooner or later we will find the reason. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
Bug in Harbour version of toolbar
Enrico, Your example is even running on new OSX Leopard <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [url=http&#58;//imageshack&#46;us:3rdjp4lx][img:3rdjp4lx]http&#58;//img228&#46;imageshack&#46;us/img228/6734/picture1lg8&#46;png[/img:3rdjp4lx][/url:3rdjp4lx] CrossOve...
Bug in Harbour version of toolbar
Wonderful! EMG
Bug in Harbour version of toolbar
Another question: are you using BCC 5.5.1 or a newer version? EMG
Bug in Harbour version of toolbar
Enrico, Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Bug in Harbour version of toolbar
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? EMG
Bug in Harbour version of toolbar
Can I see your BCC32.CFG and ILINK32.CFG? EMG
Bug in Harbour version of toolbar
bcc32.cfg -I"c:\Bcc55\include" -L"c:\Bcc55\lib" ilink32.cfg -L"c:\Bcc55\lib"
Bug in Harbour version of toolbar
Found! It was -DHB_NO_TRACE Can you test with it? EMG
Bug in Harbour version of toolbar
Enrico, Were you using -DHB_NO_TRACE ? Is it fine now, without it ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Bug in Harbour version of toolbar
[quote="Antonio Linares":34lobkm0]Enrico, Were you using -DHB_NO_TRACE ?[/quote:34lobkm0] Yes. [quote="Antonio Linares":34lobkm0]Is it fine now, without it ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:34lobkm0] Yes. Anyway, I would want to report it to the ...
Bug in Harbour version of toolbar
Enrico, I am currently reinstalling an operating system on the computer As soon as I finish I will check it, thanks
Bug in Harbour version of toolbar
Ok, thank you. EMG
Bug in Harbour version of toolbar
Enrico, Problem confirmed: -DHB_NO_TRACE can't be used. It also GPFs here. I appreciate if you report it on the list, thanks
Bug in Harbour version of toolbar
Great! Thank you. EMG
Bug in HasAlpha()
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. EMG
Bug in HasAlpha()
This is a sample: [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;">&#40;</span><span style="color: ...
Bug in HasAlpha()
Up! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
Bug in HasAlpha()
Try with [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;">&#40;</span><span style="colo...
Bug in HasAlpha()
Another possibility [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;">&#40;</span><span ...
Bug in HasAlpha()
What is the official way to load an image and to check for alpha channel without using classes? EMG
Bug in HasAlpha()
This is an interesting reading and this code may be the simplest way to do it: [url:11aviyjd]https&#58;//www&#46;gamedev&#46;net/topic/607214-get-alpha-channel-from-32bit-bmp/[/url:11aviyjd] [code=fw:11aviyjd]<div class="fw" id="{CB}" style="font-family: monospace;">struct ABGRStruct <span style="color: #000000;">&#1...
Bug in HasAlpha()
Thank you. I will wait for something faster. I'm going to drop alpha channel support in my application, for the moment. EMG
Bug in HasAlpha()
BitBlt() is the fastest way to manage bitmaps Not sure if there is a flag we could used for Alpha channel detection
Bug in HasAlpha()
Enrico, Windows function AlphaBlend() returns a logical value once it tries to paint a bitmap that have transparent or semitransparent pixels: [url:37745f30]https&#58;//msdn&#46;microsoft&#46;com/en-us/library/windows/desktop/dd183351(v=vs&#46;85)&#46;aspx[/url:37745f30] Thus, we could modify FWH function ABPaint() ...
Bug in HasAlpha()
Ok, let's try it. EMG
Bug in HasAlpha()
Please try it using this function: You have to provide it a hDC and later on call DeleteDC() [code=fw:17ako2qs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> ABPAINT <span style="color: #000000;">&#41;</span><br /><span...
Bug in HasAlpha()
I don't understand. I have to select the correct painting function to use after checking for alpha channel. Ie: IF HASALPHA() use ABPAINT() ELSE use something else ENDIF EMG
Bug in HasAlpha()
The idea is: lHasAlpha = ABPaint( hDC, nX, nY, hBitmap, nAlphaLevel )
Bug in HasAlpha()
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. EMG
Bug in HasAlpha()
If we paint it into a memory hDC then we will just check if it works or not Nothing will be seen
Bug in HasAlpha()
So, why not to make a function HasAlpha( hBmp ) using ABPaint() inside it? EMG
Bug in HasAlpha()
Enrico, Lets check if it works. I have modified FWH function ABPaint() to return the result of the call to AlphaBlend() [code=fw:2thob5i8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> HasAlpha<span style="color: #000000;">&#40;</span> hBitmap <span style="co...
Bug in HasAlpha()
I get this: [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;">&#40;</span>r1605041350<span style="color: #000000;">&#41;</span><br />Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #00...
Bug in HasAlpha()
Are you linking hbpcre.lib ?
Bug in HasAlpha()
Function HasAlpha() has never been changed and works the same way it was working all the time. [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="c...
Bug in HasAlpha()
[quote="nageswaragunupudi":3ay3a3ib]Function HasAlpha() has never been changed and works the same way it was working all the time. [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: #00...
Bug in INDEX command
This is the sample: [code:384kxwjd]#include "Fwce&#46;ch" FUNCTION MAIN&#40;&#41; DBCREATE&#40; CURDIR&#40;&#41; + "\TMPTEST", &#123; &#123; "TEST", "C", 10, 0 &#125; &#125; &#41; USE &#40; CURDIR&#40;&#41; + "\TMPTEST" &#41; APPEND BLANK REPLACE FIELD -> test WITH "Test 1" APPEND BLANK ...
Bug in INDEX command
This sample works fine in MyDevice. EMG
Bug in INDEX command
Enrico, It looks as the same behavior. Applications should be tested on the Pocket PC memory, not on the memory card
Bug in INDEX command
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:-( --> Are there other solutions? EMG
Bug in INDEX command
Enrico, You can use Microsoft's device emulator manager: <!-- m --><a class="postlink" href="http://rapidshare.com/files/32491820/dvcemumanager.zip.html">http://rapidshare.com/files/32491820/dv ... r.zip.html</a><!-- m --> to manage the emulator from your PC and then move the files to the desired location
Bug in INDEX command
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:-( --> EMG
Bug in INDEX command
Enrico, You need to have the emulator running before using it
Bug in INDEX command
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. EMG
Bug in INDEX command
Enrico, Do you have ActiveSync installed on your computer ? It is required for the dvcemumanager.exe to properly work
Bug in INDEX command
No, from where can I download it? Thank you! EMG
Bug in INDEX command
Enrico, Google for it. Its a Microsoft download If you are using Windows Vista then it is no longer needed, as it is part of Vista
Bug in INDEX command
Ok, I already downloaded and installed ActiveSync 4.5 but it won't connect to my device emulator. Any hint? EMG
Bug in INDEX command
Enrico, Once the emulator is running, then you execute dvcemumanager.exe and what screen do you get ?
Bug in INDEX command
As previously: nothing at all with the version provided with the emulator and "Cannot start the emulator" with the version you sent me. EMG
Bug in INDEX command
Enrico, Are you using XP ?
Bug in INDEX command
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. But what I would want to find is a way to automatically copy updated files from mapped storage card to My Device. Is it possible? EMG
Bug in INDEX command
Enrico, We 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:-) -->
Bug in INDEX command
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. EMG
Bug in INDEX command
Enrico, My Device is the root path "\"
Bug in INDEX command
Sorry, I meant to do a copy from the PC to My Device. I think it is not possible, right? EMG
Bug in INDEX command
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? EMG
Bug in INDEX command
And why the following sample works? [code:1v8djvn5]#include "Fwce&#46;ch" FUNCTION MAIN&#40;&#41; SET DELETED ON DBCREATE&#40; CURDIR&#40;&#41; + "\TMPTEST", &#123; &#123; "TEST", "C", 10, 0 &#125; &#125; &#41; USE &#40; CURDIR&#40;&#41; + "\TMPTEST" &#41; APPEND BLANK REPLACE FIELD -> test ...
Bug in INDEX command
And why this other works too (please note that I only add REQUEST DBFNTX)? [code:3b7y3wqi]#include "Fwce&#46;ch" REQUEST DBFNTX FUNCTION MAIN&#40;&#41; DBCREATE&#40; CURDIR&#40;&#41; + "\TMPTEST", &#123; &#123; "TEST", "C", 10, 0 &#125; &#125; &#41; USE &#40; CURDIR&#40;&#41; + "\TMPTEST" &#41; APPE...
Bug in INDEX command
Enrico, > Sorry, I meant to do a copy from the PC to My Device. I think it is not possible, right? Total Commander allows to map a Pocket PC path
Bug in INDEX command
Enrico, Harbour 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. We have faced similar situations when using SHARED. It works on My Device or subdirs, but not on the memory card
Bug in IsOem()/IsAnsi() function
The following sample shows .T. and .F. instead of .F. and .T. (CHR( 128 ) is the Euro symbol and is an ANSI code): [code:3i2gztm8]#include "Fivewin&#46;ch" FUNCTION MAIN&#40;&#41; ? ISOEM&#40; CHR&#40; 128 &#41; &#41; ? ISANSI&#40; CHR&#40; 128 &#41; &#41; RETURN NIL[/code:3i2gztm8] EMG
Bug in IsOem()/IsAnsi() function
Enrico, In source\winapi\oemansi.c please implement these changes: [code:1mxtxylc] CLIPPER ISANSI&#40; PARAMS &#41; // cString --> lAnsi &#123; LPBYTE pString = &#40; LPBYTE &#41; _parc&#40; 1 &#41;; WORD w = 0, wLen = _parclen&#40; 1 &#41;; BOOL bAnsi = FALSE; while&#40; w < wLen && ! bAnsi ...