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

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

Postby jgayoso » Thu Nov 25, 2010 7: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.
: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
jgayoso
 
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

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

Postby Antonio Linares » Thu Nov 25, 2010 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

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

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

Postby jgayoso » Thu Nov 25, 2010 8: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
jgayoso
 
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

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

Postby wmormar » Thu Nov 25, 2010 8: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
User avatar
wmormar
 
Posts: 1074
Joined: Fri Oct 07, 2005 10:41 pm
Location: México

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

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

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

Postby wmormar » Fri Nov 26, 2010 7: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
User avatar
wmormar
 
Posts: 1074
Joined: Fri Oct 07, 2005 10:41 pm
Location: México

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

Postby Daniel Garcia-Gil » Fri Nov 26, 2010 7:28 pm

Saludos

desde aqui puedes descargar lo que necesitas para la version 6.12

http://www.fivetechsoft.com/english/downloads.html
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

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

Postby jgayoso » Sun Nov 28, 2010 4: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.
jgayoso
 
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 43 guests