搞了半天,原来是 AVAST搞的鬼,把原来注册表的键值改成它自己了。其实应该是C:\Windows\System32\vbscript.dllThe answer in the following page helpped me.http://forums.enterprisedb.com/posts/list/3040.pagerun-> regedit and take backup of registry using exportHKEY_LOCAL_MACHINE->SOFTWARE->Classes->CLSID->B54F3741-5B07-11cf- Read More
指针参数是如何传递内存的?如果函数的参数是一个指针,不要指望用该指针去申请动态内存。如下示例中,Test函数的语句GetMemory(str, 100)并没有使str获得期望的内存,str依旧是NULL,为什么?void GetMemory(char *p, int num){ p = (char ... Read More