Pregunta sobre migración de aplicaciones
Buen día, tengo una aplicación desarrollada en power builder 8.0, pero necesito trasladarla a power builder 9.0
Me sale dos errores:
pfc_main.pbl(pfc_n_trp).2:Error C0001:ilegal data type:transport
pfe_main.pbl(pfc_n_trp).2:Error C0001:ilegal data type:pfc_n_trp
aqui es el codigo:
pfc_main.pbl(pfc_n_trp) :
forward
global type pfc_n_trp from transport
end type
end forward
global type pfc_n_trp from transport
end type
global pfc_n_trp pfc_n_trp
forward prototypes
protected function integer of_messagebox (string as_id, string as_title, string as_text, icon ae_icon, button ae_button, integer ai_default)
end prototypes
protected function integer of_messagebox (string as_id, string as_title, string as_text, icon ae_icon, button ae_button, integer ai_default);
Return MessageBox(as_title, as_text, ae_icon, ae_button, ai_default)
end function
on pfc_n_trp.create
call transport::create
TriggerEvent( this, "constructor" )
end on
on pfc_n_trp.destroy
call transport::destroy
TriggerEvent( this, "destructor" )
end on
pfe_main.pbl(pfc_n_trp):
forward
global type n_trp from pfc_n_trp
end type
end forward
global type n_trp from pfc_n_trp
end type
global n_trp n_trp
on n_trp.create
call transport::create
TriggerEvent( this, "constructor" )
end on
on n_trp.destroy
call transport::destroy
TriggerEvent( this, "destructor" )
end on
Gracias por tu gentileza al responder
Me sale dos errores:
pfc_main.pbl(pfc_n_trp).2:Error C0001:ilegal data type:transport
pfe_main.pbl(pfc_n_trp).2:Error C0001:ilegal data type:pfc_n_trp
aqui es el codigo:
pfc_main.pbl(pfc_n_trp) :
forward
global type pfc_n_trp from transport
end type
end forward
global type pfc_n_trp from transport
end type
global pfc_n_trp pfc_n_trp
forward prototypes
protected function integer of_messagebox (string as_id, string as_title, string as_text, icon ae_icon, button ae_button, integer ai_default)
end prototypes
protected function integer of_messagebox (string as_id, string as_title, string as_text, icon ae_icon, button ae_button, integer ai_default);
Return MessageBox(as_title, as_text, ae_icon, ae_button, ai_default)
end function
on pfc_n_trp.create
call transport::create
TriggerEvent( this, "constructor" )
end on
on pfc_n_trp.destroy
call transport::destroy
TriggerEvent( this, "destructor" )
end on
pfe_main.pbl(pfc_n_trp):
forward
global type n_trp from pfc_n_trp
end type
end forward
global type n_trp from pfc_n_trp
end type
global n_trp n_trp
on n_trp.create
call transport::create
TriggerEvent( this, "constructor" )
end on
on n_trp.destroy
call transport::destroy
TriggerEvent( this, "destructor" )
end on
Gracias por tu gentileza al responder
Respuesta de william4425 Mendez
1