vaxVisual Assist X具有强大的编辑特色,提高了生产效率,可以完全集成到您的Microsoft开发环境中,升级了您的IDE,在不改变编程习惯的同时就可以感受到Visual Assist X为您带来的好处。

Visual Assist X是一款非常好的Microsoft Visual Studio 2010、2008、2005、2003、6.0插件,支持C/C++,C#,ASP,Visual Basic,Java和HTML等语言,能自动识别各种关键字、系统函数、成员变量、自动给出输入提示、自动更正大小写错误、自动标示错误等,有助于提高 开发过程的自动化和开发效率。

Visual Assist X去除了默认Intellisense的几个不足之处,采用一系列新的特性对其进行了补充,提高了IDE的可用性。其中,帮助的数量决定于IDE、所用编程语言和您设定的选项。

如同默认Intellisense,Visual Assist X也包括剖析器,运行于您的编辑过程中。该培训器同默认剖析器的不同之处在于,他们不装载预先设置的符号数据库,因此扩大了Intellisense的范 围。Visual Assist X只收集您工程中的头文件和对象信息,这些头文件和对象可以包含在系统、第三方库、MFC或ATL/WTL/STL中。这意味着Intellisence 的活动更加频繁,结果也更加准确。

最新的版本甚至支持WPF、SilverLight等等环境,实乃编程必备工具,如果你还没有用过此工具,那你编写代码时可能还没有享受过轻松、愉悦、舒心、流畅的感觉,来吧,朋友,赶快下载吧。

本版本适合VS2010,2008,2005,2003,VS6.0等各个版本,在安装完成后,2010需要特别的操作:

如果你使用后发现此工具不错的话,请支持或购买正版,不是很贵吧,也就大概$34.30。

VAX全系列下载及补丁包,请点击进行下载,为了防止盗链,必须先注册本站用户,但本人保证绝对可以下载,请大家放心。

 

请注册的用户收藏此页,本地址常年有效,并且不断更新中。 为防止盗链,本页增加了用户认证,只要本站注册者,均可免费下载,无需其他手续,有任何意见,请在下面跟帖。 本版本适合VS2010,2008,2005,2003,VS6.0等各个版本,在安装完成后,2010需要特别的操作: VS2010的话,需要手动拷贝VA_X.dll到相关目录或补丁放在这些目录下运行: Windows7: C:\Users\(your user name)\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Software\Visual Assist X\10.6.1829.0 XP: C:\Documents and Settings\用户名\Local Settings\Application Data\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Software\Visual Assist X\10.6.1829.0

下载列表:
Continue reading »

 

vaxVisual Assist X具有强大的编辑特色,提高了生产效率,可以完全集成到您的Microsoft开发环境中,升级了您的IDE,在不改变编程习惯的同时就可以感受到Visual Assist X为您带来的好处。

Visual Assist X是一款非常好的Microsoft Visual Studio 2010、2008、2005、2003、6.0插件,支持C/C++,C#,ASP,Visual Basic,Java和HTML等语言,能自动识别各种关键字、系统函数、成员变量、自动给出输入提示、自动更正大小写错误、自动标示错误等,有助于提高 开发过程的自动化和开发效率。

Visual Assist X去除了默认Intellisense的几个不足之处,采用一系列新的特性对其进行了补充,提高了IDE的可用性。其中,帮助的数量决定于IDE、所用编程语言和您设定的选项。

如同默认Intellisense,Visual Assist X也包括剖析器,运行于您的编辑过程中。该培训器同默认剖析器的不同之处在于,他们不装载预先设置的符号数据库,因此扩大了Intellisense的范 围。Visual Assist X只收集您工程中的头文件和对象信息,这些头文件和对象可以包含在系统、第三方库、MFC或ATL/WTL/STL中。这意味着Intellisence 的活动更加频繁,结果也更加准确。

最新的版本甚至支持WPF、SilverLight等等环境,实乃编程必备工具,如果你还没有用过此工具,那你编写代码时可能还没有享受过轻松、愉悦、舒心、流畅的感觉,来吧,朋友,赶快下载吧。

本版本适合VS2010,2008,2005,2003,VS6.0等各个版本,在安装完成后,2010需要特别的操作:

如果你使用后发现此工具不错的话,请支持或购买正版,不是很贵吧,也就大概$34.30。

VAX全系列下载及补丁包,请点击进行下载,为了防止盗链,必须先注册本站用户,但本人保证绝对可以下载,请大家放心。

下载密码是 :  codeex.cn                  注意:全部小写,无空格。

 

1 什么是DEP(数据执行保护)

根据微软官方定义:数据执行保护 (DEP) 是一种有助于防止您的计算机免受病毒和其他安全威胁破坏的安全功能。有害的程序可能会通过试图运行(也称为“执行”)计算机内存中为 Windows 和其他已授权程序保留的代码来攻击 Windows。这些类型的攻击可能会损害您的程序和文件。 DEP 可以通过监视程序以确保它们安全使用计算机内存,帮助保护您的计算机。如果 DEP 注意到计算机上的某个程序使用的内存不正确,则它将关闭该程序并通知您。 2 DEP的设置界面 DEP被WIN2003及之后的系统引入,是系统性能选项的一部分。“在计算机属性”配置页面中的“高级系统设置项”的“性能选项”,打开后界面如下。默认系统是不为其他应用程序启用DEP的,当然如果您系统安装时不小心选择了第二个选项,则所有的应用程序均在DEP保护范围内。

在VS2010的VC链接器配置里,我们也可以发现数据执行保护项,默认是被选择的,这样您写的小程序也就被DEP保护了。

3 DEP导致的不兼容问题现象

一般情况下,保护给人的感觉总是不错的,然而,就是这默认的DEP,在我调用第三方的DLL库时引发了莫名的错误,我的环境是操作系统Windows 2003 server版,编译环境VS2005,使用的是NI Spectral Measurements 2.0 CVI的库,在别的机器上运行都比较正常,唯独在一台新装的Win2003系统上死活不能运行。跟踪问题,发现总是在库函数调用时弹出错误,信息如下:

TestSmt.exe 中的 0x7fc0c5f1 处最可能的异常: 0xC0000005: Access violation

TestSmt.exe 中的 0x7fc0c5f1 处有未经处理的异常: 0xC0000005: Access violation

跟踪到汇编,显然是DLL函数入口就错了。

这下难了,我们没有smt库的源代码,不可能知道到底发生了什么,但是项目总得交,问题总得解决。折腾啊折腾,在无尽的折腾中,终于看到了一丝曙光…

4 解决之道

为了彻底查找问题,我在WIN7系统上使用VS2010编写了如下的测试代码:

程序编译后,与上述问题现象一摸一样,这下我彻底傻了,难道SMT库在WIN7下也是不能运行的,在反复思考觉得没有这样的道理的同时,我对VC的编译链接选项作了部分改动,再次带着一颗充满期望的心情编译尝试时,奇迹终于发生了,一切都是那么的OK,如下图所示的界面简直就是我的美味佳肴啊!

原来都是DEP搞的鬼,知道了问题所在,就非常好办了,按照前面介绍的知识检查后,发现新系统DEP的配置选项竟然是第二项,这狗日的腾讯,是谁动了我的配置!!!

修改DEP,一切OK!嘿嘿,还记得上面DEP的承诺吗?则它将关闭该程序并通知您,关闭倒是关闭了,不知道怎么通知人的啊??



 

以下内容转自http://help.wugnet.com/windows/modules.php?name=Forums&file=viewtopic&t=633027&highlight=labview

LABVIEW – 70th Programs and Modules

NI.LabVIEW v.2.0.DSP.Module

Code:
http://www.filefactory.com/file/9444a3/n/NILVWDSPM20_rar

NI. Sound and Vibration Measurement Suite 7.0 – Featuring the Sound and Vibration Assistan

Code:
http://www.filefactory.com/file/a03900b/n/NISVMS70_part01_rar

http://www.filefactory.com/file/a0384ab/n/NISVMS70_part02_rar

http://www.filefactory.com/file/a03a408/n/NISVMS70_part03_rar

http://www.filefactory.com/file/a03a2d3/n/NISVMS70_part04_rar

http://www.filefactory.com/file/a0387ac/n/NISVMS70_part05_rar

http://www.filefactory.com/file/a03a5a7/n/NISVMS70_part06_rar

http://www.filefactory.com/file/a03906g/n/NISVMS70_part07_rar

http://www.filefactory.com/file/a179755/n/NISVMS70_part08_rar

http://www.filefactory.com/file/a0391c1/n/NISVMS70_part09_rar

http://www.filefactory.com/file/afgba51/n/NISVMS70_part10_rar

NI.LabVIEW v.8.6.DSP.Module

Code:
http://www.filefactory.com/file/e88f67/n/NILVWDSPM86_part1_rar

http://www.filefactory.com/file/5c6e29/n/NILVWDSPM86_part2_rar

NI.LabVIEW v.8.6.FPGA.Module

Code:
http://www.filefactory.com/file/2b2dbd/n/NILVWFPGA86_part01_rar

http://www.filefactory.com/file/ce35cd/n/NILVWFPGA86_part02_rar

http://www.filefactory.com/file/4b3c1d/n/NILVWFPGA86_part03_rar

http://www.filefactory.com/file/0b2448/n/NILVWFPGA86_part04_rar

