demonfirst 发表于 2008-5-26 14:49:55

程序没错但是无法运行,求高手给看看

我是个新手,问题应该不难,求高手帮忙给看看,我已经卡了很久没有解决了

brk1985 发表于 2008-5-26 15:34:37

NON-FATAL RUN-TIME ERROR:   "高斯噪声.c", line 13, col 24, thread id 0x00000310:   Library function error (return value == -114 ). The format of the file is newer than this version of CVI
我运行的结果是这样的。

应该是版本问题。这个程序是在高版本的labwindows/cvi下生成的。可能是8.0以上的版本
我的版本是labwindows/cvi 7.1,所以运行通不过。不知道你的

[ 本帖最后由 brk1985 于 2008-5-26 18:35 编辑 ]

demonfirst 发表于 2008-5-26 18:21:33

回复 2# brk1985 的帖子

NON-FATAL RUN-TIME ERROR:   "高斯噪声.c", line 13, col 24, thread 0x000005BC
The callback function,GenerateWave,specified in the UIR file,doesnot have the required prototype
我不太懂是什么问题呢

brk1985 发表于 2008-5-26 18:51:56

google上看到是这么说的,You specified the NAME function as a callback function for an item in a user interface resource file, but it does not have the correct type to be a callback function. Callback functions must have one of the callback types specified in the user interface library header. The function will not be called.

cpubbs 发表于 2008-5-26 22:39:18

这个是您做的吗兄弟?总感觉有问题这个项目文件!应该不是配套的!

cpubbs 发表于 2008-5-26 22:40:32

估计是UIR文件和头文件之类的不是同一版本的,比如头文件中缺少东西,是以前备份的恢复过来的!看了感觉有些比较奇怪的感觉!:handshake

demonfirst 发表于 2008-5-27 13:12:02

回复 5# cpubbs 的帖子

是我做的程序,问题已解决,谢谢哥们了

cpubbs 发表于 2008-5-27 13:45:41

我打开的时候它连其他头文件,C文件,H文件全都没有添加到项目中去的,我是试着自己添加进去,但有问题!


兄弟解决问题后留能将经验共享一下,方便后面的朋友,谢谢!:handshake
页: [1]
查看完整版本: 程序没错但是无法运行,求高手给看看