完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
本帖最后由 download491 于 2011-7-14 18:42 编辑 程序:/* CIN source file */ #include "extcode.h" MgErr CINRun(uInt8 *arg1, uInt8 *arg2, uInt8 *arg3, uInt8 *arg4, uInt8 *element8); MgErr CINRun(uInt8 *arg1, uInt8 *arg2, uInt8 *arg3, uInt8 *arg4, uInt8 *element8) { union { float Data; unsigned char Byte[4]; }FloatData; FloatData.Byte[0]=*arg1; FloatData.Byte[1]=*arg2; FloatData.Byte[2]=*arg3; FloatData.Byte[3]=*arg4; *element8=FloatData.Data; return noErr; } 结果:Deleting intermediate files and output files for project 'a - Win32 Debug'. --------------------Configuration: a - Win32 Debug-------------------- Compiling... a.c c:a.c(21) : warning C4244: '=' : conversion from 'float ' to 'unsigned char ', possible loss of data Linking... Creating library Debug/a.lib and object Debug/a.exp Performing Custom Build Step on .Debuga.dll E:cintoolslv***util: multiple name arguments not allowed "FilesMicrosoft". 执行 c:windowssystem32cmd.exe 时出错. a.dll - 1 error(s), 0 warning(s)
|
|
相关推荐
1个回答
|
|
|
支持一下
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
413 浏览 0 评论
请教大神,在labview里面对实时扫描资源中的C系列模块NI9234进行配置发生非预期错误
1775 浏览 0 评论
1622 浏览 0 评论
LABVIEW 2023 Q1调用python后一直报错1671
1991 浏览 2 评论
5403 浏览 3 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-3 05:33 , Processed in 1.161509 second(s), Total 78, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3554