Search found 14 matches

by dmajkic
Fri Sep 15, 2017 2:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error using FW17.07, Harbour MinGW
Replies: 9
Views: 1463

Re: Compile Error using FW17.07, Harbour MinGW

What MinGW gcc version are you using ? It is difficult to answer, since we are using: * FWH (commercial product - and we have libs), * FRX (commercial component - we have libs), * LetoDB (open source - build it ourself) * OpenSSL and CURL (opensource , but not that easy to build) * Experimenting wi...
by dmajkic
Fri Sep 15, 2017 7:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error using FW17.07, Harbour MinGW
Replies: 9
Views: 1463

Re: Compile Error using FW17.07, Harbour MinGW

We are going to update it, once we know what MinGW gcc version to use :-)
Thank you!
by dmajkic
Thu Sep 14, 2017 11:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error using FW17.07, Harbour MinGW
Replies: 9
Views: 1463

Re: Compile Error using FW17.07, Harbour MinGW

It would be nice to have both Harbour and MinGW verions used to build FWH as binary downloads.
Antonio, any info on this?

Thanks!
by dmajkic
Thu Sep 07, 2017 11:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error using FW17.07, Harbour MinGW
Replies: 9
Views: 1463

Re: Compile Error using FW17.07, Harbour MinGW

What MinGW gcc version are you using ? The one from the Harbour Nightly builds. It is here, in the comp subdir. https://sourceforge.net/projects/harbour-project/files/binaries-windows/nightly/ I can tell that FWH is built with mingw version that has DWARF stack unwinding (that produces "undefi...
by dmajkic
Wed Sep 06, 2017 8:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Error using FW17.07, Harbour MinGW
Replies: 9
Views: 1463

Compile Error using FW17.07, Harbour MinGW

Where can we find version of harbour and mingw/gcc that is used to build newest FWH? It looks like there is some missmatch with new nightly Harbour and FWH. With newest Harbour Nightly and newst FWH, we have these errors: c:/fwh3/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xe62): undefined reference to...
by dmajkic
Sat Jul 15, 2017 2:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Undefined reference to `IID_IRichEditOleCallback'
Replies: 0
Views: 1339

Undefined reference to `IID_IRichEditOleCallback'

Greetings. When trying to build any sample from fwh/samples, we have this linking error: lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0xb9): undefined reference to `IID_IRichEditOleCallback' lib/fivehgc.lib(RICHEDI5.o):RICHEDI5.C:(.text+0xb9): undefined reference to `IID_IRichEditOleCallback' colle...
by dmajkic
Sat Sep 08, 2012 7:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to force locale to Serbian Latin
Replies: 7
Views: 1576

Re: How to force locale to Serbian Latin

Use bcc32 this way to recompile them:
Since I am about to make changes to the lib, I would like to add it to Git source control, and make whole app and libs build automatic.

What is the proper way to rebuild fwh libs from source using MinGW compiler?
by dmajkic
Sat Sep 08, 2012 10:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to force locale to Serbian Latin
Replies: 7
Views: 1576

Re: How to force locale to Serbian Latin

Replace all CP_ACP with hb_vmCDP()
How can I rebuild FWH libs?
by dmajkic
Fri Sep 07, 2012 9:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to force locale to Serbian Latin
Replies: 7
Views: 1576

Re: How to force locale to Serbian Latin

The problem is in oemansi.c: // oemansi.c LPWSTR AnsiToWide( LPSTR cAnsi ) {    WORD wLen;    LPWSTR cString;    ...     MultiByteToWideChar( CP_ACP, MB_PRECOMPOSED, cAnsi, -1, ( LPWSTR ) cString, wLen );    ...   AnsiToWide() is called everywhere. It converts ansi string to unicode string using use...
by dmajkic
Mon Sep 03, 2012 12:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Why is SAY_CHARPIX_H != GET_CHARPIX_H
Replies: 2
Views: 560

Why is SAY_CHARPIX_H != GET_CHARPIX_H

The problem I have is that simple code like this DEFINE DIALOG oDlg TITLE "REPLACE" SIZE 300, 250    @ 1, 1 SAY "REPLACE :"    @ 1, 5 GET cField OF oDlg    @ 2, 1 SAY "WITH    :"    @ 2, 5 GET cWith OF oDlg    ... misplace positions of labels and textedit boxes, like th...
by dmajkic
Fri Aug 31, 2012 7:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Catch Alt+Key combinations
Replies: 3
Views: 765

Re: Catch Alt+Key combinations

Code: Select all

 ...
   If GetKeyState(VK_MENU) // Alt
      ? "Alt+F2"
   end
..
 
Doesn't work. It works fine for Ctrl+F2 and Shift+F2, but not for Alt.

Also I have some Alt+<Letter> shortcuts that should work on given window.
by dmajkic
Thu Aug 30, 2012 10:05 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Catch Alt+Key combinations
Replies: 3
Views: 765

Catch Alt+Key combinations

I have a Window with ButtonBar and XBrowse. No menu.

How can I perform some operations on Alt+<Key> shortcuts?
I need to do both Alt+<letter> and Alt+<F_key>

Thank you.
by dmajkic
Mon Aug 27, 2012 4:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to force locale to Serbian Latin
Replies: 7
Views: 1576

How to force locale to Serbian Latin

How to force locale in FWH application to always be Serbian Latin? We need to display latin accented chars (like šđčžć) on user computer regardles of what he have in "Code Page for Non-Unicode programs". This includes text in MainMenu, labels, fields, grids. Is there a way to use unicode i...
by dmajkic
Sun May 20, 2012 9:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Fwdbg on Harbour and MinGW
Replies: 0
Views: 233

Fwdbg on Harbour and MinGW

Hi.

What is the right way to use fwdbg with Harbour and MinGW comipler?