Search found 161 matches

by toninhofwi
Mon Oct 24, 2016 11:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Keyboardbuffer clear
Replies: 3
Views: 701

Re: Keyboardbuffer clear

#pragma BEGINDUMP

#include "windows.h"
#include "hbapi.h"

HB_FUNC( CLEARKEYBOARDBUFFER )
{
MSG stMsg = { 0 };

HWND hWnd = ( HWND ) hb_parnl( 1 );

while( PeekMessage( &stMsg, hWnd, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE ) );

hb_ret();
}

#pragma ENDDUMP
by toninhofwi
Fri Aug 19, 2016 9:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour - Using MingW
Replies: 6
Views: 1018

Re: Harbour - Using MingW

Times of speedtst.prg: BCC 7.20 no cLang version: [ total application time: ]....................................15.52 [ total real time: ]...........................................15.52 MingW32 6.1.0 from MSYS2: [ total application time: ].....................................9.77 [ total real time...
by toninhofwi
Mon Aug 15, 2016 12:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour - Using MingW
Replies: 6
Views: 1018

Re: Harbour - Using MingW

nageswaragunupudi wrote:
In this .bat file I'm recompiling xbrowse and dababase from FWH because I found some function names incompatibilities with hashes.
May we know what are the incompatibilities and what do you suggest?
Hi, Problem with HSetCaseMatch()/HB_HCaseMatch(), but recompiling the prg
no problems at all.
by toninhofwi
Mon Aug 15, 2016 11:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour - Using MingW
Replies: 6
Views: 1018

Re: Harbour - Using MingW

Antonio Linares wrote:Toninho,
I use the MinGW distribution that comes with QT.
It installs automatically and quite friendly.
Hi Antônio, nice !!! One more alternative for us !
by toninhofwi
Sun Aug 14, 2016 8:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour - Using MingW
Replies: 6
Views: 1018

Harbour - Using MingW

Hi friends, this is a very little guide to use Harbour and FWH with Mingw32. 1) Download Harbour from: https://github.com/harbour/core or https://github.com/vszakats/harbour-core 2) Download and install https://cygwin.com/install.html (64bit) 3) Download and install MSYS2 from https://msys2.github.i...
by toninhofwi
Tue Aug 02, 2016 9:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Embarcadero Releases Free C++ Compiler for Windows
Replies: 53
Views: 9995

Re: Embarcadero Releases Free C++ Compiler for Windows

MinGW is from Linux, a world that I don't like very much. Enrico this new bcc is clang based, if you don't like Linux, maybe you don't like clang too. Andi post on harbour devel sometimes ago that BCC clang edition is very slow and now I read this: http://community.embarcadero.com/answers/my-questi...
by toninhofwi
Mon Aug 01, 2016 11:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Embarcadero Releases Free C++ Compiler for Windows
Replies: 53
Views: 9995

Re: Embarcadero Releases Free C++ Compiler for Windows

Enrico Maria Giordano wrote:
toninhofwi wrote:IMHO is time to think to move from bcc to mingw.
Why? I need I real reason or I'm not interested. MinGW is from Linux, a world that I don't like very much.

EMG
I understand you, but the classic BCC was killed and this new BCC is a clang based compiler (http://clang.llvm.org/) ;)

Regards.
by toninhofwi
Mon Aug 01, 2016 7:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Embarcadero Releases Free C++ Compiler for Windows
Replies: 53
Views: 9995

Re: Embarcadero Releases Free C++ Compiler for Windows

IMHO is time to think to move from bcc to mingw.

I compiled harbour with mingW using msys2 and all is fine including all samples from fwh.

The only problem that I see is with resources, we need replace "\" by "/"

Regards.
by toninhofwi
Mon Aug 01, 2016 11:07 am
Forum: FiveWin for Harbour/xHarbour
Topic: Embarcadero Releases Free C++ Compiler for Windows
Replies: 53
Views: 9995

Re: Embarcadero Releases Free C++ Compiler for Windows

Hi Enrico. Try edit next files and please, change bcc55 to your bcc path: bcc32c.cfg: -I"c:\harbour\bcc55\include";"c:\harbour\bcc55\include\windows\crtl";"c:\harbour\bcc55\include\windows\rtl";"c:\harbour\bcc55\include\windows\sdk";"c:\harbour\bcc55\incl...
by toninhofwi
Mon Jul 25, 2016 1:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Embarcadero Releases Free C++ Compiler for Windows
Replies: 53
Views: 9995

Re: Embarcadero Releases Free C++ Compiler for Windows

Now exists two 32-Bit-Compilers: 1. The bcc32 as in earlier versions 2. The BCC32c is a clang-based compiler (also the 64-Bit-Compiler). For this compiler all the libs from Harbour and FW must recompiled. This is the problem: bcc32 is ended, and only clang-based is available. I'm testing gcc by now...
by toninhofwi
Mon Jul 25, 2016 12:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: Embarcadero Releases Free C++ Compiler for Windows
Replies: 53
Views: 9995

Re: Embarcadero Releases Free C++ Compiler for Windows

Hi friends,

It is not so easy, this compiler is very diferente from old bcc's and compile harbour require some deeper changes in core code.

I'm moving to mingw, harbour is working perfect with it and mingw is free / open source / well maintained.

Regards,

Toninho.
by toninhofwi
Wed Jun 29, 2016 8:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: New Windows 10 WIA driver
Replies: 0
Views: 320

New Windows 10 WIA driver

Hi,

There are any solution to use WIA driver over TWAIN in Windows 10 please ?

Some scanners like new HP models cut support for TWAIN in Windows 10 and now only WIA is available.

TIA and best regards,

Toninho.
by toninhofwi
Wed Dec 16, 2015 9:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using Hash in Harbour with bcc7
Replies: 9
Views: 1507

Re: Using Hash in Harbour with bcc7

nageswaragunupudi wrote:In xHarbour both

hVar:Key and hVar["Key"] work

In Harbour
only hVar["Key"] works
hVar:Key does not work
Hi.

Works in harbour but you need recompile Harbour with -DHB_HASH_MSG_ITEMS

Regards.
by toninhofwi
Fri Nov 28, 2014 10:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: HAPPY BIRTHDAY ANTONIO
Replies: 33
Views: 3902

Re: HAPPY BIRTHDAY ANTONIO

Happy Birthday Antonio,

Cheers.........
by toninhofwi
Mon Oct 27, 2014 12:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using usb devices via RDP
Replies: 2
Views: 595

Re: Using usb devices via RDP

With Windows Server 2012 you can, but I only read some docs about it, no experience at all...