在PowerBuilder 7中创建exe / building时出现Codegen错误

时间:2013-06-25 06:49:56

标签: powerbuilder powerbuilder-build-deploy

在构建应用程序以创建exe..i时,我在日志文件中收到以下错误...

Codegen compilation error, see file 'C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.log'.

cietadmin.log包含以下条目。

    CGEN: Compiling 'C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c'
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) function argument(s) do not match those in prototype 
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) 'unsigned stdcall (__export FN_RunExecutable)( HINSTANCE__ const *, HINSTANCE__ const *, wchar_t *, int, wchar_t *, int )' defined in: d:\Program Files\Sybase\Shared\PowerBuilder\cgen\EN32T.h(1) (col 1) 
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) cannot convert argument 3 defined in: C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(22) (col 49) 
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) source conversion type is "char * (lvalue)" 
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) target conversion type is "wchar_t *" 

可能是什么问题?我怎么解决呢? 我重新安装了PB软件,但没有用。

谢谢&问候

1 个答案:

答案 0 :(得分:0)

我的第一个建议是检查你为什么要建立机器代码。我已经写了rather long diatribe关于机器代码如何使非常精选的案例受益,并且已知会带来挑战。

另一个建议是,如果你让自己依赖同伴支持,你的团队应该转向更新的/更常用的PowerBuilder版本。 PB7非常Y2K。

祝你好运,

特里。