0

I've a need to analyze an .OCX in order to create a spoof -- the original installation files for this particular component are gone and the company that made it no longer in business. I can identify where it is used in the program that used to use it (and my understanding is that the feature the component made available never worked anyway).

Are there any tools (preferably free) that can do an analysis of .OCX's? The program that uses the component is written in VB6.

NB: As it happened, I mis-stated the problem a bit: I don't have the .OCX, and have to infer its interface from the VB6 project that uses it. And this is 100% Old School VB6. VB6's Object Browser isn't going to help me, and neither is any other OCX analysis tool, sorry. I have to analyze the VB6 project to determine how the OCX is being used, and a tool to do it for me would be what I'm looking for, here.

4

2 回答 2

4

Microsoft 的免费OLE/COM 对象查看器工具 (OleView.exe) 可以帮助您。启动该工具,然后选择“File -> View TypeLib...”,然后浏览到您的 OCX。

您将看到 OCX 中的所有 COM 接口和组件类。

于 2010-07-19T18:24:35.187 回答
0

我假设您使用的是 Visual Studio .NET。你应该可以去查看->对象浏览器。单击省略号 (...) 并编辑自定义组件集。然后转到浏览选项卡。在文件类型下拉列表中选择 .OCX。然后找到你的文件。

VB6 也有一个对象浏览器。

于 2010-07-19T18:25:10.583 回答