Search found 107 matches
- Thu Nov 24, 2011 11:26 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWCallDll() and MingW + Harbour
- Replies: 16
- Views: 4066
Re: FWCallDll() and MingW + Harbour
Hi Antonio. Thanks. I tried what you suggested before, using HBMK2, without success. But since BUILDG.BAT worked I did a comparison in what HBMK2 and BUILDG does. The problem was that HBMK2 tool from Harbour always put harbour's include folder as the first one to search and there is a DLL.CH in ther...
- Wed Nov 23, 2011 6:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWCallDll() and MingW + Harbour
- Replies: 16
- Views: 4066
Re: FWCallDll() and MingW + Harbour
Is this a real problem or am I doing something wrong ?
- Mon Nov 21, 2011 12:17 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWCallDll() and MingW + Harbour
- Replies: 16
- Views: 4066
Re: FWCallDll() and MingW + Harbour
Antonio, I updated the libs but I'm still getting a CallDll.c / CallDll32 MessageBox. http://farmacia.com.br/CallDll32.png I made a small self contained sample TESTE.PRG: #INCLUDE "fivewin.ch" FUNCTION MAIN() Local hHandle hHandle := LOADLIBRARY( "BWCC32.DLL" ) IF hHand...
- Fri Nov 18, 2011 5:58 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWCallDll() and MingW + Harbour
- Replies: 16
- Views: 4066
Re: FWCallDll() and MingW + Harbour
October 2011
[[]] Maurício
[[]] Maurício
- Fri Nov 18, 2011 3:27 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWCallDll() and MingW + Harbour
- Replies: 16
- Views: 4066
Re: FWCallDll() and MingW + Harbour
Can anyone send this to me ?
I have a stucked conversion proccess to MinGw here because this missing function...
[[]] Maurício Ventura Faria
I have a stucked conversion proccess to MinGw here because this missing function...
[[]] Maurício Ventura Faria
- Wed Nov 16, 2011 4:31 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWCallDll() and MingW + Harbour
- Replies: 16
- Views: 4066
Re: FWCallDll() and MingW + Harbour
Antonio, could you send it to me please.
Thanks.
Thanks.
- Wed Nov 16, 2011 11:41 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Errsysw Visual Update ?
- Replies: 43
- Views: 12581
Re: Errsysw Visual Update ?
Hi Stefan. The Portuguese translation array has a extra element causing messages showing in the wrong place. The correct array is : STATIC aPortugese := {"Programa: ",; // dlgPROG 1 "Erro na Aplicação",; ...
- Thu Nov 10, 2011 4:47 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
- Replies: 11
- Views: 1969
Re: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
And the software versions are :
Code: Select all
Harbour 3.1.0dev (Rev. 17102)
gcc version 4.5.2-dw2 (tdm-1)
FWH October 2011
- Thu Nov 10, 2011 4:44 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
- Replies: 11
- Views: 1969
Re: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
Antonio, this a modified version of TsBrowse 9 that is in http://code.google.com/p/fivewin-contributions/downloads/list In the end, the functions I copied from other source files are commented. If I uncomment that functions the application links and TsBrowse runs, apparently Ok. /*******************...
- Thu Nov 10, 2011 12:18 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
- Replies: 11
- Views: 1969
Re: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
../TSBFUNCS.o:TSBFUNCS.C:(.text+0x251): undefined reference to `MoveTo(HDC__*, int, int)' ../TSBFUNCS.o:TSBFUNCS.C:(.text+0x105e): undefined reference to `GetTextExtent(HDC__*, char const*, int)' ../TSBFUNCS.o:TSBFUNCS.C:(.text+0x144a): undefined reference to `DrawMasked(HDC__*, HBITMAP__*, unsigne...
- Wed Nov 09, 2011 6:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
- Replies: 11
- Views: 1969
Re: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
Antonio, In order to link, I also needed to include the source of DrawMasked(), DrawBitmap() from \FWH\source\winapi\bmpdraw.c and MaskRegion() from \FWH\source\function\fwbmp.c.
Wasn't this to be in fivehg or fivehgc libs ?
Wasn't this to be in fivehg or fivehgc libs ?
- Wed Nov 09, 2011 3:55 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
- Replies: 11
- Views: 1969
Re: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
Adding that lines i still get: ../TSBFUNCS.o:TSBFUNCS.C:(.text+0x94): undefined reference to `MoveTo(HDC__*, int, int)@12 I managed to add a source code for MoveTo I found in other place and it linked, but I don't know if it works yet. //--------------------------------------------------------------...
- Wed Nov 09, 2011 12:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
- Replies: 11
- Views: 1969
Re: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
I am trying to compile/link Manuel Mercado's TsBrowse 9 with FW + Harbour + MinGW. Part of this is compiling a C program that calls MoveTo. The part of the code that does it is static void GoToPoint( HDC hDC, int ix, int iy ) { #ifdef __FLAT__ POINT pt; MoveToEx( hDC, ix, iy, &pt ...
- Wed Nov 09, 2011 11:13 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
- Replies: 11
- Views: 1969
Where are MoveTo, GetTextExtent, DrawMasked, DrawBitmap ?
Antonio, when I try to link a program with FW, Harbour and MinGW, it states that the folowing functions are missing :
MoveTo, GetTextExtent, DrawMasked, DrawBitmap and MaskRegion.
Where can I find them ?
MoveTo, GetTextExtent, DrawMasked, DrawBitmap and MaskRegion.
Where can I find them ?
- Wed Nov 09, 2011 11:08 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Compiling TSButton with MinGW gcc
- Replies: 12
- Views: 2837
Re: Compiling TSButton with MinGW gcc
And for ISLOGICAL, ISNUM and ISCHAR put this defines in top of .C. #define S_LNUM 0x0002 #define S_DNUM 0x0008 #define S_LOG 0x0080 #define S_CHAR 0x0400 #define S_ANYNUM ( S_LNUM | S_DNUM ) #define ISCHAR( s ) ( hb_param( s, S_CHAR ) != NULL ) #define ISNUM( s ) ( hb_param( s, S_ANYNUM ) != NULL ) ...