http://www.filefactory.com/file/ed54c3/n/NILVWFPGA86_part05_rar

http://www.filefactory.com/file/b9e472/n/NILVWFPGA86_part06_rar

http://www.filefactory.com/file/45af4b/n/NILVWFPGA86_part07_rar

http://www.filefactory.com/file/5d200d/n/NILVWFPGA86_part08_rar

http://www.filefactory.com/file/ac080a/n/NILVWFPGA86_part09_rar

http://www.filefactory.com/file/53b1f8/n/NILVWFPGA86_part10_rar

http://www.filefactory.com/file/03a56e/n/NILVWFPGA86_part11_rar

http://www.filefactory.com/file/ca6b47/n/NILVWFPGA86_part12_rar

NI.LabVIEW v.8.6.Mobile.Module

Code:
http://www.filefactory.com/file/e27a76/n/NILVWMM86_part1_rar

http://www.filefactory.com/file/dfe622/n/NILVWMM86_part2_rar

http://www.filefactory.com/file/645df0/n/NILVWMM86_part3_rar

http://www.filefactory.com/file/71c071/n/NILVWMM86_part4_rar

http://www.filefactory.com/file/645f21/n/NILVWMM86_part5_rar

NI.LabVIEW v.8.6.Microprocessor.SDK.Module

Code:
http://www.filefactory.com/file/e3b4b0/n/NILVWMSDK86_part1_rar

http://www.filefactory.com/file/e26047/n/NILVWMSDK86_part2_rar

http://www.filefactory.com/file/19f351/n/NILVWMSDK86_part3_rar

http://www.filefactory.com/file/4a8cec/n/NILVWMSDK86_part4_rar

NI.LabVIEW v.8.6.Real.Time.Module

Code:
http://www.filefactory.com/file/faf052/n/NILVWRTM86_part1_rar

http://www.filefactory.com/file/fda0f9/n/NILVWRTM86_part2_rar

http://www.filefactory.com/file/8819a6/n/NILVWRTM86_part3_rar

http://www.filefactory.com/file/09095c/n/NILVWRTM86_part4_rar

http://www.filefactory.com/file/12c48f/n/NILVWRTM86_part5_rar

NI.LabVIEW.SignalExpress.v.3.0

Code:
http://www.filefactory.com/file/c93f00/n/NILVWSEX30_part1_rar

http://www.filefactory.com/file/2e47e2/n/NILVWSEX30_part2_rar

http://www.filefactory.com/file/f57122/n/NILVWSEX30_part3_rar

http://www.filefactory.com/file/c93f38/n/NILVWSEX30_part4_rar

http://www.filefactory.com/file/78d32c/n/NILVWSEX30_part5_rar

http://www.filefactory.com/file/d91b06/n/NILVWSEX30_part6_rar

http://www.filefactory.com/file/70c863/n/NILVWSEX30_part7_rar

NI.LabVIEW.Syste.Identification.Toolkit.v.4.0

Code:
http://www.filefactory.com/file/5790f6/n/NILVWSIT40_part1_rar

http://www.filefactory.com/file/045fdd/n/NILVWSIT40_part2_rar

http://www.filefactory.com/file/8ed9f2/n/NILVWSIT40_part3_rar

http://www.filefactory.com/file/abcfe2/n/NILVWSIT40_part4_rar

http://www.filefactory.com/file/91754a/n/NILVWSIT40_part5_rar

http://www.filefactory.com/file/802468/n/NILVWSIT40_part6_rar

NI.LabVIEW.Sound and Vibration Toolkit v.4.0

Code:
http://www.filefactory.com/file/7cca60/n/NILVWSVT40_part1_rar

http://www.filefactory.com/file/03a5c5/n/NILVWSVT40_part2_rar

NI.LabVIEW.TestStand.v.4.0.1

Code:
http://www.filefactory.com/file/0dba74/n/NILVWTS401_part1_rar

http://www.filefactory.com/file/1d5619/n/NILVWTS401_part2_rar

http://www.filefactory.com/file/d93fed/n/NILVWTS401_part3_rar

http://www.filefactory.com/file/71811e/n/NILVWTS401_part4_rar

http://www.filefactory.com/file/bdd9d0/n/NILVWTS401_part5_rar

LabVIEW.Simulation Interface Toolkit v.3.0.1

Code:
http://www.filefactory.com/file/abd805/n/NISIMIT30_rar

LabVIEW.Spectral Measurements Toolkit v.2.1

Code:
http://www.filefactory.com/file/0f2eed/n/NISMT21_rar

LabVIEW.Vision v8.5 Acquisition Software

Code:
http://www.filefactory.com/file/d940d0/n/NIVAS85CD1CD2_part1_rar

http://www.filefactory.com/file/bdda2c/n/NIVAS85CD1CD2_part2_rar

http://www.filefactory.com/file/dd2320/n/NIVAS85CD1CD2_part3_rar

http://www.filefactory.com/file/164670/n/NIVAS85CD1CD2_part4_rar

http://www.filefactory.com/file/f57ce6/n/NIVAS85CD1CD2_part5_rar

http://www.filefactory.com/file/1d5743/n/NIVAS85CD1CD2_part6_rar

http://www.filefactory.com/file/fcca2a/n/NIVAS85CD1CD2_part7_rar

NI.LabVIEW .Vision Builder for Automated Inspection (AI)

Code:
http://www.filefactory.com/file/815da9/n/NIVBAI301_part1_rar

http://www.filefactory.com/file/42ef63/n/NIVBAI301_part2_rar

http://www.filefactory.com/file/1b2baf/n/NIVBAI301_part3_rar

http://www.filefactory.com/file/9de4ae/n/NIVBAI301_part4_rar

NI.LabVIEW.Vision v8.6 Development Module

Code:
http://www.filefactory.com/file/f7bbdd/n/NIVDM86_part1_rar

http://www.filefactory.com/file/7dbe56/n/NIVDM86_part2_rar

http://www.filefactory.com/file/77f2e5/n/NIVDM86_part3_rar

http://www.filefactory.com/file/aceb35/n/NIVDM86_part4_rar

http://www.filefactory.com/file/6b9078/n/NIVDM86_part5_rar

http://www.filefactory.com/file/ac4033/n/NIVDM86_part6_rar

NI.LabVIEW.LabWindows CVI FDS v8.5

Code:
http://www.filefactory.com/file/54c99d/n/LABWINCVIFDS85_part1_rar

http://www.filefactory.com/file/1562e2/n/LABWINCVIFDS85_part2_rar

http://www.filefactory.com/file/ab7ac6/n/LABWINCVIFDS85_part3_rar

http://www.filefactory.com/file/da2d3e/n/LABWINCVIFDS85_part4_rar

http://www.filefactory.com/file/d1ff56/n/LABWINCVIFDS85_part5_rar

NI.LabWindows.CVI.Real.Time.Module.v9.0

Code:
http://www.filefactory.com/file/a03b2g7/n/NILABWINCVIRTM90_part1_rar

http://www.filefactory.com/file/a03b4c8/n/NILABWINCVIRTM90_part2_rar

http://www.filefactory.com/file/a03b603/n/NILABWINCVIRTM90_part3_rar

LabVIEW Advanced Signal  Processing  Toolkit V.8.6
NI LabVIEW v8.6 Statechart Module
NI Motion Assistant v2.3
NI Real-Time Execution Trace Toolkit v2.0.1
NI LabVIEW Adaptive Filter Toolkit v1.0
NI LabVIEW Database Connectivity Toolkit v1.0.2
NI LabVIEW v8.6 Digital Filter Design Toolkit
NI LabVIEW Report Generation Toolkit v1.1.3 for Microsoft Office
NI LabVIEW Simulation Interface Toolkit v5.0
NI LabVIEW v8.6 Touch Panel Module
NI LabVIEW VI Analyzer Toolkit v1.1.1
|
|
V

Code:
http://www.filefactory.com/file/31b0d6/n/LVW11MODULES_part1_rar

http://www.filefactory.com/file/bd8ba7/n/LVW11MODULES_part2_rar

http://www.filefactory.com/file/fae2ec/n/LVW11MODULES_part3_rar

http://www.filefactory.com/file/0da589/n/LVW11MODULES_part4_rar

http://www.filefactory.com/file/070eb0/n/LVW11MODULES_part5_rar

http://www.filefactory.com/file/3732c0/n/LVW11MODULES_part6_rar

NI.MEASUREMENT.STUDIO.ENTERPRISE.V8.6

Code:
http://www.filefactory.com/file/a03a717/n/NIMEASTUDENTERPR_part1_rar

http://www.filefactory.com/file/a03a81g/n/NIMEASTUDENTERPR_part2_rar

http://www.filefactory.com/file/a03g58f/n/NIMEASTUDENTERPR_part3_rar

http://www.filefactory.com/file/a03bb80/n/NIMEASTUDENTERPR_part4_rar

http://www.filefactory.com/file/a03bc6a/n/NIMEASTUDENTERPR_part5_rar

http://www.filefactory.com/file/a03g63g/n/NIMEASTUDENTERPR_part6_rar

LabVIEW v8.2.PID.Control.Toolkit

Code:
http://www.filefactory.com/file/7cccfa/n/LVW82PIDCT_rar

LabView Embedded Module for ADI Blackfin v2.0

