且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将powerbuilder 11迁移到12.6

更新时间:2022-10-14 23:05:35

迁移到较新版本是Sofware行业的常态。它具有更多功能,更少的错误和更多的舒适度。



在您的情况下,您需要一个适用于您的代码的新DLL。你确定,这不是一些配置错误,因为缺少dll或权限吗?



查看文档以获取详细信息,但是如果编译它应该没问题。

On migrating an application from Powerbuilder 11 to powerbuilder 12.6, few external functions are not working as they worked earlier and the application crashes.

The external function calls a "*.dll" which is generated by C code. On invoking the function the application crashes with the error - "Unhandled win 32 Exception".

The external dll has db handler and window handler to copy the data to the clipboard.

The same dll works fine in Powerbuilder 11 but fails in Powerbuilder 12.6

While migrating powerbuilder to 12.6 is there anything need to be done for external functions and window handler dlls?

Compilation and build was done successfully. On accessing specific function the mentioned error occurred and the application was crashed.

In PB 11.0, the SQLCAhandle value ranges around 130000000 while debugging all the time (For eg. 132149016).
Whereas in PB 12.6, the SQLCAhandle value ranges around 40000000 (For eg.43671880).

During migration do we need to make any changes for sql handlers to fetch the correct values to populate the data properly?

If so what configuration changes should be done? Could you please let us know what documentation you referred earlier?

Migrating to a newer version is the normal in the Sofware industry. It has more features, less bugs and more comfort.

In your case you need a newer dll which works with your code. Are you sure, that isnt some configuration error, as missing dlls or rights?

Check the documentation for details, but if it compiles everything should be fine.