CR的代码文本

all for learning about the world
  订阅 订阅  :: 管理

12 2013 档案

摘要:来自:http://lukeview.blog.51cto.com/508652/912124win+r,输入sqlplus /nolog,回车SQL> conn /as sysdba已连接;SQL>alter user system identified by "123456"; ---(123456就是重置的密码了)SQL>alter user sys identified by "123456"; 卸载11g后的清理工作全文来自:http://gaojingting.blog.techweb.com.cn/archives/104 阅读全文

posted @ 2013-12-16 12:58 mumuliang 阅读(3718) 评论(0) 推荐(0) 编辑

摘要:必须先Acad::ErrorStatus es; 然后return es。补充:如果把cpp中#include "*.h"和#include"stdafx.h"放在后面的话,可以神奇的ctrl+f7 success。 阅读全文

posted @ 2013-12-10 13:18 mumuliang 阅读(786) 评论(0) 推荐(0) 编辑

摘要:win7 x64,需要open的时候加上KEY_WOW64_64KEY。lRet = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows NT\\CurrentVersion", 0, KEY_ALL_ACCESS | KEY_WOW64_64KEY, &hk); 阅读全文

posted @ 2013-12-09 18:15 mumuliang 阅读(1433) 评论(6) 推荐(0) 编辑

摘要:一、windows7 x64,uac会阻止copyfile到c:/windows。提示拒绝访问。[会引起uac提示的3种情况:Administrator access token checks."All access" access requests in system protected locations.Data writing to protected locations, such as %ProgramFiles%, %Windir%, and HKEY_LOCAL_MACHINE\Software.]需要将程序性的UAC Executioin Level设置为 阅读全文

posted @ 2013-12-09 14:26 mumuliang 阅读(4671) 评论(0) 推荐(0) 编辑

摘要:1.在AutoCAD的安装根目录下,用记事本创建一个acad.rx文件,如下------acad.rx-----ArxDbg.arx--------------------2.将ArxDbg.arx拷贝到AutoCAD的安装根目录。BangBang!成功。方法来自:http://objectarx.net/forum.php?mod=viewthread&tid=874这里还提及了用Support目录下的lisp脚本的方式,但用appload arxdbg.arx的方式未能成功。-------------所以任何时候都要对文档有信心,搜索之前先翻文档。http://docs.autod 阅读全文

posted @ 2013-12-05 18:23 mumuliang 阅读(5283) 评论(2) 推荐(0) 编辑

摘要:AcRx::AppMsgCode一共有19种消息。但由IMPLEMENT_ARX_ENTRYPOINT宏实现的App类,只处理了16种消息。缺: kSuspendMsg = 16, kInitTabGroupMsg = 17, kEndTabGroupMsg = 18Messages that are sent to all applicationsMessages that are sent only if the application has registered an AutoLISP ® function with acedDefun()Messages that are 阅读全文

posted @ 2013-12-05 15:02 mumuliang 阅读(1676) 评论(2) 推荐(0) 编辑

摘要:一个dwg对应一个arx database,也就是一套9个符号表和一个有名词典。一个CAD session中是可以加载多个database的。加载后每个对象都有一个handle和一个objectid用来标记自身。handle是database内唯一的,objectid是当前session内global唯一的。但objectid是跟session有关系的,它只在编辑会话期间有效,during edit session。handle是会写入dwg的。 阅读全文

posted @ 2013-12-05 14:59 mumuliang 阅读(843) 评论(1) 推荐(0) 编辑

摘要:翻译自dev guide《Compile and Debug Mixed-mode projects》默认vs2010是使用ARX2014,开发AutoCAD2014使用的ARX,但是经过配置也可以生成CAD2013和2012使用的ARX。这样做是为了只持有一份源代码项目,保持多个CAD版本的arx的一致,避免人为因素造成的同一版本ARX在CAD不同版本中的不一致。AutoCAD2014使用.Net 4.0,这也切好是vs2010的默认.net版本。因此……为了让vs2010能够build和debug使用不同版本.net框架的AutoCAD2010等,需要修改项目的目标.NET版本(targe 阅读全文

posted @ 2013-12-05 11:39 mumuliang 阅读(2334) 评论(0) 推荐(0) 编辑

摘要:AutoCAD有4种API,.net,lisp,activex和ObjectARX(C++)。它们都是用来给cad写插件什么的,依赖cad运行。另有一个RealDWG SDK,这是用来读写dwg或dxf文件的。可以完全脱离cad环境运行。好比是dwg文件的解码编码器。如果闲的疼的话,完全可以配合一个opengl渲染环境来做成一些无聊的事。另外,还有一个ObjectDBX。在ObjectARX的Dev Guide中,是这么说DBX的:ObjectDBX ™ is the foundation for ObjectARX and for the RealDWG ® SDK.另外,下面这段 阅读全文

posted @ 2013-12-04 14:54 mumuliang 阅读(3207) 评论(0) 推荐(1) 编辑

摘要:readarx.chm《Tips and Techniques》Incremented AutoCAD Registry NumberIdeally, a change of registry number should have no impact on your application's code, because this number should not be hard-coded anywhere. Instead, if your application needs to know the correct registry key at runtime, you sho 阅读全文

posted @ 2013-12-04 14:27 mumuliang 阅读(1042) 评论(0) 推荐(0) 编辑

摘要:刚在草稿箱里发现了这篇充满特色的好日志。发表之。------------------吃货的分割线----------------------------------------Stencil Buffer,就好像是在蛋糕表面撒糖粉时用的糖粉筛。能通过测试的糖粉(片元)就会撒到(绘制到)蛋糕表面(当前颜色缓存,可以不)。 阅读全文

posted @ 2013-12-04 12:43 mumuliang 阅读(288) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示