摘要: 当卸载不了虚拟机的时候,请试试这个。做一个批处理即可完成卸载!见下面代码: 1 cls 2 @echo off 3 CLS 4 color 0a 5 echo 取消DLL文件的注册... 6 regsvr32 /u /s "%cd%/vmappcfg.dll" 7 regsvr32 /u /s "%cd%/vmappsdk.dll" 8 regsvr32 /u /s "%cd%/vmdbCOM.dll" 9 regsvr32 /u /s "%cd%/vmhwcfg.dll" 10 regsvr32 /u /s &q
阅读全文
摘要: 在VC9增加一个类调试时出现 “forget to add '#include "stdafx.h"' to your source” 时,是在编译时使用了预编译头文件,所以需要设置不用 Precompiled Header.Project-->Property-->Configuraton Properties-->C/C++-->Precompiled Header-->Create/use Precompiled Header-->Not Using Precompiled Headers.
阅读全文
摘要: 一直用BCB 做開發,應上面要求用VC開發程式,剛用VC,有太多的地方不懂.
先從調試著手吧.
1. ALT+F7: C/C++ àCategory àGeneral;Link àGeneral àdebug info 勾上.
阅读全文
摘要: USB 设备、USB 驱动、USB 应用程序1.USB 设备硬件部分a.这个硬件的标识是用的 Vender ID 和 Product ID, 即“厂家标识”和“产品标识”b.这个硬件规定了各个 End Point (端点) 的性质, 读/写 及 类型 (Control/Interrupt/Bulk/Isochronous)c.这个硬件的固件里面有 DeviceIoControl 的实现部分, 规定了这个函数的具体参数和动作2.USB 设备驱动①硬件接口a.需要识别 Vender ID 和 Product IDb.对每个 EndPoint 的每个 I/O 分配一个 Pipe, 并且起一个名字作为
阅读全文
摘要: 接口不包含任何成员变量,也不实现任何接口方法,接口只是简单地描述了子类可以完成的工作.接口永远都不能实例化.必顺先创建一个从接口派生的类, 如下:
class dage:IMove
{
//this code event.
}
dage ququ = new dage();//实现IMove接口的对象.
阅读全文
摘要: 如下面代码,似乎可以通过编译using System;using System.Collections.Generic;using System.Text;namespace ququ{ class Bruce { stringBruce(string b)//成员名称不能与它们的封闭类型相同,改Bruce->BruceDome { string c = "假如生活快乐,要不要结婚?"; return c; } static void Main(string[] args) { string a = ""; Bruce newbruce = new
阅读全文