Code:
http://www.filefactory.com/file/31ee94/n/LVWEDMADIBF20_part1_rar

http://www.filefactory.com/file/6b91e2/n/LVWEDMADIBF20_part2_rar

http://www.filefactory.com/file/7ccc87/n/LVWEDMADIBF20_part3_rar

LabVIEW.Signal Processing Toolset V6.0

Code:
http://www.filefactory.com/file/090dbe/n/LVWLWSPT60_rar

NI.LabVIEW.Modulation Toolkit V.3.1

Code:
http://www.filefactory.com/file/0b316d/n/LVWMODTOOL30_rar

LabVIEW System Identification Toolkit v3.0.1

Code:
http://www.filefactory.com/file/2f363a/n/LVWSYIT301_part1_rar

http://www.filefactory.com/file/2f3058/n/LVWSYIT301_part2_rar

http://www.filefactory.com/file/27b967/n/LVWSYIT301_part3_rar

http://www.filefactory.com/file/ac46a4/n/LVWSYIT301_part4_rar

LabVIEW.Circuit Design Suite Pro v.10.0.1

Code:
http://www.filefactory.com/file/544bf6/n/NICDSPRO10_part1_rar

http://www.filefactory.com/file/9f5d61/n/NICDSPRO10_part2_rar

http://www.filefactory.com/file/fd6bb7/n/NICDSPRO10_part3_rar

LabVIEW.Calibration Executive v3.2

Code:
http://www.filefactory.com/file/280429/n/NICE32CD1_part1_rar

http://www.filefactory.com/file/f571eb/n/NICE32CD1_part2_rar

http://www.filefactory.com/file/c038dd/n/NICE32CD1_part3_rar

http://www.filefactory.com/file/c5941f/n/NICE32CD1_part4_rar

http://www.filefactory.com/file/6565b7/n/NICE32CD1_part5_rar

http://www.filefactory.com/file/974798/n/NICE32CD1_part6_rar

http://www.filefactory.com/file/53dd31/n/NICE32CD2_part1_rar

http://www.filefactory.com/file/791102/n/NICE32CD2_part2_rar

http://www.filefactory.com/file/2eeb7b/n/NICE32CD2_part3_rar

http://www.filefactory.com/file/48a0e6/n/NICE32CD2_part4_rar

http://www.filefactory.com/file/723705/n/NICE32CD2_part5_rar

http://www.filefactory.com/file/5445a7/n/NICE32CD2_part6_rar

http://www.filefactory.com/file/eb27b8/n/NICE32CD3CD4rar_part1_rar

http://www.filefactory.com/file/abd754/n/NICE32CD3CD4rar_part2_rar

http://www.filefactory.com/file/78b8e4/n/NICE32CD3CD4rar_part3_rar

http://www.filefactory.com/file/e2013c/n/NICE32CD3CD4rar_part4_rar

http://www.filefactory.com/file/d91fd7/n/NICE32CD3CD4rar_part5_rar

http://www.filefactory.com/file/279e02/n/NICE32CD3CD4rar_part6_rar

NI.LabVIEW.DIAdem v10.2

Code:
http://www.filefactory.com/file/978502/n/NIDIAD102_part1_rar

http://www.filefactory.com/file/76d907/n/NIDIAD102_part2_rar

http://www.filefactory.com/file/64d695/n/NIDIAD102_part3_rar

NI.LabVIEW.DIAdem v11.0

Code:
http://www.filefactory.com/file/eab57b/n/NIDIADEM11_part1_rar

http://www.filefactory.com/file/3eafa7/n/NIDIADEM11_part2_rar

http://www.filefactory.com/file/644ff5/n/NIDIADEM11_part3_rar

http://www.filefactory.com/file/cf6a6b/n/NIDIADEM11_part4_rar

NI.LabVIEW.DIAdem INSIGHT v2.09

Code:
http://www.filefactory.com/file/c94a8f/n/NIDIAIN209_part1_rar

http://www.filefactory.com/file/da7c56/n/NIDIAIN209_part2_rar

http://www.filefactory.com/file/ca8c06/n/NIDIAIN209_part3_rar

NI.LabVIEW.Digital Waveform Editor v2.0

Code:
http://www.filefactory.com/file/70ef69/n/NIDIGWE20_part1_rar

http://www.filefactory.com/file/ac5eba/n/NIDIGWE20_part2_rar

NI.LabVIEW.DAQmx v8.7.1

Code:
http://www.filefactory.com/file/6b5912/n/NIDQ871CD1_part1_rar

http://www.filefactory.com/file/c5c98a/n/NIDQ871CD1_part2_rar

http://www.filefactory.com/file/31c1b6/n/NIDQ871CD1_part3_rar

http://www.filefactory.com/file/af0163/n/NIDQ871CD1_part4_rar

http://www.filefactory.com/file/646ea2/n/NIDQ871CD1_part5_rar

http://www.filefactory.com/file/646ec4/n/NIDQ871CD1_part6_rar

http://www.filefactory.com/file/6b5a23/n/NIDQ871CD2_part1_rar

http://www.filefactory.com/file/9497ad/n/NIDQ871CD2_part2_rar

http://www.filefactory.com/file/1e15ed/n/NIDQ871CD2_part3_rar

NI.LabVIEW.ECU Measurement and Calibration Toolkit v2.0.1

Code:
http://www.filefactory.com/file/dde1ac/n/NIECUMCT201_part1_rar

http://www.filefactory.com/file/bdd287/n/NIECUMCT201_part2_rar

NI.LabVIEW.Motion v7.6

Code:
http://www.filefactory.com/file/e6b05e/n/NILBVWM76_part1_rar

http://www.filefactory.com/file/039f49/n/NILBVWM76_part2_rar

http://www.filefactory.com/file/f2b519/n/NILBVWM76_part3_rar

NI.LabVIEW.MATRIXX.V7.1

Code:
http://www.filefactory.com/file/8ee125/n/NILBVWMTX71_rar

NI.LabVIEW.SoftMotion Controller v2.1

Code:
http://www.filefactory.com/file/dd4e8d/n/NILBVWSMC71_part1_rar

http://www.filefactory.com/file/e202c9/n/NILBVWSMC71_part2_rar

http://www.filefactory.com/file/27ae37/n/NILBVWSMC71_part3_rar

http://www.filefactory.com/file/534b5b/n/NILBVWSMC71_part4_rar

LabVIEW v8.5 DSC Module

Code:
http://www.filefactory.com/file/e2036e/n/NILBWDSC85_part1_rar

http://www.filefactory.com/file/03a044/n/NILBWDSC85_part2_rar

http://www.filefactory.com/file/6b632f/n/NILBWDSC85_part3_rar

http://www.filefactory.com/file/5ad26d/n/NILBWDSC85_part4_rar

NI.LabVIEW.Lookout v6.1

Code:
http://www.filefactory.com/file/23ce61/n/NILKOUT61_part1_rar

http://www.filefactory.com/file/d903c2/n/NILKOUT61_part2_rar

http://www.filefactory.com/file/156739/n/NILKOUT61_part3_rar

http://www.filefactory.com/file/20dc03/n/NILKOUT61_part4_rar

http://www.filefactory.com/file/952f0a/n/NILKOUT61_part5_rar

http://www.filefactory.com/file/b9c40b/n/NILKOUT61_part6_rar

NI.LabVIEW.Lookout v6.2

Code:
http://www.filefactory.com/file/a03agfa/n/NILOK602_E_part1_rar

http://www.filefactory.com/file/a03ab3b/n/NILOK602_E_part2_rar

http://www.filefactory.com/file/a03a8gc/n/NILOK602_E_part3_rar

http://www.filefactory.com/file/a03b05f/n/NILOK602_E_part4_rar

http://www.filefactory.com/file/a03a9he/n/NILOK602_E_part5_rar

http://www.filefactory.com/file/afgba7e/n/NILOK602_E_part6_rar

NI.LabVIEW.NI.VI.Logger v2.0.1

Code:
http://www.filefactory.com/file/e9f276/n/NILOGG201_part1_rar

http://www.filefactory.com/file/44a530/n/NILOGG201_part2_rar

NI.LabVIEW.v8.6 2CD

Code:
http://www.filefactory.com/file/19ab02/n/NILVW86_part1_rar

http://www.filefactory.com/file/ff0de1/n/NILVW86_part2_rar

http://www.filefactory.com/file/d90990/n/NILVW86_part3_rar

http://www.filefactory.com/file/86cec4/n/NILVW86_part4_rar

http://www.filefactory.com/file/6b4891/n/NILVW86_part5_rar

http://www.filefactory.com/file/43b321/n/NILVW86_part6_rar

http://www.filefactory.com/file/54bd5a/n/NILVW86_part7_rar

NI.LabVIEW.Control Design Toolkit v2.1.2

Code:
http://www.filefactory.com/file/bdc75c/n/NILVWCDT212_part1_rar

http://www.filefactory.com/file/3bb16e/n/NILVWCDT212_part2_rar

http://www.filefactory.com/file/b10ae1/n/NILVWCDT212_part3_rar

http://www.filefactory.com/file/2793f6/n/NILVWCDT212_part4_rar

NI.LabVIEW v.8.6.DSC.Module

Code:
http://www.filefactory.com/file/e47e2e/n/NILVWDSCM86_part1_rar

