FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posts: 170
Joined: Sat Aug 07, 2010 11:36 PM
Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Thu Nov 25, 2010 07:16 PM
Este error me da al hacer un say, estoy compilando con xMate, xHarbour y FiveWin, me funciono durante un tiempo y luego cayo en este error.

Se agradece cualquier ayuda.
:-)

Error BASE/1004 Class: 'NIL' has no exported method: NEW

DEFINE DIALOG oDlg TITLE cTitulo
@ 1, 2 SAY cDesVendedor+":" OF oDlg
@ 1, 8 GET oGet VAR cod_vendex OF oDlg SIZE 30, 10 PICTURE "999999" valid fEmpld_Busca(@cod_vendex) .and. fEmpld_Apertura(oDlg, cTextoSencillo)
oGet:lDisColors = .f.
@ 3, 7 BUTTON "&Aceptar" OF oDlg SIZE 30, 12 ACTION (lRetorno:=.T., oDlg:End())
@ 3,16 BUTTON "&Cancelar" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL

ACTIVATE DIALOG oDlg CENTERED
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Thu Nov 25, 2010 07:23 PM

En que n煤mero de l铆nea te da el error ?

Copia aqui las primeras l铆neas del fichero error.log

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 170
Joined: Sat Aug 07, 2010 11:36 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Thu Nov 25, 2010 07:47 PM

Adjunto lo solicitado

Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10

Posts: 170
Joined: Sat Aug 07, 2010 11:36 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Thu Nov 25, 2010 08:38 PM
En la linea donde esta el say: @ 1, 2 SAY cDesVendedor+":" OF oDlg

Error.log tiene:
Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10Module: 'ACTIVEX.PRG' was compiled into PCODE version: 7,this version of xHarbour expects version: 10


Antonio Linares wrote:En que n煤mero de l铆nea te da el error ?

Copia aqui las primeras l铆neas del fichero error.log
Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Thu Nov 25, 2010 08:55 PM

jgayoso,

La versi贸n de [x]Harbour no es la indicada para tu versi贸n de FWH.

Que versi贸n de FWH estas usando para indicarte que versi贸n de [x]Harbour ser铆a la correcta que deber铆as de usar.

William, Morales

Saludos



m茅xico.sureste
Posts: 170
Joined: Sat Aug 07, 2010 11:36 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Fri Nov 26, 2010 12:02 PM
William, adjunto mis versiones.

C:\borland\bcc582\Bin>bcc32
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland


C:\xHarbour\bin>harbour
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)


*** Installation Started 11/08/10 20:59 ***
Title: FWH/FWHX 6.12 December/2006
Source: C:\FIVEWIN\FWH.EXE

Se agrade vuestra gesti贸n.





wmormar wrote:jgayoso,

La versi贸n de [x]Harbour no es la indicada para tu versi贸n de FWH.

Que versi贸n de FWH estas usando para indicarte que versi贸n de [x]Harbour ser铆a la correcta que deber铆as de usar.
Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Fri Nov 26, 2010 07:18 PM
jgayoso,

Hay dos opciones

1.- Consigues una version de xHarbour del mes 12 del a帽o 2006 para que puedas compilar sin problemas.

2.- Recompilar FIVEHX con la version de xHarbour que tienes en este momento.
En EL BLOG hay una utileria para recompilar la FIVEHX

La version 5.82 de borland la recomiendan para versiones de FWH 10.7 (no checado) para tu version se usa la version 5.5 de borland.
William, Morales

Saludos



m茅xico.sureste
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Fri Nov 26, 2010 07:28 PM
Saludos

desde aqui puedes descargar lo que necesitas para la version 6.12

http://www.fivetechsoft.com/english/downloads.html
Posts: 170
Joined: Sat Aug 07, 2010 11:36 PM
Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW
Posted: Sun Nov 28, 2010 04:19 AM

Cree un programa aparte el cual si funcionan los SAY (Adjunto programa), ademas prove todo lo que me indicaron, estoy con borland 5.5 y recompile los modulo con mi xHarbour. Le colo al say.prg mensajes y en mi programa solo muestra los msgalert colocados, pero en mi proyecto ni siquiera entra al SAY.prg.

Al colocar este programa en mi proyecto da el error mensionado Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW

include "FiveWin.ch"

Procedure Prueba_Say
LOCAL oDlg, oGet
LOCAL lRetorno:=.F.
Local Cod_Vendex:=0
SET _3DLOOK ON
DEFINE DIALOG oDlg TITLE "Prueba SAY"
@ 1, 2 SAY "Vendedor:" OF oDlg
@ 2, 2 SAY "Nombre:" OF oDlg

@ 1, 8 GET oGet VAR cod_vendex OF oDlg SIZE 30, 10 PICTURE "999999"
oGet:lDisColors = .f.
@ 3, 7 BUTTON "&Aceptar" OF oDlg SIZE 30, 12 ACTION (lRetorno:=.T., oDlg:End())
@ 3,16 BUTTON "&Cancelar" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL

ACTIVATE DIALOG oDlg CENTERED

Return .T.

Continue the discussion