Page 1 of 1

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

Posted: Thu Nov 25, 2010 7:16 pm
by jgayoso
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.
:oops:

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

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

Posted: Thu Nov 25, 2010 7:23 pm
by Antonio Linares
En que número de línea te da el error ?

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

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

Posted: Thu Nov 25, 2010 7:47 pm
by jgayoso
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

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

Posted: Thu Nov 25, 2010 8:38 pm
by jgayoso
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

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

Posted: Thu Nov 25, 2010 8:55 pm
by wmormar
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.

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

Posted: Fri Nov 26, 2010 12:02 pm
by jgayoso
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.

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

Posted: Fri Nov 26, 2010 7:18 pm
by wmormar
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.

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

Posted: Fri Nov 26, 2010 7:28 pm
by Daniel Garcia-Gil
Saludos

desde aqui puedes descargar lo que necesitas para la version 6.12

http://www.fivetechsoft.com/english/downloads.html

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

Posted: Sun Nov 28, 2010 4:19 am
by jgayoso
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.