代码改变世界

随笔档案-2012年01月

FUSLOGVW 工具来报告错误的具体信息

2012-01-17 11:54 by Scott Guthrie Liu, 443 阅读, 收藏,
摘要: 可以用于发现AutoCAD .Net开发 ObjectArx开发加载的错误用法如下:1. 打开FUSLOGVW.exe,点击“Settings…”按钮,打开方法Start、All Programs、Visual Studio、Visual Studio Tools、Visual Studio Command Prompt,在出来的命令提示出,输入fuslogvm。2. 在弹出的对话框里面选中“Log bind failures to disk”(告诉CLR将加载Assembly失败的一些错误信息保存在磁盘里)。3. 为了能够看到错误信息,勾上“Enable custom log path”复选 阅读全文

一些帮助理解的短视频

2012-01-14 02:39 by Scott Guthrie Liu, 208 阅读, 收藏,
摘要: 十分钟看懂次贷危机十分钟让你认识整个宇宙6分半钟带你看全人类已观测到的宇宙十分钟带你看懂上海 10 minutes and you know about shanghai《ONEChina》国人看中国4分钟让你了解俄罗斯奇怪的日本(字幕版) 阅读全文

[翻译]ObjectArx.Net下Invoke非托管的函数

2012-01-13 12:10 by Scott Guthrie Liu, 639 阅读, 收藏,
摘要: Invoking Unmanaged Methods from AutoCAD's .NET APIInvoking Unmanaged Methods from AutoCAD's .NET APIOne of the greatest strength's of Autodesk's AutoCAD software is the extensive API access provided by the product. For years now, it has been very common to use Lisp or VBA to extend t 阅读全文

AutoCAD 相关的在线多级同步的一些资料收集 beta

2012-01-12 18:00 by Scott Guthrie Liu, 235 阅读, 收藏,
摘要: 先留着,不保证对,有错请提醒,有新的理解再更新AutoCAD WS很火但是又没有公开局域网的方案,有说ADN用户可以但保密www.autocadws.comAutoCAD WS 的使用其他存储空间http://worldcadaccess.typepad.com/blog/2011/12/using-sugarsync-with-autocad-and-autocad-ws.htmlJTB World 上的方案http://www.jtbworld.com/acad_db.htmAutoCAD WS 的理解:移动平台上,可以看同步;我猜测的基本原理,有个类似于SVN 或 Git 的分布版本管理 阅读全文

关机前先留着,下次看

2012-01-09 18:22 by Scott Guthrie Liu, 184 阅读, 收藏,
摘要: 这个哥们http://www.cnblogs.com/yonken/很给力,选了几篇文章留着看非递归遍历指定文件夹下的所有文件及其子文件夹 [11/29/2010 更新]用 AutoHotkey 做一个文件查找工具之四:根据输入实时更新过滤文件列表用 AutoHotkey 做一个文件查找工具之三:获取文件列表到数组中并在虚拟列表上显示用 AutoHotkey 做一个文件查找工具之二:数组的使用用 AutoHotkey 做一个文件查找工具之一:实现虚拟列表老博客http://yonken.blogcn.com/http://www.autohotkey.com/ 阅读全文

Visual Studio 控制台程序无法输出中文

2012-01-09 17:49 by Scott Guthrie Liu, 1790 阅读, 收藏,
摘要: 尝试Listing the Files in a Directory时发现Visual Studio 控制台程序无法输出中文解决方法只需要设置一下区域即可。包含头文件:#include <locale.h>函数:_tsetlocale(LC_ALL, _T("chs"));参考,摘自微软MSDN控制台中的编码程序员在对控制台或“文本模式”应用程序编程时可同时使用 Unicode 和 SBCS 或 DBCS 编码。出于承袭方面的考虑,非 Unicode 控制台 I/O 函数使用控制台代码页(默认为 OEM 代码页)。Windows 中的所有其他非 Unicode 阅读全文

走自己的路,让别人说去

2012-01-04 23:44 by Scott Guthrie Liu, 607 阅读, 收藏,
摘要: 但丁(《神曲·炼狱篇》第五歌)意大利文:看到两个版本Vai suo modo, lasciare che gli altri dicono di siCammina nella tua strada,e lascia le persone a discutere!英文译文:Go your own way;let others talk !or: Follow your own course, and let people talk ! 阅读全文

Accelerated C++ 习题答案

2012-01-04 23:34 by Scott Guthrie Liu, 5055 阅读, 收藏,
摘要: 1. 在google的groups,也就是http://groups.google.com里发现很多人在讨论这本书中个别题的答案.如果你想要某一道题的答案,就在那搜Accelerated C++ exercise 3-2,其中3-2是题号,这是示范2. Paul Parks 国外的在弄http://www.parkscomputing.com/accelerated-cpp-solutions/目前进展到第4章 (最优答案基本1-2年一章)Chapter 0 - Getting StartedChapter 1 - Working With StringsChapter 2 - Looping 阅读全文