Program hang after 1505, *TSButton-Disable (nil)* *Fixed*

User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Program hang after 1505, *TSButton-Disable (nil)* *Fixed*

Post by dutch »

Dear Diemer,

Have you add 2 new parameter as my previous posted.

Code: Select all

DrawGray( hDC, hBitMap1, nTop, nLeft ,0 ,0 )
Could you show me that line in BPAINT.C?
Which FWH version do you use?
Uwe.Diemer wrote:Hello Dutch

i changed it and get

--------------------Konfiguration: Optowin - Release--------------------
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
C:\Dev\Optowin\Tsbutton\SOURCE\FUNCTION\BPAINT.C:
Error E2227 C:\Dev\Optowin\Tsbutton\SOURCE\FUNCTION\BPAINT.C 494: Extra parameter in call to DrawGray in function HB_FUN_SBTNPAINT
*** 1 errors in Compile ***
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Optowin.EXE - 1 Fehler, 0 Warnung(en)

Tx
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Uwe.Diemer
Posts: 81
Joined: Mon Aug 09, 2010 11:00 am

Re: Program hang after 1505, *TSButton-Disable (nil)* *Fixed*

Post by Uwe.Diemer »

Hello please send me a email to udiemer (at) gmail.com

TX
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Program hang after 1505, *TSButton-Disable (nil)* *Fixed*

Post by dutch »

Dear Diemer,

do you change line 36 in BPAINT.C as below.

Code: Select all

void DrawGray( HDC hDC, HBITMAP hBmp, signed int iRow, signed int iCol, signed int width, signed int height ) ;
Uwe.Diemer wrote:Hello please send me a email to udiemer (at) gmail.com

TX
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Post Reply