使用PowerBuilder 9编绎DLL类型,有点问题.处理过程记录如下."Error opening file 'c:\windows\system32\cgen\en32t.h'"
2012-09-23 11:42
666 查看
决下心来学PowerBuilder
工作上一直要用到数据库的知识。PB在这方面的功能实在是太强大了。
将PBL编绎成DLL时,会有错误,不知道PB编绎DLL时的路径设置在哪里弄的。
1.提示找不到.h文件
"Error opening file 'c:\windows\system32\cgen\en32t.h'"
复制PB程序目录中的 \Shared\PowerBuilder\cgen目录到系统system32目录中。
重新编绎后,提示link失败。
查看日志文件:
从pb目录中,找到这2个库文件“pbcgm90.lib”,“pbw3290.lib”,复制到system32中,问题解决。
好记性不如烂笔头,写在这里,做个记录。
错误原因:
编绎提示找不到相关的头文件,说明更改了pbvm90.dll的默认路径.
PBVM90.DLL默认位置是在Sybase\Shared\PowerBuilder与cgen目录是在同一个位置,这位编绎时就不会出错.
我的相关文章
/article/8568467.html
工作上一直要用到数据库的知识。PB在这方面的功能实在是太强大了。
将PBL编绎成DLL时,会有错误,不知道PB编绎DLL时的路径设置在哪里弄的。
1.提示找不到.h文件
"Error opening file 'c:\windows\system32\cgen\en32t.h'"
复制PB程序目录中的 \Shared\PowerBuilder\cgen目录到系统system32目录中。
重新编绎后,提示link失败。
查看日志文件:
CGEN: Compiling 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\genapp.c' CGEN: Linking... C:\WINDOWS\system32\pbcgm90.lib : No such file or directory C:\WINDOWS\system32\pbw3290.lib : No such file or directory
从pb目录中,找到这2个库文件“pbcgm90.lib”,“pbw3290.lib”,复制到system32中,问题解决。
好记性不如烂笔头,写在这里,做个记录。
错误原因:
编绎提示找不到相关的头文件,说明更改了pbvm90.dll的默认路径.
PBVM90.DLL默认位置是在Sybase\Shared\PowerBuilder与cgen目录是在同一个位置,这位编绎时就不会出错.
我的相关文章
/article/8568467.html
相关文章推荐
- 使用PowerBuilder 9编绎DLL类型,有点问题.处理过程记录如下.”Error opening file ‘c:\windows\system32\cgen\en32t.h’”
- pb9.0 编绎成DLL类型时,提示"Error opening file 'c:/windows/system32/cgen/ent32.h" 问题的解决方法
- 未经处理的异常在 System.Data.dll 中发生。其它信息:在应使用条件的上下文(在 '***' 附近)中指定了非布尔类型的表达式。
- 使用ACE日志策略时遇到的问题:DLL::open failed for ACE: Error: check log for details Unable to find service 'Logger'
- 使用不同版本XCode出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
- [解决问题][不能更新eclipse]错误提示:Error retrieving "feature.xml". [error in opening zip file]
- python脚本处理文本时遇到的字符问题:UnicodeDecodeError: " " codec can't decode byte
- [解决问题][不能更新eclipse]错误提示:Error retrieving "feature.xml". [error in opening zip file]
- 编译过程中弹出new(35) : error C2061: syntax error : identifier 'THIS_FILE'问题的原因及解决方法
- 使用XCode6打开项目以后再用XCode5出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
- 使用XCode6打开项目以后再用XCode5出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
- 使用XCode6打开项目以后再用XCode5出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
- 未经处理的异常在 System.Data.dll 中发生。其他信息:在应使用条件的上下文(在 '***' 附近)中指定了非布尔类型的表达式。
- 未经处理的异常在 System.Data.dll 中发生。其它信息:在应使用条件的上下文(在 '***' 附近)中指定了非布尔类型的表达式。
- 使用XCode6打开项目以后再用XCode5出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
- 使用XCode6打开项目以后再用XCode5出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
- 使用py2exe 将python文件转成exe文件(以及 error: [Errno 2] No such file or directory: 'MSVCP90.dll'解决方法)
- Android问题集锦之二十九:Cannot run program "/xx/build-tools/xx/aapt": error=2, No such file or directory
- error opening trace file: No such file or directory (2) Refusing to reopen boot DEX 'system/framewor
- Android学习之实现WebView中input="file"选择文件,处理选择图片无法返回类型问题