您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信知识>>正文内容

通达信插件选股编程规范.rar编译不过,还有很多warning,能帮忙解决下吗? [通达信]

  • 咨询内容: 您好,通达信插件选股编程规范.rar编译不过,还有很多warning,能帮忙解决下吗? 1>------ 已启动全部重新生成: 项目: MyPlugin, 配置: Debug Win32 ------ 1>正在删除项目“MyPlugin”(配置“Debug|Win32”)的中间文件和输出文件 1>正在编译... 1>MyPlugin.cpp 1>d:\myplugin\myplugin.cpp(29) : warning C4273: “RegisterDataInterface”: dll 链接不一致 1> d:\myplugin\plugin.h(42) : 参见“RegisterDataInterface”的前一个定义 1>d:\myplugin\myplugin.cpp(35) : warning C4273: “GetCopyRightInfo”: dll 链接不一致 1> d:\myplugin\plugin.h(44) : 参见“GetCopyRightInfo”的前一个定义 1>d:\myplugin\myplugin.cpp(37) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(38) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(39) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(40) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(41) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(42) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(45) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(49) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> d:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(74) : 参见“strcpy”的声明 1>d:\myplugin\myplugin.cpp(63) : error C2065: “nIndex”: 未声明的标识符 1>d:\myplugin\myplugin.cpp(69) : warning C4244: “参数”: 从“long”转换到“WORD”,可能丢失数据 1>d:\myplugin\myplugin.cpp(99) : warning C4273: “InputInfoThenCalc1”: dll 链接不一致 1> d:\myplugin\plugin.h(46) : 参见“InputInfoThenCalc1”的前一个定义 1>d:\myplugin\myplugin.cpp(117) : warning C4244: “参数”: 从“long”转换到“WORD”,可能丢失数据 1>d:\myplugin\myplugin.cpp(128) : warning C4273: “InputInfoThenCalc2”: dll 链接不一致 1> d:\myplugin\plugin.h(48) : 参见“InputInfoThenCalc2”的前一个定义 1>d:\myplugin\myplugin.cpp(139) : warning C4244: “参数”: 从“long”转换到“short”,可能丢失数据 1>d:\myplugin\myplugin.cpp(152) : warning C4244: “参数”: 从“long”转换到“WORD”,可能丢失数据 1>StdAfx.cpp 1>正在生成代码... 1>生成日志保存在“file://d:\MyPlugin\Debug\BuildLog.htm” 1>MyPlugin - 1 个错误,16 个警告 ========== 全部重新生成: 成功 0 个,失败 1 个,跳过 0 个 ==========

     

  • 通达信技术部: 编程规范经测试是没有问题的。

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容