惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
C
Check Point Blog
博客园 - 聂微东
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
U
Unit 42
WordPress大学
WordPress大学
B
Blog
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
D
DataBreaches.Net
G
Google Developers Blog
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家

博客园 - sunrack

LINQ to SQL语句之Group By/Having和Exists/In/Any/All/Contains ASPxPopupControl does not show up in the right place C++/CLI托管字符串与非托管char数组的转换 程序员从初级到中级10个秘诀 Get JavaScript IntelliSense With DevExpress Client-Side Objects - v2010 vol 1 Grid Editing - Cascading Combo Boxes - sunrack ASPxRadioButtonList 报错解决办法 - sunrack - 博客园 本地连接属性“出现意外错误”的解决办法 - sunrack - 博客园 Bootstrap DotNetFX35SP1 in Visual Studio 2010 Windows Server 2008 共享策略 XtraPivotGrid Custom Summaries sn.exe error "Failed to generate a strong name key pair -- The keyset is not defined" Thread Tools Rate Thread 浅析JavaScript中的showModalDialog的实战应用 javascript showModalDialog模态对话框使用说明 - sunrack - 博客园 entity framework 缓存干扰的数据不一致问题 Failed to load viewstate ? Typical problem, with an obvious solution. ViewState and Dynamic Control ASPxGridView 和 AJAX Extensions ToolBox 不兼容 ASPxCombobox Features
手动注册 DevExpress 8.2.3 控件到 Visual Studio 工具箱
sunrack · 2010-05-27 · via 博客园 - sunrack

部门老大找了一套 DevExpress 8.2.3 的源码,让我测试一下 ASP.NET TreeList 控件,安装后除了代码之外, Sources\DevExpress.DLL 文件夹下已经包含了 Crack 后的 DLL 文件,只是没有 Demo Source,没有帮助文档。

这些都可以忍,可是 Visual Studio 工具箱里没有控件,让我怎么开发啊?哎,看来只有自己 DIY 了!

1、使用 8.1 的 ToolboxCreator.exe

我的机器安装了 7.2 和 8.1 两个版本,我决定使用 8.1 提供的三个文件:ToolboxCreator.exe、ToolboxCreator.exe.config、toolboxcreator.ini。

2、修改 ToolboxCreator.exe 文件

使用 ILDASM 生成 IL 代码,将 IL 代码中的 v8.1 字样修改成 v8.2,再使用 ILASM 重新编译。这是我修改的ToolboxCreator.exe 文件(要使用 7-Zip 解压缩),下载后可以直接使用。

3、命令行注册

修改后的文件不能直接调用,需要指定相关参数。

这回 Reflector 派上了用处,根据 ParseArgs 方法的代码,设置 INI、LOG、PATH 三个参数后 Toolbox 注册成功。需要注意的是,注册时要关闭 Visual Studio。

  • INI 参数用来指定配置文件,就是上面的那个 toolboxcreator.ini;
  • LOG 参数用来输入日志,发生错误时特别有帮助;
  • PATH 参数用来指定 DLL 文件的路径,这是最关键的参数,另外,若路径中包含空格等特殊字符,一定要使用双引号括起来;

下面是我用的命令:ToolboxCreator.exe /INI:toolboxcreator.ini /LOG:gucs.log /PATH:"C:\ProgramFiles\Developer Express .NET v8.2\Sources\DevExpress.DLL"