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

Post Reply
jgayoso
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

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

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

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
jgayoso
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

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

Post 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
jgayoso
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

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

Post 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
User avatar
wmormar
Posts: 1050
Joined: Fri Oct 07, 2005 10:41 pm
Location: México
Contact:

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

Post 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.
William, Morales
Saludos

méxico.sureste
jgayoso
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

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

Post 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.
User avatar
wmormar
Posts: 1050
Joined: Fri Oct 07, 2005 10:41 pm
Location: México
Contact:

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

Post 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.
William, Morales
Saludos

méxico.sureste
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

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

Post by Daniel Garcia-Gil »

Saludos

desde aqui puedes descargar lo que necesitas para la version 6.12

http://www.fivetechsoft.com/english/downloads.html
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
jgayoso
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

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

Post 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.
Post Reply