以文本的方式打开DSW文件. 然后你会看见下面的 Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!###############################################################################Project: "222"=".\222.dsp" - Package Owner=<4>Package=<5> {{{ }}}Package=<4> {{{ }}}###############################################################################Global:Package=<5> {{{ }}}Package=<3> {{{ {A8F8E829-06DA-11D2-8D70-00A0C98B28E2} //这个就是你的ACTIVEX控件,你有选择的删除这个就可以了.不过,你要知道他们的ID.呵呵. }}}###############################################################################
You have to manually remove it from the project. Please take care the following things: 1. Back up the existing files. 2. Remove the control from dialogs. 3. Remove the files of wrapper classes for the ActiveX control from the project. As you know, Visual C++ IDE will generate and add wrapper classes for an ActiveX control. For example, we can add classes from the type libary of a control. 4. If the ActiveX control also listed in the controls list of dialog design view, you should close the project, open the <project>.dsw file in notepad, and delete the reference (UUID) to the ActiveX control. For example: Package=<3> {{{ {F0D2F21C-CCB0-11D0-A316-00AA00688B10} <<<---------REMOVE THIS LINE }}} However, removing the CLSID from the *WORKSPACE* that this pulls the control from *ALL* projects in the workspace. You may need to go back and re-insert the control in the projects where it is still needed.
然后你会看见下面的
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!###############################################################################Project: "222"=".\222.dsp" - Package Owner=<4>Package=<5>
{{{
}}}Package=<4>
{{{
}}}###############################################################################Global:Package=<5>
{{{
}}}Package=<3>
{{{
{A8F8E829-06DA-11D2-8D70-00A0C98B28E2} //这个就是你的ACTIVEX控件,你有选择的删除这个就可以了.不过,你要知道他们的ID.呵呵.
}}}###############################################################################
1. Back up the existing files.
2. Remove the control from dialogs.
3. Remove the files of wrapper classes for the ActiveX control from the project. As you know, Visual C++ IDE will generate and add wrapper classes for an ActiveX control. For example, we can add classes from the type libary of a control.
4. If the ActiveX control also listed in the controls list of dialog design view, you should close the project, open the <project>.dsw file in notepad, and delete the reference (UUID) to the ActiveX control. For example:
Package=<3>
{{{
{F0D2F21C-CCB0-11D0-A316-00AA00688B10} <<<---------REMOVE THIS LINE
}}} However, removing the CLSID from the *WORKSPACE* that this pulls the control from *ALL* projects in the workspace. You may need to go back and re-insert the control in the projects where it is still needed.
Package=<3>
Package=<4>
Package=<5>
都是做什么的?有什么区别?