有谁在PB中用过Try ...Catch ...fially语句没有?

dibov 2003-12-15 05:02:35
为什么Try语句编译时生成Dll文件出错,而生成PBD又没有什么问题?
不知道有什么好的解决方法没有?
...全文
203 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
dibov 2003-12-16
  • 打赏
  • 举报
回复
看来是不支持了!
thanks
sinkiangscorpio 2003-12-15
  • 打赏
  • 举报
回复
Description

Isolates code that can cause an exception, describes what to do if an exception of a given type is encountered, and allows you to close files or network connections (and return objects to their original state) whether or not an exception is encountered.

*******************************************************************************
Machine code If you need to build machine code DLLs, you cannot use exception* handling.
*******************************************************************************

The process used to build machine code does not support the exception handling mechanism. Attempts to compile machine code DLLs from code that uses exception handling fail and display an error message. For more information about choosing between Pcode (PBDs) and machine code (DLLs), see the chapter on packaging your application for deployment in Application Techniques.
hzhxxx 2003-12-15
  • 打赏
  • 举报
回复


up
dotnba 2003-12-15
  • 打赏
  • 举报
回复
我用过。但是没有编译成DLL过。
PBD没问题,不知道DLL会有什么错误
wwwafa9 2003-12-15
  • 打赏
  • 举报
回复
没有用过,帮你up!

740

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 脚本语言
社区管理员
  • 脚本语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