http://www.filefactory.com/file/219ef6/n/NILVWDSCM86_part2_rar

http://www.filefactory.com/file/6b4da6/n/NILVWDSCM86_part3_rar

http://www.filefactory.com/file/6b4e2f/n/NILVWDSCM86_part4_rar

http://www.filefactory.com/file/6e57e9/n/NILVWDSCM86_part5_rar

NI.LabVIEW Internet Toolkit v.6.02

Code:
http://www.filefactory.com/file/9f6bb5/n/NILBWIT602_rar

NI.LabVIEW Drivers

Code:
http://www.filefactory.com/file/bfc96e/n/NILBWDR_part6_rar

http://www.filefactory.com/file/440f96/n/NILBWDR_part5_rar

http://www.filefactory.com/file/d166e7/n/NILBWDR_part4_rar

http://www.filefactory.com/file/74366b/n/NILBWDR_part3_rar

http://www.filefactory.com/file/952b66/n/NILBWDR_part2_rar

http://www.filefactory.com/file/743990/n/NILBWDR_part1_rar

Introduction to LabVIEW 8 in 3 Hours
LabVIEW Example Collect
LabVIEW Basics 1 Hands on Cours
LabVIEW Basics 2 Hands on Cours

Code:
http://www.filefactory.com/file/05ae99/n/NILBWB1-2HOC_rar

NI.LabVIEW 8.5 PDA Module

Code:
http://www.filefactory.com/file/5c1bee/n/NILBW85PDAM_part4_rar

http://www.filefactory.com/file/2f4102/n/NILBW85PDAM_part3_rar

http://www.filefactory.com/file/5c1bab/n/NILBW85PDAM_part2_rar

http://www.filefactory.com/file/74170d/n/NILBW85PDAM_part1_rar

NI.IMAQ.for IEEE 1394 v.2.01

Code:
http://www.filefactory.com/file/449945/n/NIIMAFIEEE1394-201_part3_rar

http://www.filefactory.com/file/1b8329/n/NIIMAFIEEE1394-201_part2_rar

http://www.filefactory.com/file/173b38/n/NIIMAFIEEE1394-201_part1_rar

NI.Analog Waveform Editor v.1.1

Code:
http://www.filefactory.com/file/e3c7df/n/NIAWE11_part2_rar

http://www.filefactory.com/file/5acef5/n/NIAWE11_part1_rar

DASYLab v.9.02 English

Code:
http://www.filefactory.com/file/e93946/n/DSYL902ENG_part2_rar

http://www.filefactory.com/file/4b4f62/n/DSYL902ENG_part1_rar

DASYLab v.9.02 German

Code:
http://www.filefactory.com/file/951b00/n/DSYL1000GER_rar

Labview DAQmx v.8.9 – 3 CDs
BIN | 619mb/691.5mb/320.7mb | 5% recovery

Optimized integration with LabVIEW, LabWindows/CVI, and Measurement Studio
Automatic code generation for LabVIEW, C, C++, C#, and VB .NET using DAQ Assistant
Test panels for operations verification of all I/O types
Programming and configuration interface for NI data acquisition devices

CD1

Code:
http://www.filefactory.com/file/af39809/n/NIDAQMX89CD1_part1_rar

http://www.filefactory.com/file/af4aaeh/n/NIDAQMX89CD1_part2_rar

http://www.filefactory.com/file/af4ab45/n/NIDAQMX89CD1_part3_rar

http://www.filefactory.com/file/af4ac6g/n/NIDAQMX89CD1_part4_rar

http://www.filefactory.com/file/af4ad7e/n/NIDAQMX89CD1_part5_rar

CD2

Code:
http://www.filefactory.com/file/af4ae94/n/NIDAQMX89CD2_part1_rar

http://www.filefactory.com/file/af4agd6/n/NIDAQMX89CD2_part2_rar

http://www.filefactory.com/file/af4ahea/n/NIDAQMX89CD2_part3_rar

http://www.filefactory.com/file/af4a0b0/n/NIDAQMX89CD2_part4_rar

http://www.filefactory.com/file/af4a098/n/NIDAQMX89CD2_part5_rar

http://www.filefactory.com/file/af4a11f/n/NIDAQMX89CD2_part6_rar

CD3

Code:
http://www.filefactory.com/file/af4a2g9/n/NIDAQMX89CD3_part1_rar

http://www.filefactory.com/file/af4a359/n/NIDAQMX89CD3_part2_rar

http://www.filefactory.com/file/af4a49b/n/NIDAQMX89CD3_part3_rar

LabVIEW Vision Development Module v.8.6.4
BIN | 667.5 mb | 5% recovery

NI Vision Acquisition software with support for thousands of cameras including IEEE 1394
Hundreds of functions for LabVIEW, C/C++, Visual Basic, and .NET
NI Vision Assistant for application prototyping and code generation
High-level machine vision and image processing functions and display tools
Comprehensive suite of software tools to locate, count, measure, identify, and classify objects

Code:
http://www.filefactory.com/file/af3700g/n/NIVISDEVMOD864_part1_rar

http://www.filefactory.com/file/af371h5/n/NIVISDEVMOD864_part2_rar

http://www.filefactory.com/file/af382b9/n/NIVISDEVMOD864_part3_rar

http://www.filefactory.com/file/af3842a/n/NIVISDEVMOD864_part4_rar

http://www.filefactory.com/file/af372h6/n/NIVISDEVMOD864_part5_rar

http://www.filefactory.com/file/af375g3/n/NIVISDEVMOD864_part6_rar

NI LabVIEW Statechart Module v.8.6.1
EXE | 44 mb | 5% recovery

Design LabVIEW applications with statechart diagrams
Define state behavior and transitions using LabVIEW data flow
Debug statechart execution interactively
Generate code for desktop, real-time, FPGA, embedded, and touch panel targets

Code:
http://www.filefactory.com/file/af350e5/n/NILVW861STATMOD_rar

LabVIEW v8.6.1 DSC Module
BIN | 542.6mb | 5% recovery

Graphical development for distributed monitoring and control
User-level security for applications
Networked database for distributed data logging
Real-time and historical trending
Configuration-based alarms and events
Built-in networking for data sharing and integrating third-party devices

Code:
http://www.filefactory.com/file/af3729h/n/NILVW861DSCMOD_part1_rar

http://www.filefactory.com/file/af37342/n/NILVW861DSCMOD_part2_rar

http://www.filefactory.com/file/af37443/n/NILVW861DSCMOD_part3_rar

http://www.filefactory.com/file/af35a88/n/NILVW861DSCMOD_part4_rar

http://www.filefactory.com/file/af35h2c/n/NILVW861DSCMOD_part5_rar

LabVIEW v8.6.1 Real Time Module
BIN | 594.9mb | 5% recovery

Design real-time applications with graphical programming
Download to a dedicated target for reliable, deterministic performance
Deploy as a distributed, stand-alone, or embedded system
Use built-in PID control functions or create your own control algorithms
Purchase individually or as part of the NI Developer Suite

Code:
http://www.filefactory.com/file/af37fd4/n/NILVWRTMOD861_part5_rar

http://www.filefactory.com/file/af38131/n/NILVWRTMOD861_part4_rar

http://www.filefactory.com/file/af37eb2/n/NILVWRTMOD861_part3_rar

http://www.filefactory.com/file/af38003/n/NILVWRTMOD861_part2_rar

http://www.filefactory.com/file/af37dc8/n/NILVWRTMOD861_part1_rar

LabVIEW – 4 Toolkit SETs – New
EXE | 201.1mb | 5% recovery

Connect a LabVIEW user interface with your simulation model running in The MathWorks, Inc. Simulink®. Use LabVIEW to interact with your models developed using the Simulink software. Connect your model to real-time I/O for prototyping, deployment, and HIL simulation. Easily add data acquisition, CAN, and FPGA I/O through a configuration-based dialog.
Apply stimulus to your model using multichannel data profiles. Specify multirate data logging on a per-channel basis to optimize file size, application performance

NI.LabVIEW.Simulation.Interface.Toolkit.5.0.1

NI.LabVIEW.Unit.Test.Framework.Toolkit.1.0
Create test frameworks to functionally validate VIs
Automate regression testing to identify changes that impact behavior
Generate HTML, XML (ATML), or ASCII reports
Identify and locate untested code using the code coverage metric
Configure suites of tests for VI hierarchy or run tests programmatically
Available for Windows and real-time OSs[/center]

NI.LabVIEW8.6.1PID.Control.Toolkit
Autotuning to improve performance of PID control
Fuzzy logic tools for complex systems
Fuzzy logic control designer
Graphical development of control algorithms
P, PI, PD, and PID control algorithms[/center]

NI.LabWindows.CVI.SQL.Toolkit.v2.1
SQL tools for database connectivity
Direct interaction with local and remote databases
High-level functions for common database operations
Connection to the most popular databases through Microsoft ActiveX Data Objects (ADO) technology

Code:
http://www.filefactory.com/file/af37h37/n/NILVWTOOLSET861_part2_rar

http://www.filefactory.com/file/af37gc8/n/NILVWTOOLSET861_part1_rar

NI LabVIEW FPGA v.8.61
BIN | 687,2 mb/767.6 mb | 5% recovery

