上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 35 下一页

2014年3月3日

template code 引用的一些问题

摘要: 1.问题: 引用同一个norlib.tt 下面的tt 。 一个KSTrade 正确。 一个 NDAP就报错。 报错说源文件某个函数有错误 helper.Common.tt 错误 2.结果: ... 阅读全文

posted @ 2014-03-03 15:15 norsd 阅读(167) 评论(0) 推荐(0) 编辑

2014年3月2日

python matplotlib相关 dateutil

摘要: dateutil: easy_install python_dateutil pyparsing: easy_install pyparsing 阅读全文

posted @ 2014-03-02 14:45 norsd 阅读(168) 评论(0) 推荐(0) 编辑

2014年2月25日

当打开一个.h或.cpp文件时, Solution Explorer就自动展开文件所在的目录

摘要: 当打开一个.h或.cpp文件时, Solution Explorer就自动展开文件所在的目录; 如果不想展开: Tools -> Options -> Projects And Solution ... 阅读全文

posted @ 2014-02-25 10:59 norsd 阅读(169) 评论(0) 推荐(0) 编辑

2014年2月24日

Tasks 多核查找最大最小值问题

摘要: 先贴下代码 _Datas.ParallelForEach(arg_nDataStartIndex, arg_nDataCount, (data) => { dMax = dMax.Max(data.HighPrice); ... 阅读全文

posted @ 2014-02-24 16:47 norsd 阅读(168) 评论(0) 推荐(0) 编辑

2014年2月8日

ErrorObject OpenAsync(Action<ErrorObject>arg_fnRet)

摘要: ErrorObject OpenAsync(Actionarg_fnRet) public static ErrorObject Open(this ReadWrite arg_rw,IPEndPoint arg_ipport) { var smph =... 阅读全文

posted @ 2014-02-08 22:36 norsd 阅读(151) 评论(0) 推荐(0) 编辑

如何在Template Codes 中能够加载所在的Project的Assembly,获取所有Type

摘要: 1.首先要获取Project对象 2.分析得到Project对象生成的bin路径,也就是$(TargetPath) 3.Assembly.LoadFromFile( binpath ) 4.asm.GetTypes(),这里要注意处理Reference Project 代码如下: 1.Get... 阅读全文

posted @ 2014-02-08 18:47 norsd 阅读(153) 评论(0) 推荐(0) 编辑

Template Code 无法使用 this.Host 报错

摘要: 问题显示: Error 6 Compiling transformation: 'Microsoft.VisualStudio.TextTemplatingBED07DAE3B6FD53FA947017E5A5F7A123173F8AEEBD8059AD94FFEA4200EC409BE022... 阅读全文

posted @ 2014-02-08 17:08 norsd 阅读(323) 评论(0) 推荐(0) 编辑

2014年1月23日

DataView

摘要: 绘画出问题,可能是 一个派生类的DataView本身绘画数据出了问题,比如index从0开始而不是从tpi.DataIndex开始 阅读全文

posted @ 2014-01-23 13:49 norsd 阅读(135) 评论(0) 推荐(0) 编辑

2014年1月7日

c# 组件无法下断点

摘要: 1. c#组件 2.断点能下,且运行中断点本身显示正常(正常实心红点,不是白底红圈) 3.运行中无法进入组件 4.主程序中,组件的实例无法被观测到,调试显示:无法计算得到这个对象 , 但是程序能运行 5.删除赶紧,clean,重新编译都无用 解决办法: .net 4.0 换成 .net 4.... 阅读全文

posted @ 2014-01-07 16:29 norsd 阅读(350) 评论(0) 推荐(0) 编辑

2013年12月30日

c# dynamic 无法创建 泛型变量的问题

摘要: IMyClass FunctionA( object arg_obj) { dynamic dyObj = arg_obj; return new MyClass(dyObj); } 如上代码是无法编译通过的。 可以使用一个stub函数实现这个功能 IMyClass F... 阅读全文

posted @ 2013-12-30 13:54 norsd 阅读(250) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 35 下一页

导航