Consigue FWH 6.12 gratuitamente !!!

Re: Consigue FWH 6.12 gratuitamente !!!

Postby mariordz » Fri May 14, 2010 7:59 pm

Enrique, Antonio, gracias por sus respuestas.

Antonio, he enlazado la librería que me comentas y ya no me marca error al compilar :D , pero (ojala nu hubiera un pero) ahora me marca un erro de que mi PRG fue creado con el PCODE versión 7 (Algo antigua jejeje) y que xHarbour espera la versión 10.

Me pusé a buscar en el foro y encontré esto:

Code: Select all  Expand view
by Antonio Linares » 08 Sep 2009, 10:56

This is a better hack as it processes internal errors and just avoid the pcode version error. It is the same code used in xHarbour with a little modification:

#pragma BEGINDUMP
#include "hbapifs.h"
#include "hbapilng.h"
#include <windows.h>

void hb_errInternal( ULONG ulIntCode, const char * szText, const char * szPar1, const char * szPar2 )
{
   char title[64], buffer[ 1024 ];
   FILE *fpError;
   BOOL bLang;

   HB_TRACE(HB_TR_DEBUG, ("hb_errInternal(%lu, %s, %s, %s)", ulIntCode, szText, szPar1, szPar2));

   if( strncmp( szText, "Module:", 7 ) == 0 ) // pcode version
      return;

   bLang = ( hb_langID() != NULL );

   if( szText )
   {
      fpError = hb_fopen( "error.log", "a" );

      if( fpError )
      {
         fclose( fpError );
         TraceLog( "error.log", szText, szPar1, szPar2 );
      }
   }

   hb_conOutErr( hb_conNewLine(), 0 );

   hb_snprintf( title, sizeof( title ), bLang ?
                      ( char * ) hb_langDGetItem( HB_LANG_ITEM_BASE_ERRINTR ) :
                      "Unrecoverable error %lu: ", ulIntCode );

   hb_conOutErr( title, 0 );

   if( szText != NULL )
   {
      hb_snprintf( buffer, sizeof( buffer ), szText, szPar1, szPar2 );
   }
   else if (bLang)
   {
      hb_snprintf( buffer, sizeof( buffer ), ( char * ) hb_langDGetItem( HB_LANG_ITEM_BASE_ERRINTR + ulIntCode - 9000 ), szPar1, szPar2 );
   }

   hb_conOutErr( buffer, 0 );
   hb_conOutErr( hb_conNewLine(), 0 );
   hb_stackDispCall();

   #ifdef HB_OS_WIN_32
      MessageBox( NULL, buffer, title, MB_ICONSTOP );
   #endif

   /* release console settings */
   hb_conRelease();

   if( hb_cmdargCheck( "ERRGPF" ) )
   {
       int *pGPF = NULL;
       *pGPF = 0;
       *(--pGPF) = 0;
   }

   #if defined( HB_THREAD_SUPPORT ) && defined( HB_OS_OS2 )
      /* Post all threads waiting on an indefinite wait */
      DosPostEventSem(hb_hevWakeUpAll);
      /* Let's give them some time to wake up */
      DosSleep(5000);
      /* Stop VM, I cannot call exit() here or I end up with a zombie process */
      hb_vmQuit();
   #endif

   exit( EXIT_FAILURE );
}

#pragma ENDDUMP
 
This is the only change in it:

Code: Select all  Expand view

   if( strncmp( szText, "Module:", 7 ) == 0 ) // pcode version
      return;
 regards, saludos
 

La pregunta es ¿Donde debo poner este código? Dentro de mi prg principal?. Perdón por la ignorancia pero prefiero preguntar antes de regarla mas.

Saludos y gracias nuevamente
User avatar
mariordz
 
Posts: 131
Joined: Tue Dec 26, 2006 4:50 pm
Location: Ciudad de México

Re: Consigue FWH 6.12 gratuitamente !!!

Postby anserkk » Tue May 18, 2010 10:06 am

You can put the code in your main prg.

Regards
Anser
User avatar
anserkk
 
Posts: 1331
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

facilitar fwh gratis por favor

Postby victortron » Thu Apr 23, 2015 7:58 am

bnas alquien me podria facilitar un fiewin para harbour y el tsbrowse de manuel mercado por favor estoy nuevo en este negocio gracias
victortron
 
Posts: 1
Joined: Wed Apr 22, 2015 7:16 pm

Re: Consigue FWH 6.12 gratuitamente !!!

Postby Antonio Linares » Thu Apr 23, 2015 8:09 am

Victor,

FWH es un producto comercial que puedes comprar desde www.fivetechsoft.com

La versión demo es bastante antigua (del 2006) y solo te sirve para empezar a entender la forma de usarlo. Si quieres hacer un trabajo profesional y tener un soporte profesional, lo idóneo es que te plantees comprarlo y asi recibir la ayuda que necesitarás
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41332
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 8 guests