How to upgrade PowerBuilder code?

让人想犯罪 __ 提交于 2020-01-11 10:27:12

问题


I have code from PowerBuilder 5 that can't be built. The compiler just stops before it is done without any error codes.

I would like to upgrade the code to the recent version of PowerBuilder but there are some intermediate versions of PowerBuilder that have binary dependencies to an old Microsoft java dll that Microsoft no longer can distribute due to some court case.

So, is there a way to get my code running in a newer environment?

/johan/


回答1:


Firstly, you don't need to use "intermediate versions of PowerBuilder" to migrate up to a current version, so even if this java DLL dependency sounds questionable to me (at least it doesn't ring a bell), it's irrelevant unless it affects the target version of PowerBuilder.

For migrating, you might want to check out this migration guide, as well as a list of changes to PB that may affect you.




回答2:


Very unusual sounding problem. You could give a try to migrating the code to a more recent version of PowerBuilder and see if it will compile or at least fail but give you some useful error messages.

I would also recommend posting this in the PowerBuilder section of the Sybase newsgroups. They are very active and full of some brilliant PB minds with lots of experience. You can find them here: http://forums.sybase.com




回答3:


From here:http://forums.sybase.com/cgi-bin/webnews.cgi?cmd=item-4558&group=sybase.public.powersite

I just learned that the combination of "severe" message, and message that psdwc70.dll was unable to self-register is probably because msjava.dll is not present and/or registered on your machine. The psdwc70.dll file relies on msjava.dll in order to install properly.

/johan/




回答4:


Have you tried exporting the code in PB5 and importing in new version?



来源:https://stackoverflow.com/questions/164297/how-to-upgrade-powerbuilder-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!