Search found 642 matches: situation

Return to advanced search

Re: Strange situation

Here is the map.bmp file: https://dropmefiles.com.ua/ru/QwWY #include "FiveWin.ch"procedure Mainlocal siz:={575,659}private oFrg  DEFINE DIALOG oFrg FROM 0,0 TO siz[1], siz[2]  PIXEL ;                         STYLE nOR(WS_POPUP, WS_BORDER)  AC...
by nageswaragunupudi
Fri Oct 29, 2021 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1182

Re: Strange situation

Natter wrote:Hi,
1. When viewing .bmp in Windows the polygon frame has turned black
2. When opening .bmp in TBitmap or Timage the polygon frame turns white


That means the color used for the border is an alpha color/ transparent color.
We need the boundary in RGB color to use floodfill
by nageswaragunupudi
Fri Oct 29, 2021 2:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1182

Re: Strange situation

karinha wrote:What is wrong? Show with a picture please.


He did not say there is anything wrong with the code.
He also sent "map.bmp". You can download and view the image.
His problem is floodfill.
We need to help him with that issue, which includes the issue of the color of the rectangle border.'
by nageswaragunupudi
Fri Oct 29, 2021 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1182

Re: Strange situation

What is wrong? Show with a picture please. #Include "FiveWin.ch"STATIC oDlgFUNCTION Main()   LOCAL aGrad   LOCAL Siz := { 600, 800 }   aGrad := { { 0.30, CLR_WHITE, CLR_WHITE },{ 0.50, CLR_WHITE, CLR_WHITE } }&nb...
by karinha
Fri Oct 29, 2021 2:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1182

Re: Strange situation

Here is the map.bmp file: https://dropmefiles.com.ua/ru/QwWY #include "FiveWin.ch"procedure Mainlocal siz:={575,659}private oFrg  DEFINE DIALOG oFrg FROM 0,0 TO siz[1], siz[2]  PIXEL ;                         STYLE nOR(WS_POPUP, WS_BORDER)  ACT...
by Natter
Fri Oct 29, 2021 6:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1182

Re: Strange situation

Can we have a small sample?
by nageswaragunupudi
Wed Oct 27, 2021 9:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1182

Strange situation

... the polygon frame has turned black 2. When opening .bmp in TBitmap or Timage the polygon frame turns white How can I use floodfill() in this situation if the border color is not clear.
by Natter
Mon Oct 25, 2021 11:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1182

Re: help on a GPF situation

I am building Harbour 64 bits this way: Remove the rem here to have full Harbour activity: set HB_TR_LEVEL=debug go.bat (run this from c:\harbour) call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64set HB_COMPILER=msvc64set HB_BUILD_...
by Antonio Linares
Sat Oct 23, 2021 6:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 3480

Re: help on a GPF situation

This example generates info.log and uses dbwin32. Please have dbwin32 running before calling go.bat go.bat call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_x64set HB_TR_LEVEL=debugset HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUGset HB_TR_SYSOUT=y...
by Antonio Linares
Sat Oct 23, 2021 6:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 3480

Re: help on a GPF situation

https://github.com/harbour/core/blob/master/doc/tracing.txt INTRODUCTION ============ This file explains how to enable tracing in Harbour. TRACING ======= Harbour implements tracing by adding calls to the following macro in the C code: HB_TRACE( level, ( "printf-style parameters&qu...
by Antonio Linares
Sat Oct 23, 2021 4:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 3480

Re: help on a GPF situation

Joao, Ejecutas primero dbwin32.exe, luego defines esa variable de entorno y ejecutas tu EXE > ¿cómo llamo internamente dentro del programa para invocar DBWIN32.exe? set HB_TR_SYSOUT=yes tienes que tener esa variable de entorno definida y Harbour se encarga del resto Harbour tiene que haber sido c...
by Antonio Linares
Sat Oct 23, 2021 4:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 3480

Re: help on a GPF situation

Ahora lo "divertido" será capturar esas salidas en nuestro programa para no necesitar el dbwin2, no?
by cnavarro
Fri Oct 22, 2021 11:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 3480

Re: help on a GPF situation

Listo! Ejemplo:IF File( "test.txt" )   OutputDebugString( "El archivo existe" + hb_osnewline() )ELSE   OutputDebugString( "El archivo no existe" + hb_osnewline() )ENDIFAl incluir esto en nuestro codigo fuente r...
by karinha
Fri Oct 22, 2021 10:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 3480

Re: help on a GPF situation

No és posible, no funciona! Que hago mal? //-> \SAMPLES\TESTE.PRG#Include "FiveWin.ch"#define HB_TR_ALWAYS         0#define HB_TR_FATAL          1#define HB_TR_ERROR          2#define HB_TR_WARNING      ...
by karinha
Fri Oct 22, 2021 10:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 3480
PreviousNext

Return to advanced search