Erstellung individueller I/O-Hardware ohne VHDL-Programmierung und Entwicklung von Platinen
Implementierung benutzerspezifischer Timing-Funktionen und Trigger-Logik mit einer Auflosung von 25 ns
Grafische Konfiguration von FPGAs auf RIO-Zielgeraten von NI
Simultane und deterministische Ausfuhrung mehrerer Tasks
Definition benutzerspezifischer Steuer- und Regelalgorithmen mit Schleifenfrequenzen bis zu 40 MHz

CD1

Code:
http://www.filefactory.com/file/af365eb/n/NILVWFPGA861CD1_part6_rar

http://www.filefactory.com/file/af364e5/n/NILVWFPGA861CD1_part5_rar

http://www.filefactory.com/file/af363eg/n/NILVWFPGA861CD1_part4_rar

http://www.filefactory.com/file/af36f51/n/NILVWFPGA861CD1_part3_rar

http://www.filefactory.com/file/af362eb/n/NILVWFPGA861CD1_part2_rar

http://www.filefactory.com/file/af36d92/n/NILVWFPGA861CD1_part1_rar

CD2

Code:
http://www.filefactory.com/file/af37cbb/n/NILVWFPGA861CD2_part7_rar

http://www.filefactory.com/file/af37a98/n/NILVWFPGA861CD2_part6_rar

http://www.filefactory.com/file/af36963/n/NILVWFPGA861CD2_part5_rar

http://www.filefactory.com/file/af380ae/n/NILVWFPGA861CD2_part4_rar

http://www.filefactory.com/file/af368hg/n/NILVWFPGA861CD2_part3_rar

http://www.filefactory.com/file/af367e3/n/NILVWFPGA861CD2_part2_rar

http://www.filefactory.com/file/af366cg/n/NILVWFPGA861CD2_part1_rar

LabVIEW v.8.6.1 – 2CDs
BIN | 773.6 MB/29.4 MB | 5% recovery

For more than 20 years, NI LabVIEW graphical programming has revolutionized the development of test, measurement, and control applications. Regardless of experience, engineers and scientists can rapidly and cost-effectively interface with measurement and control hardware, analyze data, share results, and distribute systems.

Code:
http://www.filefactory.com/file/af35132/n/NILVIEW861_part1_rar

http://www.filefactory.com/file/af3536g/n/NILVIEW861_part2_rar

http://www.filefactory.com/file/af35446/n/NILVIEW861_part3_rar

http://www.filefactory.com/file/af36ca9/n/NILVIEW861_part4_rar

http://www.filefactory.com/file/af356gg/n/NILVIEW861_part5_rar

http://www.filefactory.com/file/af35867/n/NILVIEW861_part6_rar

http://www.filefactory.com/file/af36acc/n/NILVIEW861_part7_rar

NI LabVIEW v8.6.1 Control Design and Simulation Module – 2 CDs
BIN | 604.1mb/314.9mb | 5% recovery[/center]

Construct plant and control models using transfer function, state-space, or zero-pole-gain
Analyze system performance with tools such as step response, pole-zero maps, and bode plots
Simulate linear, nonlinear, and discrete systems with a wide option of solvers
Deploy dynamic systems to real-time hardware using built-in functions, LabVIEW Real-Time Module
Replaces the LabVIEW Control Design Toolkit and LabVIEW Simulation Module

Code:
http://www.filefactory.com/file/af34ef1/n/NILVW861CONTDESSIMMOD_part8_rar

http://www.filefactory.com/file/af34dee/n/NILVW861CONTDESSIMMOD_part7_rar

http://www.filefactory.com/file/af34c27/n/NILVW861CONTDESSIMMOD_part6_rar

http://www.filefactory.com/file/af34b57/n/NILVW861CONTDESSIMMOD_part5_rar

http://www.filefactory.com/file/af34a32/n/NILVW861CONTDESSIMMOD_part4_rar

http://www.filefactory.com/file/af337d7/n/NILVW861CONTDESSIMMOD_part3_rar

http://www.filefactory.com/file/af34d8c/n/NILVW861CONTDESSIMMOD_part2_rar

http://www.filefactory.com/file/af339g4/n/NILVW861CONTDESSIMMOD_part1_rar

更多LabVIEW 资料下载:
http://www.ck365.cn/company/20/d … bie=6&gsid=8216

 

Visual Studio© 2010 support
Visual Assist X provides productivity enhancements that help you read, write, navigate and refactor code with blazing speed in all Microsoft IDEs* including Visual Studio 2010.

如果你使用后发现此工具不错的话,请支持或购买正版,不是很贵吧,也就大概$34.30。

VAX全系列下载及补丁包,请点击进行下载,为了防止盗链,必须先注册本站用户,但本人保证绝对可以下载,请大家放心。

下载密码是 : codeex.cn 注意:全部小写,无空格。

 

废话少说,上附件。

如果你使用后发现此工具不错的话,请支持或购买正版,不是很贵吧,也就大概$34.30。

VAX全系列下载及补丁包,请点击进行下载,为了防止盗链,必须先注册本站用户,但本人保证绝对可以下载,请大家放心。

下载密码是 : codeex.cn 注意:全部小写,无空格。

 

Visual Assist X具有强大的编辑特色,提高了生产效率,可以完全集成到您的Microsoft开发环境中,升级了您的IDE,在不改变编程习惯的同时就可以感受到Visual Assist X为您带来的好处。

Visual Assist X是一款非常好的Microsoft Visual Studio 2010、2008、2005、2003、6.0插件,支持C/C++,C#,ASP,Visual Basic,Java和HTML等语言,能自动识别各种关键字、系统函数、成员变量、自动给出输入提示、自动更正大小写错误、自动标示错误等,有助于提高 开发过程的自动化和开发效率。

Visual Assist X去除了默认Intellisense的几个不足之处,采用一系列新的特性对其进行了补充,提高了IDE的可用性。其中,帮助的数量决定于IDE、所用编程语言和您设定的选项。

如同默认Intellisense,Visual Assist X也包括剖析器,运行于您的编辑过程中。该培训器同默认剖析器的不同之处在于,他们不装载预先设置的符号数据库,因此扩大了Intellisense的范 围。Visual Assist X只收集您工程中的头文件和对象信息,这些头文件和对象可以包含在系统、第三方库、MFC或ATL/WTL/STL中。这意味着Intellisence 的活动更加频繁,结果也更加准确。

最新的版本甚至支持WPF、SilverLight等等环境,实乃编程必备工具,如果你还没有用过此工具,那你编写代码时可能还没有享受过轻松、愉悦、舒心、流畅的感觉,来吧,朋友,赶快下载吧。

本版本适合VS2010,2008,2005,2003,VS6.0等各个版本,在安装完成后,2010需要特别的操作:

VS2010的话,需要手动拷贝VA_X.dll到相关目录或补丁放在这些目录下运行:
Windows7:
C:\Users\(your user name)\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Software\Visual Assist X\10.6.1829.0
XP:
C:\Documents and Settings\用户名\Local Settings\Application Data\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Software\Visual Assist X\10.6.1829.0

如果你使用后发现此工具不错的话,请支持或购买正版,不是很贵吧,也就大概$34.30。

VAX全系列下载及补丁包,请点击进行下载,为了防止盗链,必须先注册本站用户,但本人保证绝对可以下载,请大家放心。

下载密码是 : codeex.cn 注意:全部小写,无空格。

 

最近在研究HTTP协议, 突然发现Curl工具,不得不说,人家做的很强大,看看介绍吧:
curl是一个利用URL语法在命令行方式下工作的文件传输工具。
它支持很多协议:FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE 以及 LDAP。   curl同样支持HTTPS认证,HTTP POST方法, HTTP PUT方法, FTP上传, kerberos认证, HTTP上传, 代理服务器, cookies, 用户名/密码认证, 下载文件断点续传, 上载文件断点续传, http代理服务器管道( proxy tunneling), 甚至它还支持IPv6, socks5代理服务器, 通过http代理服务器上传文件到FTP服务器等等,功能十分强大。   Windows操作系统下的网络蚂蚁,网际快车(FlashGet)的功能它都可以做到。准确的说,curl支持文件的上传和下载,所以是一个综合传输工具,但是按照传统,用户习惯称curl为下载工具。
curl是瑞典curl组织开发的,您可以访问: http://curl.haxx.se/ 获取它的源代码和相关说明。

