FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Harbour and xHarbour para MingW GCC1501
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 01:10 PM

Enrico, no te preocupes, estoy convirtiendo un sistema que funciona PERFECTAMENTE con XHARBOUR y BCC.

Con HARBOUR y MINGW GCC 15.1 estoy teniendo problemas de funcionamiento con el mismo programa que funciona 1000 con XHARBOUR y BORLAND. Lo estoy modificando al MODO GCC 15.1 para ver si funciona y dejando compatibilidad entre HARBOUR y XHARBOUR. Se compila perfectamente, pero no ejecuta las órdenes como en BCC/XHARBOUR. La pantalla se congela, se bloquea sin motivo alguno. Las cosas se ven mal...

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 01:54 PM

I don't think it is a MinGW vs BCC difference. Most likely it is an error on your code (or in FWH code or in your build system). Anyway, it is impossible to find the problem without a sample showing it.

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 02:50 PM
Problema confirmado con RECURSOS cuando el NOMBRE DEL DIÁLOGO ES LARGO. Explota y dice que el diálogo no existe. Ejemplo a continuación:
   // ESTA EN: ACBRREAL.RES
   #ifdef __XHARBOUR__  // PERFEITO COM XHARBOUR( I Like )

      DEFINE DIALOG oDlg RESOURCE "DLG_CONF_PROV_MAILCORP" TITLE cTitle      ;
         GRADIENT aGrad FONT oFont

   #Else // asi funciona con MINGW GCC 15.1 y HARBOUR - Tamaño pequeno. Grande NO!

      DEFINE DIALOG oDlg RESOURCE "DLG_MAILCORP" TITLE cTitle GRADIENT aGrad ;
         FONT oFont

   #Endif
Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 03:17 PM
Congela el remitente de correo electrónico que funciona PERFECTAMENTE con XHARBOUR y BCC.

https://imgur.com/zluB4VW



Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 03:24 PM
Con Outlook.exe funciona con BCC y GCC. Con CDOSYS, no funciona también!

https://imgur.com/VT5NbLu



Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 03:27 PM

I need a reduced sample showing the problem that I can compile and run here. You haven't provide one yet.

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 03:35 PM
Enrico Maria Giordano wrote: I need a reduced sample showing the problem that I can compile and run here. You haven't provide one yet.
Estoy preparando una DEMO para ti. Te mando el link hoy para que veas como lo estoy haciendo ¿ok?

Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 03:42 PM

Ok, but it has to be a MINIMAL sample.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 05:07 PM
This sample works fine here using Harbour/MinGW:
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg;
           RESOURCE "DLG_CONF_PROV_MAILCORP"

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL
#include <windows.h>

DLG_CONF_PROV_MAILCORP DIALOG 0, 0, 300, 300
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
}
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 05:08 PM

Enrico, mira tú email:

Para xHarbour/BCC: GO.BAT y REPDEMO.MAK.

Para HARBOUR/MINGW GCC 15.1 PROJ.BAT PROJ.HBP

gracias, tks.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 05:14 PM

I said MINIMAL SAMPLE, is it not clear enough? Please try my sample. It works for me, so it should work for you too. If not, definitely there is a problem in your build system.

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 05:25 PM

Seguiré investigando. No entiendo por qué funciona perfectamente con BCC y no con GCC. Con el tiempo lo sabré. Sería interesante probar con XHARBOUR, ¿qué opinas?

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 05:33 PM
karinha wrote:Seguiré investigando. No entiendo por qué funciona perfectamente con BCC y no con GCC.
Do you get an error message?
karinha wrote:Con el tiempo lo sabré. Sería interesante probar con XHARBOUR, ¿qué opinas?
I don't think that Harbour or xHarbour will make any difference, but I need to know the exact problem are you facing.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 05:38 PM
Do you get an error message?
¡No! El sistema simplemente se CONGELA.

No! The system simply FREEZES.

Next week, I will test a DEMO of sending emails using CDOSY to see if I can figure out the problem.

Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour and xHarbour para MingW GCC1501
Posted: Sat May 17, 2025 05:42 PM

Can you show me a MINIMAL yet complete sample using CDOSYS that freezes on run?