labview生成dll文件怎么出错了?

2019-07-17 09:00发布

错误提示:
由于函数或参数名称非法,编译DLL时发生错误。请确保函数或参数名称为合法C标识符并且与labview头不冲突。
其他信息:9 Project link errors
Error generating type library.  Midl.exe failed while compiling the odl file used to create the type library.
Note: The error indicates that the odl file has unknown types. This error is possible when
functions with non-standard types are exported using the export qualifier method from files in
release configuration that have not been recompiled during the build process. You can mark all
files for recompilation and repeat the build. To avoid this situation, it is recommended that
you export these functions using the include file method.
Use the generated odl file "c:UserschangAppDataLocalTempdlltemp3919.111906Math_Add1.odl" with the command line:
D:Program Files (x86)National InstrumentsSharedMSDTRedistributablesBuildTools8.1midl.exe "c:UserschangAppDataLocalTempdlltemp3919.111906Math_Add1.odl" /win32 /mktyplib203 /tlb "Math_Add1.tlb" /ID:Program Files (x86)National InstrumentsSharedMSDTRedistributablesBuildTools8.1 /cpp_cmd d:program files (x86) ational instrumentssharedlvdb 2015inpreprocessor.exe
to see what errors midl.exe reported.

ERROR_REPORTED_TO_USER


2017-12-14_223718.png
2017-12-14_223949.png
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
6条回答
zxzuiniubi
2019-07-18 02:36
本帖最后由 zxzuiniubi 于 2018-7-24 21:02 编辑

我的版本是2013,遇到这个问题了,但是我就装了一个版本,删除重装还是这个问题

一周热门 更多>