Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error al migrar power 8 a power 9

21 views
Skip to first unread message

Joel20

unread,
Nov 5, 2009, 9:49:05 AM11/5/09
to
Buen dia, tengo una aplicacion 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


Gracis por tu gentileza al responder

Roland Smith [TeamSybase]

unread,
Nov 5, 2009, 2:22:28 PM11/5/09
to
The transport object is no longer supported. Delete pfc_n_trp & n_trp.

"Joel20" <priva...@gmail.com> wrote in message
news:b88c2942-9883-443d...@t2g2000yqn.googlegroups.com...

Terry Voth [TeamSybase]

unread,
Nov 5, 2009, 2:29:03 PM11/5/09
to
I hope you can understand this or get it translated.

Just delete them. Transport objects were used in Distributed
PowerBuilder, which hasn't been supported since PB7. This makes it
guaranteed that if you are coming from PB8, you are not using them.

You may also want to update to the PFC that came with PB9, as it will
have some bug fixes in it.

Good luck,

Terry and Sequel the techno-kitten

*********************************
Build your vocabulary while feeding the hungry
http://www.freerice.com
*********************************
Newsgroup User Manual
=====================
TeamSybase <> Sybase employee
Forums = Peer-to-peer
Forums <> Communication with Sybase
IsNull (AnswerTo (Posting)) can return TRUE
Forums.Moderated = TRUE, so behave or be deleted
*********************************

Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a free PowerBuilder Developer's Toolkit.
Version 4.0.4 now available at the Sandbox
PB Futures updated June 25/2008
See the PB Troubleshooting & Migration Guides at the Sandbox
^ ^
o o
=*=

0 new messages