当然我用的最多的是trace,不然怎么看到首发的HTTP头,这个工具超好用,如果您也在研究这方面的东东,千万不要错过。

 
/*
*  Gregorian Solar Calendar and Chinese Lunar Calendar
*  农历; 阳历; 阴历; 节日; 时区; 节气; 干支; 生肖
*  1900-2100 超酷万年历
*  本类作者:webmote 2006-09 参考自互联网流行的 1900-2100 超酷万年历,并修改了一部分BUG
* *  !!!!引用本类,请不要删除此段注释!!!!
*/
#pragma once
class CLunar
{
public:
CLunar(void);
~CLunar(void);
public:
//农历
int     m_lYear;    //公元年4位数字
int     m_lMonth;   //农历月数字
int     m_lDay;     //农历日数字
CString m_cYearName; //年号纪年表示
CString m_cWordDay; //文字表示的日期
CString m_cMonthSB; //月大 小?
BOOL    m_isLeap;  //是否为农历闰月?
//八字
CString m_cYear;   //年柱, 2个中文
CString m_cMonth;  //月柱, 2个中文
CString m_cDay;    //日柱, 2个中文
CString m_cAnimal; //动物属相
//节日
CString m_lunarFestival; //农历节日
CString m_solarFestival; //公历节日
CString m_solarTerms;    //节气
BOOL    m_bStrong;       //强调的节日 放假日
/************************************************************************/
/* 计算农历日期                                                         */
/************************************************************************/
//计算农历
void Lunar(COleDateTime tmMeas);
private:
/************************************************************************/
/* 农[阴]历所使用的全局常量                                                 */
/************************************************************************/
// 日期资料
static const int m_lunarInfo[]; //农历日期
static const CString m_GAN[]; //天干
static const CString m_ZHI[]; //地支
static const CString m_Animals[]; //生肖
static const CString m_nStr1[]; //数字的中文描述
static const CString m_nStr2[]; //数字的中文描述
//农历节日
static const CString m_lFtv[];
/************************************************************************/
/* 公[阳]历所使用的全局常量                                                 */
/************************************************************************/
static const int m_solarMonth[];    //月的天数
static const CString m_solarTerm[];   //节气的中文描述
static const int     m_sTermInfo[]; //节气的日期信息
static const CString m_monthName[]; //月的英文描述
//公历节日 *表示放假日
static const CString m_sFtv[];
//某月的第几个星期几。 5,6,7,8 表示到数第 1,2,3,4 个星期几
static const CString m_wFtv[];
//检测时间
COleDateTime  m_tmMeas; //检测日期
private:
//返回农历 y年的总天数
static int getYearDays(int y);
//返回农历 y年闰月的天数
static int getLeapDays(int y);
//返回农历 y年闰哪个月 1-12 , 没闰返回 0
static int getLeapMonth(int y);
//返回农历 y年m月的总天数
static int getMonthDays(int y,int m);
//某年的第n个节气为几日(从0小寒起算)
static int getSTerm(int y,int n);
//得到农历天的描述
static CString getWordDay(int d);
//得到年号纪年 描述
static CString getYearName(int y);
//得到干支纪年
static CString getGZ(LONGLONG num);
//从节日字符里解析出数字,描述,*
static void parseFtv(CString strInfo,int& nFirst,int& nLast,CString& strDesc,BOOL& bStrong);
//得到当日为本月的第几周
static int getWeekOfMonth(int y,int m,int d);
//计算指定年代与 UTC时间相差的 100ns 数
static LONGLONG getUTC(int nYear,
int nMonth,
int nDay,
int nHour=0,
int nMin=0,
int nSec=0);
void Init();
public:
//得到当月有几周
static int getWeeksOfMonth(int y,int m);
static int getSunMonthDays(int y,int m);
//得到中文月描述
static CString  getWordMonth(int m)
{
ASSERT(m>0 && m<=12); return m_nStr1[m]; }; //得到英文月描述 static CString  getEnWordMonth(int m) { ASSERT(m>0 && m<=12);
return m_monthName[m-1];
};
};
CPP文件
#include "StdAfx.h"
#include ".\lunar.h"
#include
<math.h>
//数组存入阴历1900年到2100年每年中的月天数信息,
//阴历每月只能是29或30天,一年用12(或13)个二进制位表示,对应位为1表30天,否则为29天
const int CLunar::m_lunarInfo[]={ //农历日期信息
0x4bd8,0x4ae0,0xa570,0x54d5,0xd260,0xd950,0x5554,0x56af,0x9ad0,0x55d2,
0x4ae0,0xa5b6,0xa4d0,0xd250,0xd255,0xb54f,0xd6a0,0xada2,0x95b0,0x4977,
0x497f,0xa4b0,0xb4b5,0x6a50,0x6d40,0xab54,0x2b6f,0x9570,0x52f2,0x4970,
0x6566,0xd4a0,0xea50,0x6a95,0x5adf,0x2b60,0x86e3,0x92ef,0xc8d7,0xc95f,
0xd4a0,0xd8a6,0xb55f,0x56a0,0xa5b4,0x25df,0x92d0,0xd2b2,0xa950,0xb557,
0x6ca0,0xb550,0x5355,0x4daf,0xa5b0,0x4573,0x52bf,0xa9a8,0xe950,0x6aa0,
0xaea6,0xab50,0x4b60,0xaae4,0xa570,0x5260,0xf263,0xd950,0x5b57,0x56a0,
0x96d0,0x4dd5,0x4ad0,0xa4d0,0xd4d4,0xd250,0xd558,0xb540,0xb6a0,0x95a6,
0x95bf,0x49b0,0xa974,0xa4b0,0xb27a,0x6a50,0x6d40,0xaf46,0xab60,0x9570,
0x4af5,0x4970,0x64b0,0x74a3,0xea50,0x6b58,0x5ac0,0xab60,0x96d5,0x92e0,
0xc960,0xd954,0xd4a0,0xda50,0x7552,0x56a0,0xabb7,0x25d0,0x92d0,0xcab5,
0xa950,0xb4a0,0xbaa4,0xad50,0x55d9,0x4ba0,0xa5b0,0x5176,0x52bf,0xa930,
0x7954,0x6aa0,0xad50,0x5b52,0x4b60,0xa6e6,0xa4e0,0xd260,0xea65,0xd530,
0x5aa0,0x76a3,0x96d0,0x4afb,0x4ad0,0xa4d0,0xd0b6,0xd25f,0xd520,0xdd45,
0xb5a0,0x56d0,0x55b2,0x49b0,0xa577,0xa4b0,0xaa50,0xb255,0x6d2f,0xada0,
0x4b63,0x937f,0x49f8,0x4970,0x64b0,0x68a6,0xea5f,0x6b20,0xa6c4,0xaaef,
0x92e0,0xd2e3,0xc960,0xd557,0xd4a0,0xda50,0x5d55,0x56a0,0xa6d0,0x55d4,
0x52d0,0xa9b8,0xa950,0xb4a0,0xb6a6,0xad50,0x55a0,0xaba4,0xa5b0,0x52b0,
0xb273,0x6930,0x7337,0x6aa0,0xad50,0x4b55,0x4b6f,0xa570,0x54e4,0xd260,
0xe968,0xd520,0xdaa0,0x6aa6,0x56df,0x4ae0,0xa9d4,0xa4d0,0xd150,0xf252,
0xd520
};
const CString CLunar::m_GAN[]={ //天干
_T("甲"),_T("乙"),_T("丙"),_T("丁"),_T("戊"),_T("己"),_T("庚"),_T("辛"),
_T("壬"),_T("癸")
};
const CString CLunar::m_ZHI[]={ //地支
_T("子"),_T("丑"),_T("寅"),_T("卯"),_T("辰"),_T("巳"),_T("午"),_T("未"),
_T("申"),_T("酉"),_T("戌"),_T("亥")
};
const CString CLunar::m_Animals[]={ //生肖
_T("鼠"),_T("牛"),_T("虎"),_T("兔"),_T("龙"),_T("蛇"),_T("马"),_T("羊"),
_T("猴"),_T("鸡"),_T("狗"),_T("猪")
};
const CString CLunar::m_nStr1[]={ //数字的中文描述
_T("日"),_T("一"),_T("二"),_T("三"),_T("四"),_T("五"),_T("六"),_T("七"),
_T("八"),_T("九"),_T("十"),_T("十一"),_T("十二")
};
const CString CLunar::m_nStr2[]={ //数字的中文描述
_T("初"),_T("十"),_T("廿"),_T("卅"),_T("□")
};
const int CLunar::m_solarMonth[]={    //月的天数
31,28,31,30,31,30,31,31,30,31,30,31
};
const CString CLunar::m_solarTerm[]={   //节气的中文描述
_T("小寒"),_T("大寒"),_T("立春"),_T("雨水"),_T("惊蛰"),_T("春分"),_T("清明"),
_T("谷雨"),_T("立夏"),_T("小满"),_T("芒种"),_T("夏至"),_T("小暑"),_T("大暑"),
_T("立秋"),_T("处暑"),_T("白露"),_T("秋分"),_T("寒露"),_T("霜降"),_T("立冬"),
_T("小雪"),_T("大雪"),_T("冬至")
};
const int CLunar::m_sTermInfo[]={ //节气的日期信息
0,21208,42467,63836,85337,107014,128867,150921,173149,195551,218072,240693,
263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,
504758
};
const CString CLunar::m_monthName[]={ //月的英文描述
_T("JAN"),_T("FEB"),_T("MAR"),_T("APR"),_T("MAY"),_T("JUN"),_T("JUL"),_T("AUG"),
_T("SEP"),_T("OCT"),_T("NOV"),_T("DEC")
};</math.h>
const CString CLunar::m_sFtv[]={ //公历节日 *表示放假日
_T("0101*新年元旦"),
_T("0202 世界湿地日"),
_T("0207 国际声援南非日"),
_T("0210 国际气象节"),
_T("0214 情人节"),
_T("0301 国际海豹日"),
_T("0303 全国爱耳日"),
_T("0308 国际妇女节"),
_T("0312 植树节 孙中山逝世纪念日"),
_T("0314 国际警察日"),
_T("0315 国际消费者权益日"),
_T("0317 中国国医节 国际航海日"),
_T("0321 世界森林日 消除种族歧视国际日"),
_T("0321 世界儿歌日"),
_T("0322 世界水日"),
_T("0323 世界气象日"),
_T("0324 世界防治结核病日"),
_T("0325 全国中小学生安全教育日"),
_T("0330 巴勒斯坦国土日"),
_T("0401 愚人节 全国爱国卫生运动月(四月) 税收宣传月(四月)"),
_T("0407 世界卫生日"),
_T("0422 世界地球日"),
_T("0423 世界图书和版权日"),
_T("0424 亚非新闻工作者日"),
_T("0501 国际劳动节"),
_T("0504 中国五四青年节"),
_T("0505 碘缺乏病防治日"),
_T("0508 世界红十字日"),
_T("0512 国际护士节"),
_T("0515 国际家庭日"),
_T("0517 世界电信日"),
_T("0518 国际博物馆日"),
_T("0520 全国学生营养日"),
_T("0523 国际牛奶日"),
_T("0531 世界无烟日"),
_T("0601 国际儿童节"),
_T("0605 世界环境日"),
_T("0606 全国爱眼日"),
_T("0617 防治荒漠化和干旱日"),
_T("0623 国际奥林匹克日"),
_T("0625 全国土地日"),
_T("0626 国际反毒品日"),
_T("0701 中国共产党建党日 世界建筑日"),
_T("0702 国际体育记者日"),
_T("0707 中国人民抗日战争纪念日"),
_T("0711 世界人口日"),
_T("0730 非洲妇女日"),
_T("0801 中国建军节"),
_T("0808 中国男子节(爸爸节)"),
_T("0815 日本正式宣布无条件投降日"),
_T("0908 国际扫盲日 国际新闻工作者日"),
_T("0910 教师节"),
_T("0914 世界清洁地球日"),
_T("0916 国际臭氧层保护日"),
_T("0918 九·一八事变纪念日"),
_T("0920 国际爱牙日"),
_T("0927 世界旅游日"),
_T("1001*国庆节 世界音乐日 国际老人节"),
_T("1001 国际音乐日"),
_T("1002 国际和平与民主自由斗争日"),
_T("1004 世界动物日"),
_T("1008 全国高血压日"),
_T("1008 世界视觉日"),
_T("1009 世界邮政日 万国邮联日"),
_T("1010 辛亥革命纪念日 世界精神卫生日"),
_T("1013 世界保健日 国际教师节"),
_T("1014 世界标准日"),
_T("1015 国际盲人节(白手杖节)"),
_T("1016 世界粮食日"),
_T("1017 世界消除贫困日"),
_T("1022 世界传统医药日"),
_T("1024 联合国日 世界发展信息日"),
_T("1031 世界勤俭日"),
_T("1107 十月社会主义革命纪念日"),
_T("1108 中国记者日"),
_T("1109 全国消防安全宣传教育日"),
_T("1110 世界青年节"),
_T("1111 光棍节 国际科学与和平周(本日所属的一周)"),
_T("1112 孙中山诞辰纪念日"),
_T("1114 世界糖尿病日"),
_T("1117 国际大学生节 世界学生节"),
_T("1121 世界问候日 世界电视日"),
_T("1129 国际声援巴勒斯坦人民国际日"),
_T("1201 世界艾滋病日"),
_T("1203 世界残疾人日"),
_T("1205 国际经济和社会发展志愿人员日"),
_T("1208 国际儿童电视日"),
_T("1209 世界足球日"),
_T("1210 世界人权日"),
_T("1212 西安事变纪念日"),
_T("1213 南京大屠杀(1937年)纪念日!紧记血泪史!"),
_T("1221 国际篮球日"),
_T("1224 平安夜"),
_T("1225 圣诞节"),
_T("1229 国际生物多样性日")
};
const CString CLunar::m_wFtv[]={//某月的第几个星期几。 6,7,8,9,10 表示到数第 1,2,3,4,5 个星期几
_T("0120 黑人日"),
_T("0160 世界麻风日"), //一月的最后一个星期日(月倒数第一个星期日)
_T("0530 国际母亲节"),
_T("0540 全国助残日"),
_T("0640 父亲节"),
_T("0921 劳动节"),
_T("0942 国际和平日"),
_T("0950 国际聋人节 世界儿童日"),
_T("0960 世界海事日"),
_T("1021 国际住房日"),
_T("1023 国际减轻自然灾害日(减灾日)"),
_T("1154 感恩节")
};
const CString CLunar::m_lFtv[]={//农历节日
_T("0101*春节"),
_T("0115 元宵节"),
_T("0202 龙抬头节"),
_T("0323 妈祖生辰 (天上圣母诞辰)"),
_T("0505 端午节"),
_T("0707 七七中国情人节"),
_T("0815 中秋节"),
_T("0909 重阳节"),
_T("1208 腊八节"),
_T("1224 小年"),
_T("1200*除夕")
};
CLunar::CLunar(void)
{
Init();
}
void CLunar::Init()
{
m_lYear=0;    //公元年4位数字
m_lMonth=0;   //农历月数字
m_lDay=0;     //农历日数字
m_isLeap=FALSE;  //是否为农历闰月?
//八字
m_cYear=_T("");   //年柱, 2个中文
m_cMonth=_T("");  //月柱, 2个中文
m_cDay=_T("");    //日柱, 2个中文
m_cAnimal=_T(""); //动物属相
//节日
m_lunarFestival=_T(""); //农历节日
m_solarFestival=_T(""); //公历节日
m_solarTerms=_T("");    //节气
m_cYearName=_T(""); //年号纪年表示
m_cWordDay=_T(""); //文字表示的日期
m_cMonthSB=_T(""); //月大 小?
}
CLunar::~CLunar(void)
{
}
//返回农历 y年的总天数
int CLunar::getYearDays(int y)
{
int i=0, sum = 348;
for(i=0x8000; i&gt;0x8; i&gt;&gt;=1)
sum += (m_lunarInfo[y-1900] &amp; i)? 1: 0;
return(sum+getLeapDays(y));
}
//返回农历 y年闰月的天数
int CLunar::getLeapDays(int y)
{
if(getLeapMonth(y))
return((m_lunarInfo[y-1899]&amp;0xf)==0xf? 30: 29);
else
return(0);
}
//返回农历 y年闰哪个月 1-12 , 没闰返回 0
int CLunar::getLeapMonth(int y)
{
int lm = m_lunarInfo[y-1900] &amp; 0xf;
return(lm==0xf?0:lm);
}
//返回农历 y年m月的总天数
int CLunar::getMonthDays(int y,int m)
{
return((m_lunarInfo[y-1900] &amp; (0x10000&gt;&gt;m))? 30: 29 );
}
// 传入 offset 返回干支, 0=甲子
// 年柱 1900年立春后为庚子年(60进制36)
//cyclical(SY-1900+36) + '年 【'+Animals[(SY-4)%12]+'年】
CString CLunar::getGZ(LONGLONG num) {
return m_GAN[num%10] + m_ZHI[num%12];
}
//某年的第n个节气为几日(从0小寒起算)
int CLunar::getSTerm(int y,int n)
{
LONGLONG lUtc1=-22085493000000000; //1900,1,6,2,5,0  unit:100ns
LONGLONG lUtc2=-116444736000000000; //1601,1,1,0,0,0  unit:100ns
ULONGLONG lDate=315569259747000;
lDate *= (y-1900);
lDate += UInt32x32To64(600000000,m_sTermInfo[n]);
lDate += lUtc1; //100ns---&gt;ms
//TRACE("ldate= %I64d\n",lDate);
lDate -=lUtc2;
SYSTEMTIME st;
FileTimeToSystemTime((FILETIME*)&amp;lDate,&amp;st);
//COleDateTime tmRet(st);
return st.wDay;
}
void CLunar::Lunar(COleDateTime tmMeas)
{
Init();
m_tmMeas=tmMeas;
int i, leap=0, temp=0;
//COleDateTime tmConst(1900,1,31,m_tmMeas.GetHour(),m_tmMeas.GetMinute(),m_tmMeas.GetSecond());
//COleDateTimeSpan tmSpan=m_tmMeas-tmConst;
//int offset2=static_cast<int>(floor(tmSpan.GetTotalDays()));
int y = m_tmMeas.GetYear();
int m = m_tmMeas.GetMonth();
int d = m_tmMeas.GetDay();
int w = m_tmMeas.GetDayOfWeek();</int>
ASSERT(y&gt;1899 &amp;&amp; y&lt;2101);
m_cYearName=getYearName(y);
int offset=static_cast<int>(getUTC(y,m,d)/864000000000 - getUTC(1900,1,31)/864000000000);
for(i=1900; i&lt;2100 &amp;&amp; offset&gt;0; i++) { temp=getYearDays(i); offset-=temp; }</int>
if(offset&lt;0) { offset+=temp; i--; }
m_lYear = i;
leap = getLeapMonth(i); //闰哪个月
m_isLeap = FALSE;
for(i=1; i&lt;13 &amp;&amp; offset&gt;0; i++) {
//闰月
if(leap&gt;0 &amp;&amp; i==(leap+1) &amp;&amp; (!m_isLeap))
{ --i; m_isLeap = TRUE; temp = getLeapDays(m_lYear); }
else
{ temp = getMonthDays(m_lYear, i); }
//解除闰月
if(m_isLeap==TRUE &amp;&amp; i==(leap+1)) m_isLeap = FALSE;
offset -= temp;
}
if(offset==0 &amp;&amp; leap&gt;0 &amp;&amp; i==leap+1)
{
if(m_isLeap)
{
m_isLeap = FALSE;
}
else
{
m_isLeap = TRUE;
--i;
}
}
if(offset&lt;0){ offset += temp; --i; } m_lMonth = i; m_lDay = offset + 1; m_cWordDay= getWordDay(m_lDay); m_cMonthSB=((m_isLeap?getLeapDays(m_lYear):getMonthDays(m_lYear,m_lMonth))&gt;29)?_T("大"):_T("小");
//////////////////////////////////////////////////////////////////////////
//初始化 八字
//36 年一循环
////////年柱 1900年立春后为庚子年(60进制36)
m_cAnimal=m_Animals[(m_lYear-4)%12];
m_cYear=getGZ(m_lYear-1900+36);
///////月柱 1900年1月小寒以前为 丙子月(60进制12)
//m_cMonth= getGZ((y-1900)*12+m+12);
m_cMonth= getGZ((m_lYear-1900)*12+m_lMonth+1+12);
//当月一日与 1900/1/1 相差天数
//1900/1/1与 1970/1/1 相差25567日, 1900/1/1 日柱为甲戌日(60进制10)
LONGLONG dayCyclical = getUTC(y,m,d)/864000000000+25567+10;
m_cDay= getGZ(dayCyclical);
//////////////////////////////////////////////////////////////////////////
//初始化 节日
//公历节气
int nMSterm=getSTerm(y,(m-1)*2);
if(d==getSTerm(y,(m-1)*2))
m_solarTerms=m_solarTerm[(m-1)*2];
else if(d==getSTerm(y,(m-1)*2+1))
m_solarTerms=m_solarTerm[(m-1)*2+1];
else
m_solarTerms=_T("");
//公历节日
m_solarFestival=_T("");
m_bStrong=FALSE;
int nFtvM=0,nFtvD=0;
CString strDesc;
BOOL bStrong;
for(int i=0;i<sizeof(m_sftv) sizeof(m_sftv[0]);i++)="">
{
parseFtv(m_sFtv[i],nFtvM,nFtvD,strDesc,bStrong);
if(m==nFtvM &amp;&amp; d==nFtvD)
{
if(!m_solarFestival.IsEmpty())
m_solarFestival+=_T(" ");
m_solarFestival+=strDesc;
m_bStrong=bStrong;
}
}</sizeof(m_sftv)>
//月周节日
int nWeekNo=0,nWeekDay=0; //第几周,星期几
for(int i=0;i<sizeof(m_wftv) sizeof(m_wftv[0]);i++)="">
{
parseFtv(m_wFtv[i],nFtvM,nFtvD,strDesc,bStrong);
nWeekNo=nFtvD/10;nWeekDay=nFtvD%10; //0--星期日
if((m==nFtvM) &amp;&amp; (w-1)==nWeekDay )
{
if((nWeekNo&lt;6 &amp;&amp; (getWeekOfMonth(y,m,d)==nWeekNo)) || (nWeekNo&gt;=6 &amp;&amp; ((getWeeksOfMonth(y,m)-getWeekOfMonth(y,m,d)+6)==nWeekNo)))
{
if(!m_solarFestival.IsEmpty())
m_solarFestival+=_T(" ");
m_solarFestival+=strDesc;
m_bStrong=(m_bStrong?TRUE:bStrong);
}
}
}</sizeof(m_wftv)>
//黑色星期五
//COleDateTime tmFirst(y,m,13,1,0,0); //13号是不是星期五
if(d==13 &amp;&amp; w==6)
{
if(!m_solarFestival.IsEmpty())
m_solarFestival+=_T(" ");
m_solarFestival+=_T("黑色星期五");;
}
//复活节只出现在3或4月 复活节日举行此盛会的日子,这个日子是3月21日或其后月满之后的第一个星期天
//if(m==3 || m==4) {
// var estDay = new easter(y);
// if(m == estDay.m)
// ' 复活节 Easter Sunday';
//}
//农历节日
m_lunarFestival=_T("");
for(int i=0;i<sizeof(m_lftv) sizeof(m_lftv[0]);i++)="">
{
parseFtv(m_lFtv[i],nFtvM,nFtvD,strDesc,bStrong);
if((m_lMonth==nFtvM &amp;&amp; m_lDay==nFtvD) ||
(m_lMonth==nFtvM &amp;&amp; nFtvD==0 &amp;&amp;  (m_isLeap?getLeapDays(m_lYear):getMonthDays(m_lYear,m_lMonth))==m_lDay)) //最后一天,用0标示
{
m_lunarFestival=strDesc;
m_bStrong=(m_bStrong?TRUE:bStrong);
}
}</sizeof(m_lftv)>
}
LONGLONG CLunar::getUTC(int nYear,
int nMonth,
int nDay,
int nHour,
int nMin,
int nSec )
{
// 计算指定年代与 UTC时间相差的 100ns 数
COleDateTime tmUtc(1970,1,1,0,0,0);
COleDateTime tmBase(nYear,nMonth,nDay,nHour,nMin,nSec);
SYSTEMTIME stUtc,stBase;
ULARGE_INTEGER  lUtc,lBase;
tmUtc.GetAsSystemTime(stUtc);
tmBase.GetAsSystemTime(stBase);
SystemTimeToFileTime(&amp;stUtc,(LPFILETIME)&amp;lUtc);
SystemTimeToFileTime(&amp;stBase,(LPFILETIME)&amp;lBase);
LONGLONG lValue=static_cast<longlong>(lBase.QuadPart-lUtc.QuadPart);
return lValue;
}</longlong>
void CLunar::parseFtv(CString strInfo,int&amp; nFirst,int&amp; nLast,CString&amp; strDesc,BOOL&amp; bStrong)
{
CString sInfo(strInfo);
sInfo.TrimLeft();
sInfo.TrimRight();
if(sInfo.IsEmpty())
return;
CString sFirstNum,sLastNum;
sFirstNum=sInfo.Left(2);
sLastNum=sInfo.Mid(2,2);
nFirst=_ttoi(sFirstNum.GetBuffer(2));
nLast=_tstoi(sLastNum.GetBuffer(2));
sFirstNum.ReleaseBuffer();
sLastNum.ReleaseBuffer();
CString sStrong=sInfo.Mid(4,1);
if(sStrong==_T("*"))
bStrong=TRUE;
else
bStrong=FALSE;
strDesc=sInfo.Mid(5);
strDesc.TrimLeft();
}
int CLunar::getWeekOfMonth(int y,int m,int d)
{
COleDateTime tm(y,m,1,1,0,0);
COleDateTime tmCurr(y,m,d,1,0,0);
int nSpanDays=d-1;
int nWeekSpan=nSpanDays/7+1;
int nWeekDay=tm.GetDayOfWeek()+nSpanDays%7;
if(nWeekDay&gt;7)
{
nWeekDay-=7;
nWeekSpan++;
}
//TRACE("week=%d\n",nWeekDay);
return nWeekSpan;
}
int CLunar::getWeeksOfMonth(int y,int m)
{
return getWeekOfMonth(y,m,getSunMonthDays(y,m));
}
//得到公历月天
int CLunar::getSunMonthDays(int y,int m)
{
//计算当月天数
int nMonths=0;
nMonths=m_solarMonth[m-1];
if(y % 100 != 0 &amp;&amp; y % 4 == 0)
{
if(m==2)
nMonths += 1;
}
return nMonths;
}
//中文日期
CString  CLunar::getWordDay(int d){
CString s;
switch (d) {
  case 10:
  s = _T("初十");
  break;
  case 20:
  s = _T("二十");
  break;
  case 30:
  s = _T("三十");
  break;
  default :
  s = m_nStr2[d/10];
  s += m_nStr1[d%10];
}
return s;
}
//年号
CString CLunar::getYearName(int y)
{
CString cYear,cTmp;
if(y&gt;1874 &amp;&amp; y&lt;1909)  //光绪 { (y-1874==1)?cTmp=_T("元"):cTmp.Format(_T("%d"),y-1874); cYear.Format(_T("光绪%s年"),cTmp); } else if(y&gt;1908 &amp;&amp; y&lt;1912)  //宣统 { (y-1908==1)?cTmp=_T("元"):cTmp.Format(_T("%d"),y-1908); cYear.Format(_T("宣统%s年"),cTmp); } else if(y&gt;1911 &amp;&amp; y&lt;1950) //民国 { (y-1911==1)?cTmp=_T("元"):cTmp.Format(_T("%d"),y-1911); cYear.Format(_T("民国%s年"),cTmp); } else if(y&gt;1949)           //共和国
{
(y-1949==1)?cTmp=_T("元"):cTmp.Format(_T("%d"),y-1949);
cYear.Format(_T("共和国%s年"),cTmp);
}
else
cYear.Format(_T("公元%d年"),y);
return cYear;
}

下载此类
有了这个类,可以很方便的开发一个农历控件,但一时未能理清需要的功能。
暂时想到的是:
1.提供背景
2.提供各类颜色÷字体更换支持
3.提供鼠标点击 滑动 支持
4.提供弹出提示信息窗口
界面大致如下,

农历控件界面
农历控件界面
© 2012 口袋代码人生 Suffusion theme by Sayontan Sinha

Switch to our mobile site