topic
stringlengths
1
63
text
stringlengths
1
577k
Antonio: Differences between BORLAND and VCC
Just remove -TP from here: [code=fw:3ln5p452]<div class="fw" id="{CB}" style="font-family: monospace;">%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</div>[/code:3ln5p452] EMG
Antonio: Differences between BORLAND and VCC
Rick, did you try it? EMG
Antonio: Differences between BORLAND and VCC
ENrico I made the change you suggested .. same result .. Tutor01.exe is created but will not run .. [code=fw:2cmoq5q6]<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> &nbsp; &nbsp; 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> &nbsp; <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 /><br />rem <span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%FWDIR%"</span> == <span style="color: #ff0000;">""</span> set FWDIR=.\..<br />rem <span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%HBDIR%"</span> == <span style="color: #ff0000;">""</span> set HBDIR=c:\xHarbourM<br /><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 />rem %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 />%vcdir%\bin\cl.Exe -W3 -O2 -nologo -c -GA -GS -EHsc /I%hdir%\include /I%vcdir%\include %<span style="color: #000000;">1</span>.<br /><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 &nbsp;> msvc.tmp<br /><br />: <span style="color: #000000;">fivewin</span> libs<br />echo c:\Fwh1707\lib\FivehMX.lib c:\fwh1707\lib\FiveHc32.lib &nbsp;>> msvc.tmp<br /><br />: <span style="color: #000000;">xHarbourM</span> libs<br /><br />echo %hdir%\lib\rtl.lib &nbsp; &nbsp;>> msvc.tmp<br />echo %hdir%\lib\vm.lib &nbsp; &nbsp; >> msvc.tmp<br />echo %hdir%\lib\gtgui.lib &nbsp;>> msvc.tmp<br />echo %hdir%\lib\lang.lib &nbsp; >> msvc.tmp<br />echo %hdir%\lib\macro.lib &nbsp;>> msvc.tmp<br />echo %hdir%\lib\rdd.lib &nbsp; &nbsp;>> 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 &nbsp;>> msvc.tmp<br />echo %hdir%\lib\debug.lib &nbsp;>> msvc.tmp<br />echo %hdir%\lib\common.lib >> msvc.tmp<br />echo %hdir%\lib\pp.lib &nbsp; &nbsp; >> msvc.tmp<br />echo %hdir%\lib\pcrepos.lib >> msvc.tmp<br />echo %hdir%\lib\png.lib &nbsp; &nbsp; >> msvc.tmp<br /><br />echo %hdir%\lib\ct.lib &nbsp;>> msvc.tmp<br /><br />rem ... can not find this in xHarbourM<br />rem echo %hdir%\lib\hbzlib.lib &nbsp;>> msvc.tmp<br /><br />echo %hdir%\lib\zlib.lib &nbsp; >> msvc.tmp<br />echo %hdir%\lib\HBMzip.lib &nbsp;>> msvc.tmp<br />echo %hdir%\lib\HBzip.lib &nbsp;>> msvc.tmp<br /><br />: <span style="color: #000000;">msvc</span> libs<br /><br />echo %vcdir%\lib\kernel32.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\user32.lib &nbsp; &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\gdi32.lib &nbsp; &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\winspool.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\comctl32.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\comdlg32.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\advapi32.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\shell32.lib &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\ole32.lib &nbsp; &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\oleaut32.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\uuid.lib &nbsp; &nbsp; &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\odbc32.lib &nbsp; &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\odbccp32.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\iphlpapi.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\mpr.lib &nbsp; &nbsp; &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\version.lib &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\wsock32.lib &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\msimg32.lib &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\oledlg.lib &nbsp; &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\psapi.lib &nbsp; &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\gdiplus.lib &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\winmm.lib &nbsp; &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\libcmt.lib &nbsp; &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\oldnames.lib &nbsp;>> msvc.tmp<br />echo %vcdir%\lib\libcpmt.lib &nbsp; >> msvc.tmp<br />echo %vcdir%\lib\ws2_32.lib &nbsp; &nbsp;>> 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 /><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 &nbsp; &nbsp;SYNTAX: <span style="color: #000000;">Build</span> <span style="color: #000000;">&#91;</span>Program<span style="color: #000000;">&#93;</span> &nbsp; &nbsp; <span style="color: #000000;">&#123;</span>-- No especifiques la extensi¢n PRG<br />ECHO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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:2cmoq5q6] [code=fw:2cmoq5q6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<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> &nbsp; &nbsp; 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> &nbsp; <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 />cl : <span style="color: #000000;">Command</span> line warning D9021 : <span style="color: #000000;">no</span> <span style="color: #0000ff;">action</span> performed<br />&nbsp; &nbsp;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 /><br />&nbsp;</div>[/code:2cmoq5q6]
Antonio: Differences between BORLAND and VCC
Rick, you missed a "c": [code=fw:q0k0nnfm]<div class="fw" id="{CB}" style="font-family: monospace;">%vcdir%\bin\cl.Exe -W3 -O2 -nologo -c -GA -GS -EHsc /I%hdir%\include /I%vcdir%\include %<span style="color: #000000;">1</span>.</div>[/code:q0k0nnfm] EMG
Antonio: Differences between BORLAND and VCC
A new test. As you see, the width and the height of the dialog are 10 pixels higher in MS-VCC. The dialog itself on the screen are exactly the same. Only the capture size is different. The sizes of the dialogs are different in both cases from the code. See my code above. -> (DEFINE DIALOG oDlg FROM 50, 50 TO 250, 450 PIXEL TITLE "Test" FONT oFont) [img:36m46srb]http&#58;//byte-one&#46;com/dialogs2&#46;png[/img:36m46srb]
Antonio: Differences between BORLAND and VCC
Enrick SUCCESS ... yes, I seemed to have dropped off .c at the end of the link line ... [quote:2d7atsm8] %vcdir%\bin\cl.Exe -W3 -O2 -nologo -c -GA -GS -EHsc /I%hdir%\include /I%vcdir%\include %1.c [/quote:2d7atsm8] Thank you .. let me see if I can do some tests! Rick Lipkin
Antonio: Differences between BORLAND and VCC
But the client rect is identical in both cases.
Antonio: Differences between BORLAND and VCC
Günther I tested your code with Bcc73\xHarbour and MSVC2017\xHarbour on Windows 10 Spring Creator Pro 64 bit and got the same result ... here is your code: [code=fw:159bnq9j]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FIveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> dlg_test<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><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 /><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 /><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><br /> </div>[/code:159bnq9j] Here is the result: [img:159bnq9j]http&#58;//i64&#46;tinypic&#46;com/23sb3us&#46;jpg[/img:159bnq9j] I just recently got MSVC2017 working and built your sample with my revised BuildxM.bat ... both results seem identical .. the blue title is because the Borland build was in focus. Rick Lipkin ps .. in order to test your code side by side .. I created Gunther1.prg for MSVC2017 and copied the same code to Gunther5.prg for Borland
Antonio: Differences between BORLAND and VCC
It is true that the external dimensions of the dialog differ by 10 pixels (both height and width). But the client rect of the dialog is exactly the same in both and also same as the coordintates specified by us while creating the dialog. So if we position the controls either with absolute coordinates or proportionate to the dimensions we used to create the dialog, the controls in both cases will be placed exactly at the sampe positons inside the dialog. So, this difference does not affect our programming.
Antonio: Differences between BORLAND and VCC
In fact, ::nWidth()/::nHight()/::nWidth/::nHight/::GetRect() differs on both compilers and should not used to calculations for controls!?
Antonio: Differences between BORLAND and VCC
In any case, it is not a good idea to use oDlg:nHeight or oDlg:nWidth for calculating relative position of controls, because these datas give external dimensions. Not client area dimensions. I personally recommend this way: local nDlgWidth := 400 local nDlgHeight := 200 DEFINE DIALOG oDlg SIZE nDlgWidth-1, nDlgHeight-1 PIXEL TRUEPIXEL. Then calculate relative positions of controls with respect to nDlgWidth and nDlgHeight.
Antonio: Differences between BORLAND and VCC
Thanks, this is no problem to respect! But i test also ::move(,,nWidth,nHeight) or ::SetSize( nWidth, nHeight). This methods also give differences. (in VCC also the 10 Pixels to small in both directions)
Antonio: Differences between BORLAND and VCC
I have to admit ... I don't understand why all the different compilers. I build all code with two options: 1). Older xHabour ( .com version ) with xBuilder ... 2). Preferred option of Visual Studio 2017 Community edition ( MSVCC ) plus Harbour I only use #1 for those who are using ADS Version 7 or 8 which I can't seem to address with the Harbour libraries. Version 9 and above work great. So my question is this. Why try to use xHarbour with MSVCC, or use Borland ? What specific advantages do they provide to end users not found using MSVCC plus Harbour with FWH ? My reason for preferring MS Visual Studio is quite simple. The bottom line is we are interacting with Microsoft Windows 10 ( and if not, you will be ), and obviously VS is built to address that platform. Thus, the fewest complications, and the greatest potential for future features lies with the tools that match the OS the most closely. Am I missing something here ? I ask, because if all FWH features have to work across a wide variety of compilers, and two versions of the Harbour API ( Harbour, xHarbour ), then do we not slow down progress ? Could this be part of the reason we are only on 18.03 as we enter are .06 month ?
Antonio: Differences between BORLAND and VCC
Tim, I made some speed compare test between BCC 7.30 and MSVC 2017 and found the former much faster (I'm referring to dbf and index operations). And as a bonus, BCC generates smaller EXEs. That's why I'm using BCC. EMG
Antonio: Differences between BORLAND and VCC
I generally find speed is not a real time issue, but I have noted that doing an Index on a pure Win 10 machine version an Apple running Parallels with Win 10, the Apple is MUCH faster. I have no idea why.
Antonio: Differences between BORLAND and VCC
To All Generally I prefer BCC .. and Enrico is correct ... BCC creates a smaller .exe .. again, not a big deal.... but I like the C++ Command line concept. I work also for a small computer shop and when I am not writing code .. I help out with the technical aspect of the retail business. I have stated many times that I despise dot net especially because there are SO MANY security patches for the dot net client ( framework ) .. and trying to keep up with dot net ver 1.1, 2, 3.5, 4.6,4.7 .. When was the last time someone gen'd up a Windows 7 sp1 Operating system from scratch ? .. did you know a Fresh Install of Windows 7 has over 90+ security and upgrade patches to the dot net client ( after sp1 ) .. you know how long it takes to run all those updates ? .. and dot net is like 'turning to the dark side' .. you start down the dot net path .. the mindless 'pollution' of patches and monthly dot net roll-ups just keep coming and are a pain in the _ss. With that said .. I like how Microsoft has changed 'patch Tuesday' and how they release updates for Windows 10 .. generally there is a consolidated roll-up every month that updates and supersedes the last cumulative roll up .. one and done.. When I saw the MSVC2017 command line compiler available I thought I would give it a try since I did NOT have to install Visual Studio... I must admit it took a while ( especially with Cristobol's guidance ... many thanks ) to help me modify the BuildxM build script ... I took what I learned from BuildxM and applied that to creating a new xMate FwhMsvc.env ( environment ) to allow me to re-compile all my major applications .. just switch between my BCC and MSVC environments and I can compile my apps any way I like .. with just a change in xMate environments... ( you must maintain both (x)Harbour for BCC and MSVC2017 compilers on your machine ) Now I have a choice BCC or MSVC without having to pollute my machine ( or set up a special Virtual Machine ) and NO NEED for Visual Studio ... NOW, I can make a comparison ( as enrico mentions ) on speed of execution, reliability, new MSVC libs ( perhaps with better security ) .. and head to head, so far I still prefer BCC to MSVC .. all without having to install Visual Studio .. Just my 2 cents worth .. the bottom line is all about the ability of choice .. FWH is a remarkable product ( thank you Antonio ) which has the flexibility to work with Harbour, xHarbour, BCC and MSVC ... and now as a developer, with minimal effort .. I can chose to use either C++ compilers ( with minimal over-head ) with just the flip of a switch. Rick Lipkin ps ... FiveEdit ( i believe ) can also compile with MSVC2015-17 or BCC ( thanks cristobol )
Antonio: Duplexprint
In the source printdc.c in function HB_FUNC( PRNDUPLEX ) // ( nValue ) --> nOldValue should be added the line [code=fw:ba3mhhx9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>pDevMode->dmFields & DM_DUPLEX<span style="color: #000000;">&#41;</span></div>[/code:ba3mhhx9] to set any nValue only if the duplexprint for the printer is present. Or a second way == better: A separated function IsDuplexprinter() similar to IsColorprinter()
Antonio: Duplexprint
Günther, Please post the entire source code of your modified HB_FUNC( PRNDUPLEX ) thanks
Antonio: Duplexprint
My code for a new function IsDuplexPrinter(): [code=fw:wmb1hk81]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> ISDUPLEXPRINTER <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   LPDEVMODE  lpDevMode;<br /><br />   PrinterInit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br /><br />   lpDevMode  = <span style="color: #000000;">&#40;</span>LPDEVMODE<span style="color: #000000;">&#41;</span> GlobalLock<span style="color: #000000;">&#40;</span> pd.hDevMode <span style="color: #000000;">&#41;</span>;<br /><br />   hb_retl<span style="color: #000000;">&#40;</span> pDevMode->dmFields & DM_DUPLEX <span style="color: #000000;">&#41;</span>;<br />   GlobalUnlock<span style="color: #000000;">&#40;</span> pd.hDevMode <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:wmb1hk81] If this function return .T. the PRNDUPLEX() can set a duplex-mode.
Antonio: Duplexprint
Günther, Included for the next FWH version <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> many thanks
Antonio: Duplexprint
Antonio, perfect! Thanks!
Antonio: Duplexprint
Antonio, the methods setduplexnone() , setduplexlong() , setduplexshort() or a single method should add to printer.prg! (with check to duplex Y/N with the new function)
Antonio: Duplexprint
Günther, Have you implemented them ? If so, please share the code, thanks
Antonio: Duplexprint
Antonio, i have do this in rpreview and insert radios on the print-side dialog: Parameters are 1==none duplex, 2==duplex long side, 3==duplex short side But not all printers with ISDUPLEXPRINTER()==.T. can really print duplex! [code=fw:r9bhy5cm]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> Setduplex<span style="color: #000000;">&#40;</span> nMode <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TPreview<br /><span style="color: #00C800;">if</span> ISDUPLEXPRINTER<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    PRNDUPLEX<span style="color: #000000;">&#40;</span> nMode <span style="color: #000000;">&#41;</span><br />    ::<span style="color: #000000;">oDevice</span>:<span style="color: #000000;">Rebuild</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">NIL</span></div>[/code:r9bhy5cm]
Antonio: Duplexprint
Günther, > i have do this in rpreview and insert radios on the print-side dialog Could you post a screenshot of the dialog ? thanks
Antonio: Duplexprint
Antonio, screenshoot from my preview dialog. [img:2sh4uw3e]http&#58;//byte-one&#46;com/print&#46;png[/img:2sh4uw3e]
Antonio: El avi es para FWPPC podria para Harbour y FWH ?
Saludos y Gracias Ruben Fernandez
Antonio: El avi es para FWPPC podria para Harbour y FWH ?
Ruben, No entiendo tu pregunta
Antonio: El avi es para FWPPC podria para Harbour y FWH ?
Antonio, imagino que Rubén se referirá al video avi que has puesto sobre la configuración de UEstudio para FWPPC. Rubén, si es eso sí, se puede. Saludos, Felix
Antonio: El avi es para FWPPC podria para Harbour y FWH ?
Felix, Gracias. El video es igual de util para usar Harbour y FWH ya que el proceso es el mismo
Antonio: El avi es para FWPPC podria para Harbour y FWH ?
Gracias Felix, Gracias Antonio. A eso me refería. Saludos Ruben Fernandez
Antonio: Está disponible SetFTime() / SetFDate() en FWH 2.8?
Antonio: a) Está disponible SetFTime() (o equivalente) en 2.8? Yo aún uso FWH 2.6 y no está implementada. b) En el mismo orden de cosas, TxBrowse() en FWH 2.6 tiene algunas anomalías, como el que no detecta RClick sobre una casilla ya seleccionada. Está solucionado? Gracias, Rafael
Antonio: Está disponible SetFTime() / SetFDate() en FWH 2.8?
Rafael, > a) Está disponible SetFTime() (o equivalente) en 2.8? Yo aún uso FWH 2.6 y no está implementada. > No, aún no está implementada. > b) En el mismo orden de cosas, TxBrowse() en FWH 2.6 tiene algunas anomalías, como el que no detecta RClick sobre una casilla ya seleccionada. Está solucionado? > Le hemos añadido todos los cambios que se han publicado en estos foros. habría que probar en concreto el comportamiento que comentas.
Antonio: Está disponible SetFTime() / SetFDate() en FWH 2.8?
Alguna novedad sobre SetFTime() ? Saludos
Antonio: Está disponible SetFTime() / SetFDate() en FWH 2.8?
Ya resuelto: <!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=205">http://fivetechsoft.com/forums/viewtopic.php?t=205</a><!-- m --> Saludos
Antonio: Extended Windows styles
Is it possible to use this styles in windows or dialogs?
Antonio: FONT and HIDE
Antonio, in REDEFINE CHECKBOX and REDEFINE COMBOBOX (maybe also in other REDEFINes) is no clausula FONT. Would be nice to have! Another idea: A WHEN-clausula which triggers a :hide() (or :show()) from the control!
Antonio: FW para MAC
Estimado Antonio, Necesito migrar una aplicación de Fw Windows con MySql para MAC y tengo las siguientes interrogantes: Puedo aprovechar integramente los fuentes PRG ? debo compilar y probar la aplicación para MAC sólo en un MAC? espero tus comentarios saludos cordiales
Antonio: FW para MAC
Si el usuario instala Parallels en su Mac, no necesitas migrar a FW para Mac, pues trabajaria la Mac bajo Windows. Tengo varios clientes que lo trabajan asi perfectamente.
Antonio: FW para MAC
Luis Alfonso, Si tu cliente no es exigente en cuanto a la apariencia, puedes usar la utilidad gratuita WinBottler: [url:2dd9vc05]http&#58;//winebottler&#46;kronenberg&#46;org/[/url:2dd9vc05] que te permite ejecutar tu aplicación FWH en el Mac directamente. Si tu cliente es exigente en cuanto a la apariencia, y quiere que sea realmente una aplicación Mac, en ese caso puedes reutilizar una gran parte de tu aplicación pero NO recompilarla tal cual con FiveMac, pues hay bastantes diferencias entre Windows y Mac. Por ejemplo, Mac no tiene ventanas MDI. Necesitas tener un ordenador Apple para compilar, probar, etc. Existen formas de probar el sistema operativo de Mac (OSX) en un PC, pero no es recomendable, porque tarde o temprano te da problemas y te hace perder bastante el tiempo. En un Mac hoy en dia puedes tener OSX y tambien ejecutar Windows de forma nativa, seleccionando al arrancar el que quieras usar. Tambien puedes ejecutarlo en una maquina virtual Windows en Mac (como te indica Rodolfo), pero a mi esa opción no me gusta pues Windows va mas lento. Si aun asi te interesa esta opción, en vez de Parallels, te recomiendo probar VirtualBox que es gratuito.
Antonio: GtGui.Lib no viene en harbour 46.
Maestro: Recien baje Harbour 46 y no veo la lib que menciona GTGUI.LIB Saludos y Gracias. Ruben Fernandez.
Antonio: GtGui.Lib no viene en harbour 46.
Ruben, Vuelve a descargarla desde aqui: <!-- m --><a class="postlink" href="http://hyperupload.com/download/026ece0f78/harbour.EXE.html">http://hyperupload.com/download/026ece0 ... r.EXE.html</a><!-- m --> gracias,
Antonio: GtGui.Lib no viene en harbour 46.
Antonio: Muchas gracias. Saludos Ruben Fernandez
Antonio: Harbour 46 ya esta listo?
Maestro: Ya tiene listo Harbour 46? Cuando lo pone el link para bajarlo? Muchas gracias. Ruben Fernandez.
Antonio: Harbour 46 ya esta listo?
Ruben, Vamos a publicarlo en un dias. Han habido una serie de cambios importantes recientemente que deben ser incluidos.
Antonio: Harbour 46 ya esta listo?
Gracias Maestro Saludos Ruben fernandez
Antonio: Harbour 46 ya esta listo?
Ya podeis descargar el nuevo build de Harbour desde: <!-- m --><a class="postlink" href="http://hyperupload.com/download/026ece0f78/harbour.EXE.html">http://hyperupload.com/download/026ece0 ... r.EXE.html</a><!-- m --> También lo teneis en la sección "whatsnew/novedades" de estos foros, como Harbour/xHarbour builds. IMPORTANTE: Teneis que enlazar GTGUI.lib en vez de GTWIN.lib
Antonio: Harbour 46 ya esta listo?
Antonio GtGui.Lib no viene. Cuando la tengamos se sigue compilando esto? ANNOUNCE HB_GTSYS REQUEST HB_GT_NUL Saludos Ruben Fernandez.
Antonio: Harbour 46 ya esta listo?
Ruben, Ha sido un error nuestro. Vuelve a descargalo desde: <!-- m --><a class="postlink" href="http://hyperupload.com/download/026ece0f78/harbour.EXE.html">http://hyperupload.com/download/026ece0 ... r.EXE.html</a><!-- m --> No, no hay que usar nada de eso. Sólo hay que enlazar GTGUI.lib en vez de GTWIN.lib y listo <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Antonio: Harbour 46 ya esta listo?
Antonio: Muchas gracias de nuevo. Saludos Ruben Fernandez.
Antonio: Harbour y ventana DOS al iniciar en Win 98
Estimado Maestro: No quisiera molestar y tampoco ser quejoso pero la ventana DOS la verdad queda espantoso. Habria alguna manera para que esta no aparezca o esperamos el nuevo build para que la cosa se esclarezca. Muchas gracias. Saludos Ruben Fernandez (Hoy me levante rimerosasaso)javascript&#058;emoticon(':lol:') Laughing
Antonio: Harbour y ventana DOS al iniciar en Win 98
Ruben, Crea el siguiente PRG y enlázalo en tu aplicación, y quita la librería GTWIN.lib: /* gtnul.prg */ ANNOUNCE HB_GTSYS REQUEST HB_GT_NUL
Antonio: Harbour y ventana DOS al iniciar en Win 98
Gracias Maestro: quedo funcionado. Saludos Ruben Fernandez
Antonio: Idea for combobox
Similar to xBrowse we can use arrays ::aEditListBound and ::aEditListTxt to split visual text and the bounded text for the variable!?
Antonio: Idea for combobox
Günther, I see what you mean, but we should design it carefully not to break backwards compatibility
Antonio: Idea for combobox
[quote="byte-one":31wws7x5]Similar to xBrowse we can use arrays ::aEditListBound and ::aEditListTxt to split visual text and the bounded text for the variable!?[/quote:31wws7x5] Please try DbCombo.
Antonio: Idea for combobox
No db is really needed. (When the class was first made it used dbf only). Now we can use it with arrays or recordsets too
Antonio: Idea for combobox
Is this class to use only with arrays and without any DB?
Antonio: Idea for combobox
Please try this [code=fw:2rbuwmby]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"dbcombo.ch"</span><br /><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> aMonths &nbsp;:= <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> n, c<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nVar &nbsp;:= <span style="color: #000000;">100</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cMth<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oDlg<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">for</span> n := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">12</span><br />&nbsp; &nbsp; &nbsp; c &nbsp;:= NToCMonth<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; AAdd<span style="color: #000000;">&#40;</span> aMonths, <span style="color: #000000;">&#123;</span> Upper<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> c, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, c <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">next</span><br /><br />&nbsp; &nbsp;cMth &nbsp;:= aMonths<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">400</span>,<span style="color: #000000;">400</span> <span style="color: #0000ff;">PIXEL</span> TRUEPIXEL<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">20</span>,<span style="color: #000000;">20</span> <span style="color: #0000ff;">GET</span> nVar <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>,<span style="color: #000000;">20</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">80</span>,<span style="color: #000000;">20</span> DBCOMBO cMth <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">200</span>,<span style="color: #000000;">600</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ALIAS</span> aMonths ITEMFIELD <span style="color: #000000;">1</span> LISTFIELD <span style="color: #000000;">2</span><br /><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">120</span>,<span style="color: #000000;">20</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"TEST"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>,<span style="color: #000000;">24</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> cMth <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br />&nbsp;</div>[/code:2rbuwmby]
Antonio: Idea for combobox
Oh, thanks! Perfect for me!
Antonio: Idea for combobox
[quote="byte-one":jzgz7hh8]Oh, thanks! Perfect for me![/quote:jzgz7hh8] I forgot to give one caution. If the first column is numeric, the values have to be in serial from 1 to n. If not we may get wrong results. Works perfectly if the 1st column is character value.
Antonio: Memory Leak in DipWrite
Antonio, i found, that in this function pDip should released with [code=fw:gplvwram]<div class="fw" id="{CB}" style="font-family: monospace;">hb_xfree<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> char * <span style="color: #000000;">&#41;</span> pDib <span style="color: #000000;">&#41;</span>;</div>[/code:gplvwram] on 3 positions. I write 1000 BMPs and then the computer-Memory are full in my case. I searched for the reason and found this. [code=fw:gplvwram]<div class="fw" id="{CB}" style="font-family: monospace;">BOOL DibWrite<span style="color: #000000;">&#40;</span> LPSTR szFileName, HGLOBAL hDIB <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br /><br />   long lSize;<br />   char * pDib;<br />   int hBmp;<br /><br />   pDib = DibToStr<span style="color: #000000;">&#40;</span> hDIB, &lSize <span style="color: #000000;">&#41;</span>;<br /><br />   #ifndef UNICODE<br />   <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> hBmp = _lcreat<span style="color: #000000;">&#40;</span> szFileName, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> != HFILE_ERROR <span style="color: #000000;">&#41;</span><br />   <span style="color: #000000;">&#123;</span><br />      _hwrite<span style="color: #000000;">&#40;</span> hBmp, <span style="color: #000000;">&#40;</span> const char * <span style="color: #000000;">&#41;</span> pDib, lSize <span style="color: #000000;">&#41;</span>;<br />      _lclose<span style="color: #000000;">&#40;</span> hBmp <span style="color: #000000;">&#41;</span>;<br />      GlobalUnlock<span style="color: #000000;">&#40;</span> hDIB <span style="color: #000000;">&#41;</span>;<br />    hb_xfree<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> char * <span style="color: #000000;">&#41;</span> pDib <span style="color: #000000;">&#41;</span>;<br />      <span style="color: #00C800;">return</span> <span style="color: #00C800;">TRUE</span>;<br />   <span style="color: #000000;">&#125;</span><br />   #else<br />   <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> hBmp = hb_fsCreate<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> unsigned char * <span style="color: #000000;">&#41;</span> szFileName, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> != <span style="color: #000000;">&#40;</span> int <span style="color: #000000;">&#41;</span> INVALID_HANDLE_VALUE <span style="color: #000000;">&#41;</span><br />   <span style="color: #000000;">&#123;</span><br />      hb_fsWriteLarge<span style="color: #000000;">&#40;</span> hBmp, <span style="color: #000000;">&#40;</span> unsigned char * <span style="color: #000000;">&#41;</span> pDib, lSize <span style="color: #000000;">&#41;</span>;<br />      hb_fsClose<span style="color: #000000;">&#40;</span> hBmp <span style="color: #000000;">&#41;</span>;<br />      GlobalUnlock<span style="color: #000000;">&#40;</span> hDIB <span style="color: #000000;">&#41;</span>;<br />    hb_xfree<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> char * <span style="color: #000000;">&#41;</span> pDib <span style="color: #000000;">&#41;</span>;<br />      <span style="color: #00C800;">return</span> <span style="color: #00C800;">TRUE</span>;<br />   <span style="color: #000000;">&#125;</span><br />   #endif<br />   <span style="color: #00C800;">else</span><br />   <span style="color: #000000;">&#123;</span><br />      GlobalUnlock<span style="color: #000000;">&#40;</span> hDIB <span style="color: #000000;">&#41;</span>;<br />    hb_xfree<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> char * <span style="color: #000000;">&#41;</span> pDib <span style="color: #000000;">&#41;</span>;<br />      <span style="color: #00C800;">return</span> <span style="color: #00C800;">FALSE</span>;<br />   <span style="color: #000000;">&#125;</span><br /><span style="color: #000000;">&#125;</span></div>[/code:gplvwram]
Antonio: Memory Leak in DipWrite
Günther, You are totally right. Many thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Included for next FWH build.
Antonio: Memory Leak in DipWrite
Antonio, all is ok now. Maybe you should check all hb_xalloc() and hb_xgrab() for corresponding hb_xfree(). Specially in C-functions, which returns only a pointer and this pointer are to released in the calling function.
Antonio: Memory Leak in DipWrite
Günther, I constantly do it, though sometimes we may miss a case, like this one. thanks,
Antonio: Migration from FWH 2.5 to 7.5
My first problem is when I start the program allways appears a DOS window how can I hide it? Thanks, RCaridade
Antonio: Migration from FWH 2.5 to 7.5
Rui, You have to use GTGUI.lib instead of GTWIN.lib
Antonio: Migration from FWH 2.5 to 7.5
Thanks.
Antonio: Minor Bugs on 64Bit
Antonio, GetCPUSpeed() and nExtMem() gives wrong results on 64Bit!
Antonio: Minor Bugs on 64Bit
Günther, Could you check: "HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz" and compare it with 32 bits GetCPUSpeed() value ?
Antonio: Minor Bugs on 64Bit
This should work fine on 64 bits: [code=fw:1kfbp3bd]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> NEXTMEM <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// --> nHardwareMemory</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;MEMORYSTATUSEX mst;<br /><br />&nbsp; &nbsp;memset<span style="color: #000000;">&#40;</span> &mst, <span style="color: #000000;">0</span>, sizeof<span style="color: #000000;">&#40;</span> MEMORYSTATUSEX <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;mst.dwLength = sizeof<span style="color: #000000;">&#40;</span> MEMORYSTATUSEX <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp;GlobalMemoryStatusEx<span style="color: #000000;">&#40;</span> &mst <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp;hb_retnll<span style="color: #000000;">&#40;</span> mst.ullTotalPhys <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:1kfbp3bd]
Antonio: Minor Bugs on 64Bit
Antonio, in 16.03 GetCPUSpeed() is coded to "999". No support for 64 in source! [quote:129y2j7b]"HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz" and compare it with 32 bits GetCPUSpeed() value ?[/quote:129y2j7b] nextmem() gives in 64 a negative value! I will test this further tomorrow.
Antonio: Minor Bugs on 64Bit
Antonio, GetCPUSpeed() gives also in 32Bit different values. From 183Mhz over 2017Mhz(is right) to 3719Mhz. In 64Bit gives always 999Mhz. I see on source, the function is not ready! nExtmem gives in 32Bit the correct value, in 64 Bit gives a ( cValToChar( Int( nExtMem() / ( 1024 * 1024 ) ) + 1 ) ) the value of minus(!)-1062
Antonio: Minor Bugs on 64Bit
Antonio, any news on that problems?
Antonio: Minor Bugs on 64Bit
Günther, I have been busy working to complete the Windows 10 Toasts support. How may I help you ? Is the info from the registry ok ?
Antonio: Minor Bugs on 64Bit
Antonio, in case of the memory-size i compile your code with Borland 7.1 and the result is ok! With the libs from FWH the result is wrong and negative. Maybe you are not compile the mem.c in the right way?? The GetCPUSpeed() gives always 999. You should write a new function for 64Bit or use the registry-value. It seems to be nearly right. Antonio, see also <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=32188&p=189722#p189722">viewtopic.php?f=3&t=32188&p=189722#p189722</a><!-- l -->. There are problems with nextmem()!
Antonio: Minor Bugs on 64Bit
Günther, * Fix: function nExtMem() is returning now the same value in both 32 and 64 bits. It keeps returning zero for xHb.com Included in FWH 16.04
Antonio: Minor Bugs on 64Bit
Günther, * Fix: function GetCpuSpeed() now reads from the registry and returns the same value in 32 and 64 bits. Included in FWH 16.04
Antonio: Minor Bugs on 64Bit
Antonio, thanks! Super, as all time!
Antonio: Modifying CLASS TRBtn (Bug?)
I changed the marked line with NEW as when i change the position of the dialog with ON INIT oDlg:move(....) the horizontally position of the popup-menu follows not the button! [code=fw:21cr6rpz]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">case</span> ::<span style="color: #000000;">nTypeButton</span> == TYPE_POPUP<br />                     <span style="color: #00C800;">if</span> nCol >= ::<span style="color: #000000;">nPopupMargin</span> .or. !lAction<br />                        oWnd := ::<span style="color: #000000;">oWnd</span><br />                        oWnd:<span style="color: #000000;">NcMouseMove</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// close the tooltip</span><br />                        <span style="color: #00C800;">if</span> oWnd:<span style="color: #000000;">oPopup</span> == <span style="color: #00C800;">nil</span><br />                           oWnd:<span style="color: #000000;">oPopup</span> = ::<span style="color: #000000;">oPopup</span><br /><span style="color: #B900B9;">//                           ::oPopup:Activate( ::nTop + ::nHeight(),::nLeft - If( ! oWnd:IsKindOf( "TRBGROUP" ), oWnd:nLeft, 0 ), oWnd, .F. )</span><br />                            ::<span style="color: #000000;">oPopup</span>:<span style="color: #0000ff;">Activate</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">nTop</span> + ::<span style="color: #000000;">nHeight</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ::<span style="color: #000000;">nLeft</span> , oWnd, .F. <span style="color: #000000;">&#41;</span>    <span style="color: #B900B9;">//NEW!!</span><br /> </div>[/code:21cr6rpz]
Antonio: Modifying CLASS TRBtn (Bug?)
I'm not clear, are you saying that the code you posted is the fix for the problem? If so, which PRG, and method is it in? James
Antonio: Modifying CLASS TRBtn (Bug?)
[quote="James Bott":3ent5k1z]I'm not clear, are you saying that the code you posted is the fix for the problem? If so, which PRG, and method is it in? James[/quote:3ent5k1z] Yes. That is what he says. This code is from Method LButtonUp() of trbtn.prg We are yet to test at our end.
Antonio: Modifying CLASS TRBtn (Bug?)
Günther, Could you please provide an example to test here ? thanks
Antonio: Modifying CLASS TRBtn (Bug?)
Antonio, if i move the window with ON INIT oWnd:move() also the data oWnd:nLeft are changed! And the comes the [code=fw:2m3uvrx3]<div class="fw" id="{CB}" style="font-family: monospace;">::<span style="color: #000000;">nLeft</span> - oWnd:<span style="color: #000000;">nLeft</span></div>[/code:2m3uvrx3] and the popup-menu are moved left on the display-position. z.b. Dialog position left is 700 after the move(). This oDlg:nLeft are subtract from the oButton:left !? [code=fw:2m3uvrx3]<div class="fw" id="{CB}" style="font-family: monospace;">::<span style="color: #000000;">oPopup</span>:<span style="color: #0000ff;">Activate</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">nTop</span> + ::<span style="color: #000000;">nHeight</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,;<br />::<span style="color: #000000;">nLeft</span> - <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;">"TRBGROUP"</span> <span style="color: #000000;">&#41;</span>, oWnd:<span style="color: #000000;">nLeft</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>,;   <span style="color: #B900B9;">//here are the fault</span><br /> oWnd, .F. <span style="color: #000000;">&#41;</span></div>[/code:2m3uvrx3] This code are also in [code=fw:2m3uvrx3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> ShowPopup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TRBtn</div>[/code:2m3uvrx3]
Antonio: Modifying CLASS TRBtn (Bug?)
Günther, I think Antonio was looking for a small self-contained example program that shows the problem that he can use to test your fix for the problem.
Antonio: Modifying CLASS TRBtn (Bug?)
Antonio, James, here are a small example! [code=fw:39r6cfas]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> trb_test<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> oDlg , oBtn , oMenu<br /><span style="color: #0000ff;">MENU</span> oMenu <span style="color: #0000ff;">POPUP</span><br />    <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"1"</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;">MENUITEM</span> <span style="color: #ff0000;">"End"</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;">ENDMENU</span><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">400</span>,<span style="color: #000000;">200</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"RBBTN-Menu-Test"</span><br />@ <span style="color: #000000;">80</span>,<span style="color: #000000;">5</span> RBBTN oBtn <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">POPUP</span> <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"RBBTN"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">58</span>,<span style="color: #000000;">13</span><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> oDlg:<span style="color: #0000ff;">move</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">200</span>,<span style="color: #000000;">300</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">NIL</span></div>[/code:39r6cfas]
Antonio: Modifying CLASS TRBtn (Bug?)
Antonio, please try to open the popup-menu in the above example and you can see, that the popup-menu are left from the button!
Antonio: Modifying CLASS TRBtn (Bug?)
Günther, yes, I confirm the problem. EMG
Antonio: Modifying CLASS TRBtn (Bug?)
Thanks for the help. We are incorporating the fix for the next release.
Antonio: Modifying CLASS TRBtn (Bug?)
Günther, Enrico, To me this seems the right fix. I appreciate your feedback: [code=fw:3g6wf4cx]<div class="fw" id="{CB}" style="font-family: monospace;">                  <span style="color: #00C800;">case</span> ::<span style="color: #000000;">nTypeButton</span> == TYPE_POPUP<br />                     <span style="color: #00C800;">if</span> nCol >= ::<span style="color: #000000;">nPopupMargin</span> .or. !lAction<br />                        oWnd := ::<span style="color: #000000;">oWnd</span><br />                        oWnd:<span style="color: #000000;">NcMouseMove</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// close the tooltip</span><br /><br />                        <span style="color: #B900B9;">// Modified to handle Codeblock as oPopup 2014-10-10</span><br />                        <span style="color: #00C800;">if</span> oWnd:<span style="color: #000000;">oPopup</span> == <span style="color: #00C800;">nil</span><br />                           oWnd:<span style="color: #000000;">oPopup</span> = XEval<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oPopup</span>, <span style="color: #00C800;">Self</span> <span style="color: #000000;">&#41;</span><br />                           ::<span style="color: #000000;">CoorsUpdate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>                                  <br />                           oWnd:<span style="color: #000000;">oPopup</span>:<span style="color: #0000ff;">Activate</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">nTop</span> + ::<span style="color: #000000;">nHeight</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,;<br />                                                 ::<span style="color: #000000;">nLeft</span>, oWnd, .F. <span style="color: #000000;">&#41;</span><br /> </div>[/code:3g6wf4cx]
Antonio: Modifying CLASS TRBtn (Bug?)
That's what Mr Günther proposed.
Antonio: Modifying CLASS TRBtn (Bug?)
::CoorsUpdate() was missing Without it, it fails
Antonio: MouseWheel funciona errático en TXBrowse FWH-908
Antonio, Definitivamente MouseWheel funciona errático en la clase TXBrowse FWH-908. En algunos casos sí, en otros nó. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Creo que es algo que se cruza con la nueva funcionalidad "Kinetic". <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> Hay como desactivarla, o corregir lo del MouseWheel ? <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> Probado en XP S3 FWH-908, xHarbour 1.2.1, Borland C++5.51 Gracias por tu ayuda y saludos, Carlos Gallego
Antonio: MouseWheel funciona errático en TXBrowse FWH-908
Carlos, <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=86456#p86456">viewtopic.php?p=86456#p86456</a><!-- l -->
Antonio: MouseWheel funciona errático en TXBrowse FWH-908
Antonio, Cómo compilo Clt2Scr.c para generar el OBJ ? Hago lo siguiente: [code=fw:aipu8cl7]<div class="fw" id="{CB}" style="font-family: monospace;">c:\Xharbour<span style="color: #000000;">-908</span>\bin\harbour ctl2scr /n  /ic:\Fwh<span style="color: #000000;">-908</span>\include;c:\Xharbour<span style="color: #000000;">-908</span>\include > comp.log<br />c:\borland\bin\bcc32 -D__HARBOUR__;HB_API_MACROS -O2 -c -Ic:\Xharbour<span style="color: #000000;">-908</span>\include;c:\fwh<span style="color: #000000;">-908</span>\include ctl2scr.c >> comp.log</div>[/code:aipu8cl7] Pero me genera este error y no compila: [code=fw:aipu8cl7]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Borland C++ <span style="color: #000000;">5.5</span><span style="color: #000000;">.1</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1993</span>, <span style="color: #000000;">2000</span> Borland<br />clt2scr.c:<br /><span style="color: #000000;">Warning</span> W8065 clt2scr.c <span style="color: #000000;">29</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">30</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">35</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">36</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">37</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">38</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Error E2238 clt2scr.c <span style="color: #000000;">45</span>: <span style="color: #000000;">Multiple</span> declaration <span style="color: #00C800;">for</span> <span style="color: #ff0000;">'HB_FUN_SCREENTOCLIENT'</span><br />Error E2344 clt2scr.c <span style="color: #000000;">24</span>: <span style="color: #000000;">Earlier</span> declaration <span style="color: #0000ff;">of</span> <span style="color: #ff0000;">'HB_FUN_SCREENTOCLIENT'</span><br />Warning W8065 clt2scr.c <span style="color: #000000;">49</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">50</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_parvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">55</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />Warning W8065 clt2scr.c <span style="color: #000000;">56</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'hb_storvnl'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_SCREENTOCLIENT<br />*** <span style="color: #000000;">2</span> errors in Compile ***<br /> </div>[/code:aipu8cl7] Qué estoy haciendo mal ? Gracias por tu ayuda. Saludos, Carlos Gallego
Antonio: MouseWheel funciona errático en TXBrowse FWH-908
Ya pude compilar "clt2scr.c" pero ahora obtengo estos warnings: [quote:19aor77v] Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland clt2scr.c: Warning W8065 clt2scr.c 30: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SCREENTOCLIENT Warning W8065 clt2scr.c 31: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SCREENTOCLIENT Warning W8065 clt2scr.c 36: Call to function 'hb_storvnl' with no prototype in function HB_FUN_SCREENTOCLIENT Warning W8065 clt2scr.c 37: Call to function 'hb_storvnl' with no prototype in function HB_FUN_SCREENTOCLIENT Warning W8065 clt2scr.c 38: Call to function 'hb_storvnl' with no prototype in function HB_FUN_SCREENTOCLIENT Warning W8065 clt2scr.c 39: Call to function 'hb_storvnl' with no prototype in function HB_FUN_SCREENTOCLIENT [/quote:19aor77v] Me preocupo por estos warnings o no les paro bolas ? Gracias y saludos, Carlos Gallego
Antonio: MouseWheel funciona errático en TXBrowse FWH-908
Saludos Carlos. no lo he probado pero intenta añadiendo esto al principio [code=fw:1jf3dvib]<div class="fw" id="{CB}" style="font-family: monospace;">#ifdef __XHARBOUR__<br />long hb_parvnl<span style="color: #000000;">&#40;</span> int iParam, int iIndex <span style="color: #000000;">&#41;</span>;<br />void hb_storvl<span style="color: #000000;">&#40;</span> BOOL bValue, int iParam, int iIndex <span style="color: #000000;">&#41;</span>;<br />#endif<br /> </div>[/code:1jf3dvib]
Antonio: MouseWheel funciona errático en TXBrowse FWH-908
Daniel, Funcionó perfecto. Muchas gracias. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Saludos, Carlos Gallego
Antonio: New Harbour-build
Antonio, can you please make new Harbour-builds. There are some things for Austrian language added and a bug in zip removed.
Antonio: New Harbour-build
[quote:1ovdvu6v]bug in zip removed.[/quote:1ovdvu6v] That is a good news