20090807 c# WebBrowser NewWindow2
嵌套WEBBROWSER随便写了个程序,可是新窗口总是弹出IE。
找找资料,可以控制新窗口在本程序中打开,可是本程序又是全屏无菜单的,不想越做越复杂。先记录下吧。
如果你用的是VS2003,WebBrowser控件应该是作为ActiveX控件导入的,在该WebBrowser控件的NewWindow2事件内,有一个 AxSHDocVw.DWebBrowserEvents2_NewWindow2Event参数,你把该参数的ppDisp属性设置为你程序中的 WebBrowser控件的Application即可,这个WebBrowser可以是在另一个窗体内,示例代码如下:
private void axWebBrowser1_NewWindow2(object sender, AxSHDocVw.DWebBrowserEvents2_NewWindow2Event e)
{
Form1 frmWB;
frmWB = new Form1();
frmWB.axWebBrowser1.RegisterAsBrowser = true;
e.ppDisp = frmWB.axWebBrowser1.Application;
frmWB.Visible = true;
}
VS2005和2008自带的WebBrowser控件没有这个事件,只有一个NewWindow事件,但该事件的参数CancelEventArgs没有ppDisp属性
在AxWebBrowser中是像下面这样做的, 不知道2.0中这个WebBrowser实现, 难道又是个BUG?
private void axWebBrowser1_NewWindow2(object sender, AxSHDocVw.DWebBrowserEvents2_NewWindow2Event e)
{
//
// let the web browser does’t open new window.
//
e.ppDisp = this.axWebBrowser1.Application;
}
结论出来了: 又是一个BUG! (上一个是BackgroundWorker: http://community.csdn.net/Expert/topic/4707/4707944.xml?temp=.2000391)
请看feedback中心:
http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=c5aa05c2-73ce-40af-b6b1-7b5900cf4e9f
http://www.codeproject.com/KB/cpp/ExtendedWebBrowser.aspx
20071017 memory leak c++ new malloc CEGUI
http://www.yippeesoft.com
使用 memleak 检查和调试内存泄漏
http://blog.iyi.cn/hily/archives/2007/09/_memleak.html
memleak 的原理是利用 C 语言的宏调用来替代原有的函数调用,比如我们在代码中调用 malloc(s),实际是调用了:dbg_malloc(s),这个宏定义在 memleak.h 中给出:
#define malloc(s) (FILE_LINE, dbg_malloc(s))
memleak 维护了一个链表,在这个链表中保存着程序中对内存函数调用的记录,这些函数包括:malloc、calloc、realloc、free。每次调用这些函数时,就会更新这个链表。
有了这个表,我们就可以在适当的位置调用 memleak 提供的函数,显示一些重要的信息,包括 malloc、calloc、realloc、free调用的次数,申请及分配的内存数,调用的文件和位置等等,信息非常详细。有了这些功能,我们就很容易定位内存使用的错误源。
http://www.linuxquestions.org/questions/showthread.php?t=281830
"It\’s not an extra new-line, each line should be terminated by an "end of line" tag, and this is \\n under unix.
On MacOS, this used to be \\r, perhaps the reason why gcc is more tolerant on newer releases of this O/S."
– 有人思考过 –
"do you know real reason of that?"
– 马上就有人提出质疑 –
"There\’s probably still some ancient compilers out there (maybe even very old versions of GCC?) that want each line to end with a newline or else they crash. My guess is that GCC is just trying to help you make your code compatible with these dino\’s."
– 接着就有人提出自己的观点 –
"Actually, gcc warns about it because it has to according to the standard. Check out this link for a brief description: http://gcc.gnu.org/ml/gcc/2003-11/msg01568.html
If you have a compiler that doesn\’t warn you about the lack of a newline character then that compiler doesn\’t meet the standards. Burn the disc it came on and get a real compiler."
– 很快,依靠大家的力量,借助网络,答案浮出水面 –
"The C language standard says
A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character.
Since this is a "shall" clause, we must emit a diagnostic message for a violation of this rule.
This is in section 2.1.1.2 of the ANSI C 1989 standard. Section 5.1.1.2 of the ISO C 1999 standard (and probably also the ISO C 1990 standard)."
CEGUI(Crazy Eddie’s GUI http://www.cegui.org.uk)是一个自由免费的GUI库,基于LGPL协议,使用C++实现,完全面向对象设计。CEGUI开发者的目的是希望能够让游戏开发人员从繁琐的GUI实现细节中抽身出来,以便有更多的开发时间可以放在游戏性上。
CEGUI的渲染需要3D图形API的支持,如OpenGL或Direct3D。另外,使用更高级的图形库也是可以的,像是OGRE、Irrlicht和RenderWare,关键需求可以简化为二点:
1. 纹理(Texture)的支持
2. 直接写屏(RHW的顶点格式、正交投影、或者使用shader实现)
CEGUI(Crazy Eddie’s GUI http://www.cegui.org.uk )是一套开源的使用C++开发的游戏界面库, 基于LGPL协议. 它能减少游戏开发中繁琐而大量的UI开发工作量. 现有很多游戏开发都会利用或者是借鉴它.
在学习了解CEGUI之前, 先把CEGUI源代码的环境搭建起来. CEGUI使用了几套开源库Freetype(http://sourceforge.net/projects/freetype), Glut(http://www.opengl.org/resources/libraries/glut), Xerces(http://xml.apache.org). 更全的信息资料大家可以去相应的网站上面了解. 下载相关库或者源代码后, 先在IDE中设置好, 那么就可以先编译CEGUI.
注意在使用freetype库时, CEGUIBASE工程链接会报错,提示为CEGUIBase error LNK2001: 无法解析的外部符号 _otv_module_class. 解决方法是在Freetype工程中打开ftmodule.h文件, 把FT_USE_MODULE(otv_module_class)这句代码注释掉,然后重新编译既可.
使用 cegui 来制作界面 , 不论在何种平台下 , 有基本的三大步骤要做 :
1, 创建一个 CEGUI::Render 实例
2, 创建 CEGUI::System 对象
3, 调用各种方法来渲染用户界面
第一步 , 在我使用的 ogre 环境下使用以下代码来创建 CEGUI::Render 实例
Ogre3D
CEGUI::OgreCEGUIRenderer* myRenderer =
new CEGUI::OgreCEGUIRenderer(myRenderWindow);
第二步相当简单 , 可使用
new CEGUI::System(myRenderer);
第三步,基本上来讲,大部分平台下,如 direct3D, OpenGL, 我们在渲染循环的尾部调用
CEGUI::System::renderGUI 来开始界面的渲染。如果我们使用 ogre3d 引擎,这一步不需要
我们显示的执行。因为 ogre 引擎已经考虑了。
CEGUI ,全称 "Crazy Eddie\’s GUI System" ,是一个专门的用户界面库,开源并且免费,它支持 DirectX8 、 DirectX9 ,除了可以作为 OGRE 的界面外挂,还支持另一个免费开源的 3D 引擎 Irrlicht 。由于它功能的相对强大和灵活, OGRE 的开发团队一直在推荐 OGRE 用户使用这个 CEGUI 来开发用户界面,逐渐抛弃 OGRE 本身过于简陋的 GUI 插件。尤其是在行将到来的新版本 OGRE 1.5 的声明中特别强调了这一点,尽管这个版本仍然暂时保留内置 GUI 系统,但 OGRE 1.5 将会是最后一个保留内置 GUI 的版本。 OGRE 看来似乎将专注于向一个纯粹的、然而富于协作和扩展性的图形引擎发展,这应该得益于它的庞大的社群支持,使得很多事情可以通过外挂一些更专业的引擎来实现,物理引擎使用 ODE 、 Tokamak 、 NovodeX ,网络引擎使用 openTNL 、 RakNet 、 eNet ,声音引擎使用 FMod 、 OpenAL ,以及这个界面引擎,使用 CEGUI 。外挂现成模块的好处就是可以专注于一个方面,开发一个五脏俱全的游戏引擎并不是个容易的事情,市面上最负盛名的几个商业引擎的开发, Unreal 、Renderware 、 Lithtech ,往往要耗费数百人年,并且在这些商业引擎中同样会使用外挂的商业库,在这个年代,没有人可以从头创建一切。
debugging memory leaks on uClinux專案程式已經膨脹到超過 50 個 .c, 外加 link 一份超大 C++ binary object, 這麼大的程式要在uclinux 上debug memory leak還真麻煩……
<br />
<br />好啦, 我承認當初不應該輕易打破 portability原則, 搞得現在沒辦法在 x86 debug.
<br />
<br />uclibc 好像有提供一些支援, 看到了這個
<br /><em>>make menuconfig</em>
<br /><strong><em>uClibc development/debugging options</em></strong>
<br /><strong><em> Build malloc with debugging support </em></strong>
<br /><strong><em></em></strong>
<br />希望這招有效, 明天來驗證
<br />
20071017 memory leak c++ new malloc
http://www.yippeesoft.com
Linux下的一个很好的内存泄漏检测工具 CSDN Blog推出文章指数概念,文章指数是对Blog文章综合评分后推算出的,综合评分项分别是该文章的点击量,回复次数,被网摘收录数量,文章长度和文章类型;满分100,每月更新一次。
最近做项目时用到的--valgrind.
能检测
1)使用未初始化的内存
2)读/写已经被释放的内存
3)读/写内存越界
4)读/写不恰当的内存栈空间
5)内存泄漏
6)使用malloc/new/new[]和free/delete/delete[]不匹配。
最简单的使用: valgrind –leak=check=full 后跟执行文件。
如何在linux下检测内存泄漏
http://www-128.ibm.com/developerworks/cn/linux/l-mleak/
http://blog.linuxpk.com/3973/viewspace-781
一个跨平台的 C++ 内存泄漏检测器
malloc是动态分配内存,只负责分配内存.并未调用任何函数。因为string类比较复杂,在输入字符串中还存在内存需求,结构中还含有指针。malloc并不管这些指针指向何方。
new还要调用对象的构造函数,对对象有一个初步的初始化。其指针所指地址已准备好了。
——————————————————–
New
会调用构造函数
delete
会调用析构函数
malloc free只能申请和释放普通类型
——————————————————–
malloc给你一块完整的内存,然后什么事情都不作,只是给你内存,使用于C,然后具体使用(包括INIT等都是由其他代码完成的)
而NEW是C++的东西,适合产生类啊,数组等差别很大
假设用两种方法给一个包含10个string对象的数组分配空间,一个用malloc,另一个用new:
string *stringArray1 =
static_cast<string*>(malloc(10 * sizeof(string)));
string *stringArray2 = new string[10];
其结果是,stringArray1确实指向的是可以容纳10个string对象的足够空间,但内存里并没有创建这些对象。而且,如果你不从这种晦涩的语法怪圈(详见条款M4和M8的描述)里跳出来的话,你没有办法来初始化数组里的对象。换句话说,stringArray1其实一点用也没有。相反, stringArray2指向的是一个包含10个完全构造好的string对象的数组,每个对象可以在任何读取string的操作里安全使用。
假设你想了个怪招对stringArray1数组里的对象进行了初始化,那么在你后面的程序里你一定会这么做:
free(stringArray1);
delete [] stringArray2; // 参见条款5:这里为什么要加上个"[]"
调用free将会释放stringArray1指向的内存,但内存里的string对象不会调用析构函数。如果string对象象一般情况那样,自己已经分配了内存,那这些内存将会全部丢失。相反,当对stringArray2调用delete时,数组里的每个对象都会在内存释放前调用析构函数。
既然new和delete可以这么有效地与构造函数和析构函数交互,选用它们是显然的。
把new和delete与malloc和free混在一起用也是个坏想法。对一个用new获取来的指针调用free,或者对一个用malloc获取来的指针调用delete,其后果是不可预测的。大家都知道“不可预测”的意思:它可能在开发阶段工作良好,在测试阶段工作良好,但也可能会最后在你最重要的客户的脸上爆炸。
new/delete和malloc/free的不兼容性常常会导致一些严重的复杂性问题。举个例子,<string.h>里通常有个strdup函数,它得到一个char*字符串然后返回其拷贝:
char * strdup(const char *ps); // 返回ps所指的拷贝
在有些地方,C和C++用的是同一个strdup版本,所以函数内部是用malloc分配内存。这样的话,一些不知情的C++程序员会在调用strdup后忽视了必须对strdup返回的指针进行free操作。为了防止这一情况,有些地方会专门为C++重写strdup,并在函数内部调用了new,这就要求其调用者记得最后用delete。你可以想象,这会导致多么严重的移植性问题,因为代码中strdup以不同的形式在不同的地方之间颠来倒去。
C++程序员和C程序员一样对代码重用十分感兴趣。大家都知道,有大量基于malloc和free写成的代码构成的C库都非常值得重用。在利用这些库时,最好是你不用负责去free掉由库自己malloc的内存,并且/或者,你不用去malloc库自己会free掉的内存,这样就太好了。其实,在C++程序里使用malloc和free没有错,只要保证用malloc得到的指针用free,或者用new得到的指针最后用delete来操作就可以了。千万别马虎地把new和free或malloc和delete混起来用,那只会自找麻烦。
既然malloc和free对构造函数和析构函数一无所知,把malloc/free和new/delete混起来用又象嘈杂拥挤的晚会那样难以控制,那么,你最好就什么时候都一心一意地使用new和delete吧。
malloc只是分配空间.
new除了分配空间,还负责初始化.
free只负责释放空间.
delete除了释放空间,还负责析构.
需要包含头文件:
#i nclude <alloc.h>
或
#i nclude <stdlib.h>
函数声明(函数原型):
void *malloc(int size);
说明:malloc 向系统申请分配指定size个字节的内存空间。返回类型是 void* 类型。void* 表示未确定类型的指针。C,C++规定,void* 类型可以强制转换为任何其它类型的指针。
从函数声明上可以看出。malloc 和 new 至少有两个不同: new 返回指定类型的指针,并且可以自动计算所需要大小。比如:
int *p;
p = new int; //返回类型为int* 类型(整数型指针),分配大小为 sizeof(int);
或:
int* parr;
parr = new int [100]; //返回类型为 int* 类型(整数型指针),分配大小为 sizeof(int) * 100;
而 malloc 则必须由我们计算要字节数,并且在返回后强行转换为实际类型的指针。
int* p;
p = (int *) malloc (sizeof(int));
第一、malloc 函数返回的是 void * 类型,如果你写成:p = malloc (sizeof(int)); 则程序无法通过编译,报错:“不能将 void* 赋值给 int * 类型变量”。所以必须通过 (int *) 来将强制转换。
第二、函数的实参为 sizeof(int) ,用于指明一个整型数据需要的大小。如果你写成:
int* p = (int *) malloc (1);
代码也能通过编译,但事实上只分配了1个字节大小的内存空间,当你往里头存入一个整数,就会有3个字节无家可归,而直接“住进邻居家”!造成的结果是后面的内存中原有数据内容全部被清空。
malloc 也可以达到 new [] 的效果,申请出一段连续的内存,方法无非是指定你所需要内存大小。
比如想分配100个int类型的空间:
int* p = (int *) malloc ( sizeof(int) * 100 ); //分配可以放得下100个整数的内存空间。
另外有一点不能直接看出的区别是,malloc 只管分配内存,并不能对所得的内存进行初始化,所以得到的一片新内存中,其值将是随机的。
除了分配及最后释放的方法不一样以外,通过malloc或new得到指针,在其它操作上保持一致。
标签:c++, leak, malloc, mem, memory, new20070208 精通 chinarank donews
http://www.yippeesoft.com
信佑铁克计算机科技有限公司成立于2004年,是一家以提供网吧策划、技术支持、咨询等专业服务的公司。公司定位于网吧服务提供商。致力于为网吧提供管理策划、技术支持、软件支持等全方位的、立体的服务。
职位描述:
1.按需求完成代码的编写
2.按需求完项目的相关文档
3.程序调试
4.为对应的需求,提出软件的解决方案
职位要求: 1. 计算机或电子、通讯等相关专业毕业;
2. 精通C、C++(VC)或者CBC编程(一年以上);
3. 熟悉数据库的分析设计及管理( Oracle、SQL Server );
4. 熟悉网络通信,有基于TCP/IP协议的编程经验优先;
5. 熟悉soap协议优先
6. 较好的沟通能力及合作精神,较强的责任感和进取精神;
7. 有系统底层开发经验优先
OS, Web Server and Hosting History for www.yippeesoft.com
http://www.yippeesoft.com was running Apache on Linux when last queried at 22-Dec-2006 15:48:27 GMT – refresh now Site Report
Try out the Netcraft Toolbar! FAQ
OS Server Last changed IP address Netblock Owner
Linux Apache/1.3.37 (Unix) PHP/4.4.4 22-Dec-2006
中国网站排名 China Websites Ranking
更新很快啊,今天上午我看到还是什么 机械 锻造 什么的,晚上就不一样了,
首页 > 计算机 > 编程 > 个人网站
YippeeSoft开心软件
今日流量排名:47840
——————————————————————————–
个人编程、思考。
网站状态
YippeeSoft开心软件的当前流量排名:47840
平均显示时间:2.4 秒
链接到该网站的网站数:505
收录时间:2006年 09月 20日
今日 一周平均 三月平均
排名 47840 292189 705591
流量(人/百万人) 8 5 3
点击率(页/人) 1.6 1.3 1.1
网站状态
www.arm8.com的当前流量排名:786184
平均显示时间:10.0 秒
链接到该网站的网站数:22
收录时间:2006年 10月 02日
今日 一周平均 三月平均
排名 786184 1653207 2529490
流量(人/百万人) 1 1 1
点击率(页/人) 1.0 1.0 1.1
techcom
donews一年之中遭遇的三次滑铁卢
第一次不用说了,100%和千橡互动换股。以前it业内人士上donews是看刘站长面子,donews既然成为猫扑网的兄弟,那么就不必再给刘站长面子。这一次严格来说不算什么滑铁卢,谁都想赌一把,刘站长也不例外,赌赢了可以有更大的出路,赌输了,大不了重新再来。问题是,如果重新来过,世界已经不是原来那个世界了。
第二次,扑朔迷离的“威协”公关公司的后台问题以及和qq之间的pk。和qq的pk没有什么错误,但刘犯了一个不可原谅的错误:把和马董的来往短信公开。这也许可以澄清什么,但这样一来,业界人士谁能再次给刘发短信(朋友除外)。而刘以“断子绝孙”发誓,则更让诸多业内人士感到惊诧:在江湖上混,尽量避免别把家人扯进去,况且是后代。
第三次,在donews所有blogger的博客最上面突然加了惠普打印机的广告。加广告之前没有任何公告,最后广告撤下,donews方面也没有官方的解释。这一举措被极端者评为“在头上顶着大粪”,当即有很多blogger表示离去,更多的人已经心灰意冷。
差不多和我的想法一样
我以前基本上都每天转悠一下
现在内容越来越少~
都是PMP文章
标签:china, donews, new20070106 New Malware.j
8.5 已经开了启发扫描
可是有个病毒就是不认识
上传上去
人家说
Current Scan Engine Version:5100.0194
Current DAT Version:4911.0000
Thank you for your submission.
Analysis ID: 2859265
File Name Findings Detection
Type Extra
——————–&line;——————————&line;————————
—-&line;————&line;—–
l_hy50.pif &line;heuristic detection &line;new malware.w
&line;Virus &line;no
heuristic detection [l_hy50.pif]
heuristic detection 应该就是 启发式 啊
New Malware.jType Trojan SubType Heuristic Discovery Date 06/02/2005 Length Varies Minimum DAT 4505 (06/02/2005) Updated DAT 4912 (12/06/2006) Minimum Engine 4.3.20 Description Added 06/02/2005 Description Modified 06/23/2005 11:20 PM (PT)
This is a trojan detection. Unlike viruses, trojans do not self-replicate. They are spread manually, often under the premise that they are beneficial or wanted. The most common installation methods involve system or security exploitation, and unsuspecting users manually executing unknown programs. Distribution channels include email, malicious or hacked web pages, Internet Relay Chat (IRC), peer-to-peer networks, etc.
Characteristics
This is a heuristic detection which may detect either viruses or trojans. If a sample is detected as New Malware.j then it is likely that the system is currently infected and has virus or trojan processes running.
The New Malware.j detection intentionally does not contain repair, as files detected under this name could do any number of this. Samples detected as "New Malware.j" should be submitted to AVERT so that they can be properly classified and have proper repair added to the DAT files.
Symptoms
Symptoms of malware vary greatly. Some common symptoms which may be observed in the case of New Malware.j detections are as follows.
Unknown processes are running. Unknown ports are open. Reduced system performanceThis is a heuristic detection. The specific symptoms may not be known as it is likely that the sample detected is a new virus or trojan. Please submit the sample to AVERT for analysis.
Method of Infection
This is a heuristic detection. The specific methods of infection may not be known as it is likely that the sample detected is a new virus or trojan. Please submit the sample to AVERT for analysis.
Removal
This detection is an indication that the file is identified heuristically and it is requested that a sample of the file is sent to McAfee AVERT for analysis.
Refer to the online instructions for sending samples.
Variants
Variants
N/A
Analysis ID File Findings Detection Type Date Extra
2859246 l_hy50.pif heuristic detection new malware.w Virus 12/06/06 No
2859224 l_hy50.exe heuristic detection new malware.w Virus 12/06/06 No
2859208 l_hy50..exe heuristic detection new malware.w Virus 12/06/06 No
2859058 l_hy50..pif heuristic detection new malware.j Trojan 12/06/06 No
AVERT Labs – Beaverton
Current Scan Engine Version:5100.0194
Current DAT Version:4911.0000
Thank you for your submission.
Analysis ID: 2859265
File Name Findings Detection
Type Extra
——————–&line;——————————&line;————————
—-&line;————&line;—–
l_hy50.pif &line;heuristic detection &line;new malware.w
&line;Virus &line;no
heuristic detection [l_hy50.pif]
The file received may contain a potential virus or trojan threat
identified
heuristically. This potential threat was identified with our most powerful
set of
heuristic DAT drivers. Heuristic drivers can cause false-positive
identifications, as
such, this issue is being escalated to Avert Labs for a thorough review.
In the meantime, it is recommended that you update your DAT and engine files
and scan
your computer again. You will be contacted through e-mail with the results
of our
analysis.
To find detailed information about viruses and other malware, please review
AVERT\’s
Virus Information Library:
You need to register as a new user. We are currently not experiencing any
issues with accessing WebImmune. If you continue to have problem accessing
WebImmune, you may need to contact your ISP.
Virus Research accepts file-samples for analysis and possible inclusion into
AV signature DAT sets. We are also prepared to answer general virus
questions.
All product-related questions and comments can be addressed through
technical support and customer service, including:
* Product installation and update questions
* Product usage questions
* Specific operating system/version questions
* Assistance with detection and cleaning or removal of viruses or trojans
Use the following link to reach online technical support for McAfee
products.
0426 New Malware.n mcafee
2006-04-26 09:11:47 未采取操作 \\\\192.168.3.202\\c\\Documents and Settings\\new\\Local Settings\\Temporary Internet Files\\Content.IE5\\SDO56JWX\\mmld[1].exe\\SPYM.EXE New Malware.n(特洛伊)
看到同事中了这个病毒,而NORTON好像干不掉,找找资料
lsass.exe被new malware.j木马感染,无法修复
不小心收到朋友发来的病毒 现在无法清除
该木马成功的将norton antivirus 2005关闭,不能执行手动升级病毒库,不能扫描,norton一扫描就被它给关了。
卸载了norton,装了Mcafee,查出是木马感染了lsass.exe,无法清除。怎么样能干掉它
网上找的一篇别人的删除方法:
重启系统,按F8进入安全模式,删除病毒文件,此时要特别留心不要放过任何一个病毒文件,在自己的C:、D、E、盘分别发现了web.exe,删之。在windows目录下发现一文件,图标也是文件夹图标,但查看属性为exe文件,把他也删了,又继续查找其他病毒文件,文件名记不清了,这个文件因该有assistse.exe删之 ,删完后运行regedit,把HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced
"HideFileExt"=dword:00000001改为:"HideFileExt"=dword:00000000
定位到: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run 删除无用启动项,:"Net"="C:\\\\windows\\\\system32\\\\SVCH0ST.EXE" 我的系统里也没有,所以应该找别的非法启动项
定位到: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows
删除:"Load"="C:\\\\windows\\\\assistse.exe"
因病毒文件名多变,所以一定要仔细查找。全部删完后继续查毒。
具体步骤就这样。
当然如果发现不能确定的是不是病毒的文件,可先在网上查一下,查完后再按上面步骤删除就可
如果你的杀毒软件找不到病毒,请升级病毒库,或换用其他杀毒软件查杀,也可用瑞星在线查毒查,查出后手工将病毒文件删除。
关于隔离,只要被隔离起来就不怕,因为隔离就是病毒文件仍然在,但已经没有毒了。就怕隔离也不成,那就得*手工删除,找到路径和注册表位置。
或者如果有如下情况
1/结束病毒进程SVCH0ST.EXE(或其它进程名,如:windows.exe)。注意:SVCH0ST.EXE中的"0"是数字;而不是英文字母。
2/删除病毒文件
3/清理注册表:
定位到: HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced
"HideFileExt"=dword:00000001改为:"HideFileExt"=dword:00000000
定位到: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run
删除:"Net"="C:\\\\windows\\\\system32\\\\SVCH0ST.EXE"
定位到: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows
删除:"Load"="C:\\\\windows\\\\assistse.exe"
你要注意c:\\window\\目录下是否还有病毒文件,建议打开文件后缀名,再下一个杀毒软件
This is a trojan detection. Unlike viruses, trojans do not self-replicate. They are spread manually, often under the premise that they are beneficial or wanted. The most common installation methods involve system or security exploitation, and unsuspecting users manually executing unknown programs. Distribution channels include email, malicious or hacked web pages, Internet Relay Chat (IRC), peer-to-peer networks, etc.
CharacteristicsThis is a heuristic detection that detects a wide variety of malware. The detection was created to proactively protect users from new and unknown threats.
Specific features and symptoms of the detected sample will vary. Files triggering this detection should be sent to AVERT for analysis.
Symptoms
Symptoms of malware vary greatly. Some common symptoms which may be observed in the case of New Malware.i detections are as follows.
Unknown processes are running Unknown ports are open Reduced system performance This is a heuristic detection. The specific symptoms may not be known as it is likely that the sample detected is a new virus or trojan. Please submit the sample to AVERT for analysis.
Method of Infection
This is a heuristic detection. The specific methods of infection may not be known as it is likely that the sample detected is a new virus or trojan. Please submit the sample to AVERT for analysis.
Removal
This detection is an indication that the file is identified heuristically and it is requested that a sample of the file is sent to McAfee AVERT for analysis.
Refer to the online instructions for sending samples.
0321 error C2061 error C2091 THIS_FILE NEW
加入同事的代码,结果:
o:\\微软\\vs6\\vc98\\include\\new(35) : error C2061: syntax error : identifier \’THIS_FILE\’
o:\\微软\\vs6\\vc98\\include\\new(35) : error C2091: function returns function
o:\\微软\\vs6\\vc98\\include\\new(35) : error C2809: \’operator new\’ has no formal parameters
o:\\微软\\vs6\\vc98\\include\\new(36) : error C2061: syntax error : identifier \’THIS_FILE\’
o:\\微软\\vs6\\vc98\\include\\new(37) : error C2091: function returns function
o:\\微软\\vs6\\vc98\\include\\new(37) : error C2556: \’void *(__cdecl *__cdecl operator new(void))(unsigned int,const struct std::nothrow_t &)\’ : overloaded function differs only by return type from \’void *(__cdecl *__cdecl operator new(void))(unsigned in
t)\’
o:\\微软\\vs6\\vc98\\include\\new(35) : see declaration of \’new\’
o:\\微软\\vs6\\vc98\\include\\new(41) : error C2061: syntax error : identifier \’THIS_FILE\’
o:\\微软\\vs6\\vc98\\include\\new(42) : error C2091: function returns function
o:\\微软\\vs6\\vc98\\include\\new(42) : error C2556: \’void *(__cdecl *__cdecl operator new(void))(unsigned int,void *)\’ : overloaded function differs only by return type from \’void *(__cdecl *__cdecl operator new(void))(unsigned int)\’
o:\\微软\\vs6\\vc98\\include\\new(35) : see declaration of \’new\’
o:\\微软\\vs6\\vc98\\include\\new(42) : error C2809: \’operator new\’ has no formal parameters
o:\\微软\\vs6\\vc98\\include\\new(42) : error C2065: \’_P\’ : undeclared identifier
o:\\微软\\vs6\\vc98\\include\\memory(16) : error C2061: syntax error : identifier \’THIS_FILE\’
o:\\微软\\vs6\\vc98\\include\\memory(17) : error C2091: function returns function
o:\\微软\\vs6\\vc98\\include\\memory(17) : error C2784: \’void *(__cdecl *__cdecl operator new(void))(unsigned int,class std::allocator<`template-parameter257\’> &)\’ : could not deduce template argument for \’void *(__cdecl *)(unsigned int,class std::alloca
tor<_Ty> &)\’ from \’void *(__cdecl *)(unsigned int)\’
o:\\微软\\vs6\\vc98\\include\\memory(17) : error C2785: \’void *(__cdecl *__cdecl operator new(void))(unsigned int,class std::allocator<`template-parameter257\’> &)\’ and \’void *(__cdecl *__cdecl operator new(void))(unsigned int)\’ have different return type
s
o:\\微软\\vs6\\vc98\\include\\memory(16) : see declaration of \’new\’
o:\\微软\\vs6\\vc98\\include\\memory(17) : error C2809: \’operator new\’ has no formal parameters
o:\\微软\\vs6\\vc98\\include\\memory(20) : error C2954: template definitions cannot nest
Generating Code…
Error executing cl.exe.
Creating browse info file…
exe – 17 error(s), 0 warning(s)
非常恐怖~~~~~~~~
看看资料:
宏与头文件错误的冲突问题
程序如下:
// SisSocket.cpp : implementation file
//
#include "stdafx.h"
#include "DataServer.h"
#include "SisSocket.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#include "DataServerDlg.h"
经指点,将
// SisSocket.cpp : implementation file
//
#include "stdafx.h"
#include "DataServer.h"
#include "SisSocket.h"
#include "DataServerDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//…其他代码
问题解决,出在new重定义上
注:THIS_FILE为static char[],在debug时内容为本文件路径,供输出错误信息使用。
就是把
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
放到所有 INCLUDE 的后面
标签:err, error, file, new, ror0128 Happy New Dog Year
《汉声》的《大过狗年》。
很早就听说有本《汉声》杂志专门介绍中国的民间传统文化,办得非常出色。近日,编者有幸拜访了《汉声》杂志的创办人黄永松先生。黄先生来自台湾,与《汉声》杂志一道,研究传播中国传统文化已经有36年了,这本杂志也已出版超过200期。在急速的现代化潮流冲击下,很多潜藏在偏僻村野,珍贵得宛如“活化石”的传统民俗文化正面临飞快消失得无影无踪的境地。《汉声》所从事的工作非常有意义。
狗是人类的朋友,由狼驯化而来。史前时代即为人们饲养,在中华文明发展的长河中,狗曾扮演一定的角色。我国古代狗是“六畜”之一。在十二生肖中狗和地支“戌”相配列为第十一位,故称为“戌狗”,但它与人类的密切关系却列十二种动物之首。从我们祖先留传下的岩画、陶瓷、剪纸、刺绣上可以生动地印证它和人类相处的风貌。如今狗和人类的关系越来越亲密,在很多家庭中狗已经超出朋友关系,升级成为家庭的正式一员。明年适逢狗年,编者希望通过这些图片,更了解人类与狗的关系,从而善待狗与其它的动物,让人类社会与自然界和谐发展。

贺兰山岩画狗(史前)

新石器时代河姆渡陶狗(史前)

邓县画像石(汉)

云南晋宁铜鼓狗纹(汉)

六朝 灰陶狗

长沙窑瓷狗(唐)

瓷狗(宋)

影青瓷狗(宋)

抱狗彩绘人物陶俑(宋)

灰陶狗(宋)

黄绿釉陶狗(明)

素烧斑点瓷狗(明)

郎世宁竹荫西□图局部(清)

铜红釉贸易瓷对狗(清)

陕西泥塑狗(现代)

十二生肖剪纸狗(现代)

陕西库淑兰彩色剪纸(现代)
山东郎庄面花母子狗(现代)
1229 摇完了就滚 DONEWS MOP
这几天沸沸扬扬的 DONEWS MOP,只是KESO说到理想。让我想起那个 白色巨塔 ,为了让自己以后更好的作事,只好现在作自己不喜欢的事
DONEWS是liuren的,MOP是陈一舟的,钱是他们的,关我什么事情都没有。
KESO:他当家,不可能像我这么洒脱。做自己喜欢的事是很多人的理想,但你必须接受更多不喜欢的事作为赠品。
不过我一向还是那个看法,白色巨塔 金山 http://www.yippeesoft.com/blog/p/kingsoftbaisejuta.php
我想起成龙的奇迹2。他作为一个香港警察,吕良伟作为一个革命者。为了达到某个目的,陷害了成龙。
吕良伟说,我为了千千万万的同胞,有时候不得不牺牲某些人。
成龙说:我知道这些道理,革命是要死人的。但是我不希望死亡。所以我选择当一个警察,尽自己的能力维护老百姓。
这就是一个悖论,究竟哪个合理?我也不知道。从小民的角度来说,从历史大局的角度来说,都是有道理的。
或者说,是一个两难的命题。
谢晓峰第一次看到夺命十三剑,不是在燕十三的手中使出,而是在燕十三的传人铁中奇手中。随后他便使出了夺命十三剑的第十四种变化。
燕十三也早已知晓这第十四种变化,但他仍没有把握可以以此击败谢晓峰,而谢晓峰也同样没有把握可以破这第十四剑。
“这一剑还不是他剑法中真正的精粹”
“前面的十三剑,只不过是花的根而已,第十四剑,也只不过是些枝叶,一定要等到有了第十五种变化时,鲜花才会开放,他的第十五剑,才是真正的花朵。”
燕十三已找出这第十五种变化,而这第十五剑的主人,燕十三却感觉到恐惧“夺命十三剑本来就像是我养的一条毒蛇,虽然能致人的死命,我却可以控制它,可是现在这条毒蛇,已变成了毒龙,已经有了它自己的神通变化。”燕十三已经无法控制这条毒龙。
在燕十三和谢晓峰决战的最后一刻,在第十五剑即将刺出前的一刻,燕十三却突然回转剑锋割断了自己的咽喉。
因为他已无法控制那一剑,因为那一剑的力量,本就不是任何人能控制的,只要一发出来,就一定要有人死在剑下。就好像一个人忽然发现自己养的蛇,竟是条毒龙!虽然附在他身上,却完全不听他指挥,他甚至连甩都甩不脱,只有等著这条毒龙把他的骨血吸尽为止。所以他只好毁了自己,毁了这一剑。
在《无极》首映前的一场宣传活动上,一记者采访陈凯歌时说:“如果《无极》票房惨淡,会否对你有影响?”此话一出口,原先还笑容满面的陈凯歌突然动怒了。他怒斥这位记者:“提问太不友好,在我的《无极》首映前三天,你说这种话,是何居心?这就好比,我的孩子刚满月,你来问我他会不会夭折一样!”
当初看到这条消息时一直感到纳闷,一个好好的活动再加上有绅士风度的陈凯歌没必要这样发飙,搞得这么不愉快,但如今开始明白了,因为一件经过苦心经营的文艺作品是容不得别人一句的风凉话的,
一笑~~~~~~~~~~
我没有什么感想,只是突然想到摇滚,混杂一起写写。
突然想起了很多人,金庸、罗大佑、魔岩三杰、崔健、郑智化
当初写 笑傲江湖、鹿鼎记的金庸,已经成为文学大师 金庸是香港著名的新闻工作者和社会活动家,也是中国著名的文学家和学者。 金庸于七十年代至八十年代,担任香港廉政专员公署市民咨询委员会召集人和香港法律改革委员会委员。自1985年至今,他还历任中华人民共和国香港特别行政区基本法起草委员会委员、政治体制小组负责人之一,基本法咨询委员会执行委员会委员,以及中华人民共和国全国人民代表大会香港特别行政区筹备委员会委员。金庸于2000年荣获香港特别行政区颁授最高荣誉大紫荆勋章。2001年国际天文学会以"金庸星"命名北京天文台发现的一颗小行星。
金庸现任浙江大学人文学院院长、教授、博士生导师;英国牛津大学汉学研究院高级研究员;加拿大英属哥伦比亚大学文学院兼任教授;香港明河集团有限公司主席。
黑色教父 侏儒 皇后大道东 的罗大佑,到处开演唱会的罗大佑
△在当时的政治环境下,你的作品对年轻人来说应该是非常新鲜的,他们跟你有没有沟通?
罗:当然有。我在1982年推出《之乎者也》,1983年推出《未来的主人翁》。有个人听到《恋曲1980》吓了一跳,问:“怎么会有这种歌?” “你曾经对我说,你永远地爱着我。”有什么呀,纯粹是一首情歌,不是政治性的东西。可就是这种情歌,在那个年代的台湾,它在精神上也是反动的。可见那时台湾控制得有多厉害。
△比起从前那个有斗士色彩的罗大佑,今天的罗大佑和他的创作似乎已经很难让人热血沸腾了。你觉得自己正在渐渐老去吗?
罗:我现在不够愤怒,当然跟年龄有关系。但我觉得更重要的一点是,现在再去写抗议歌曲,这个议题已经失去了它的正当性。你要硬找一个什么去骂,我觉得是一件虚伪的事情。我们那时要骂,是因为真的有一个紧箍咒在这个地方(用双手抱住头),写歌的时候你心里有一个尺子在那儿。现在已经完全没有这个东西,你再弄就有点假。既然紧箍咒已经松开了,就没有必要再去强调:我还是很愤怒的,我还是和从前一样的,我还是很年轻的。
魔岩三杰 窦唯 何勇 张楚
张楚 一双忧郁的诗人的眼睛,一个孤独的灵魂,这就是张楚——一个敏锐,洞悉世事的摇滚乐手。
窦唯其实是一个文人,一个陷入幻境中不能自拔的文人。
《垃圾场》中体现的最明显。“我生活的地方就是一个垃圾场。吃的是粮食,拉的是思想。有人减肥,有人饿死没粮。。。。。”何勇声嘶力竭地喊着,表达着他的不满,他的愤怒。
窦唯由于个人的原因再也不会出现在大众场合,他的音乐也在随着他本人的超脱而再也不会随波逐流了!
张楚从西安老家又回到了伟大的首都北京,不知道他的音乐能否再出现在我们周围呢?
何勇终于结婚了,也许这才是他最好的归宿吧,不知道他还能否想起在94\’香港演唱会上的激情!!
何勇在中国摇滚乐上留下了重要的一笔,魔岩三杰就是指何勇,张楚,窦唯。当年,在香港的红堪体育场,中国摇滚乐燃烧到了香港,使整个香港颤了三颤。尤其是何勇,事情是这样的,当时香港的乐坛是张刘黎郭四大天王的时代。在演唱会之前,记者招待会上,有记者提问:如何看待香港的四大天王。唐朝之丁武沉默,唐朝的另外一名成员(好像是赵年,或者张炬) 说“四大天王是小孩子关心的事情”,窦唯说“四大天王,四个大笑话”。何勇则答曰:“四大天王,除了张学友像个唱歌的之外,其余三人就是小丑” 。
张楚终于首次登上了上海的舞台,他说:“我不再摇滚,精神上也不。”这位沉迷于电脑音乐创作的音乐人吸引了数千歌迷前来捧场,面对昔日魔岩三杰的说法,张楚回应道:“魔岩已经结束了,应该结束的都结束了。”
不是水手的郑智化,是大国民的郑智化。不想贴了
再过多少年之后,谁还会记得他们,或者说记得曾经的他们?
流水它带走光阴的故事 改变了我们
标签:donews, newChoose the MSF Agile process for projects with short lifecycles and results-oriented teams who can work without lots of intermediate documentation. The MSF Agile process is a flexible guidance framework that helps create an adaptive system for software developement. Agile methodology anticipates the need to adapt to change, and focuses on people as the most important component to the success of a project. Agile methodology also emphasizes the delivery of working software and promotes customer validation as key success measures. Roles performed are adaptable.
Team Project Settings
Name: sf
Description:
Process Template Settings
Process Template: MSF Agile
Template Description: Choose the MSF Agile process for projects with short lifecycles and results-oriented teams who can work without lots of intermediate documentation. The MSF Agile process is a flexible guidance framework that helps create an adaptive system for software developement. Agile methodology anticipates the need to adapt to change, and focuses on people as the most important component to the success of a project. Agile methodology also emphasizes the delivery of working software and promotes customer validation as key success measures. Roles performed are adaptable.
Team Site Settings
Title: sf
Description:
Address: http://www.yippeesoft.com/sites/sf
Version Control
Folder Creation: New empty folder $/sf will be created
Project creation failed with error : "Initialization failed for plugin (s):
\’Microsoft .Pcw .wss\’, \’Microsoft .Pcw .currituck\’ "
11-11-2005 04:44:51.125 &line; Module: ELeadServiceMediator &line; URL for eLead web service retrieved as "http://www.yippeesoft.com:8080/bisserver/EleadWebService.asmx" from the registration service &line; Completion time: 0 seconds
11-11-2005 04:44:51.531 &line; Module: ELeadServiceMediator &line; eLead web service proxy constructed &line; Completion time: 0.40625 seconds
11-11-2005 04:44:53.156 &line; Module: ELeadServiceMediator &line; Template Information for domain "www.yippeesoft.com" retrieved from eLead web service &line; Completion time: 1.625 seconds
11-11-2005 04:45:32.000 &line; Module: Engine &line; Retrieved IAuthorizationService proxy &line; Completion time: 0.328125 seconds
11-11-2005 04:45:32.015 &line; Module: Engine &line; Project creation permissions retrieved &line; Completion time: 0.015625 seconds
11-11-2005 04:45:32.515 &line; Module: ELeadServiceMediator &line; Downloaded process template file from eLead web service &line; Completion time: 0.484375 seconds
11-11-2005 04:45:32.828 &line; Module: Engine &line; Wrote compressed process template file &line; Completion time: 0.1875 seconds
11-11-2005 04:45:38.921 &line; Module: Engine &line; Extracted process template file &line; Completion time: 6.09375 seconds
11-11-2005 04:45:39.078 &line; Module: Engine &line; Thread: 7 &line; Starting Project Creation for project "sf" in domain "www.yippeesoft.com"
11-11-2005 04:45:39.515 &line; Module: Engine &line; User information retrieved from GSS &line; Completion time: 0.4375 seconds
11-11-2005 04:45:39.531 &line; Module: Initializer &line; Thread: 7 &line; Starting plug-in inialization
11-11-2005 04:45:39.546 &line; Module: CssStructureUploader &line; Thread: 7 &line; Entering Initialize in CssStructureUploader
11-11-2005 04:45:39.562 &line; Module: CssStructureUploader &line; Thread: 7 &line; Initialize for CssStructureUploader complete
11-11-2005 04:45:39.562 &line; Module: Initializer &line; Thread: 7 &line; Initialization for plugin "Microsoft.Pcw.Css" succeeded
11-11-2005 04:45:39.562 &line; Module: Rosetta &line; Thread: 7 &line; Entering Initialize in RosettaReportUploader
11-11-2005 04:46:06.875 &line; Module: Rosetta &line; Thread: 7 &line; Exiting Initialize for RosettaReportUploader
11-11-2005 04:46:06.875 &line; Module: Initializer &line; Thread: 7 &line; Initialization for plugin "Microsoft.Pcw.Rosetta" succeeded
11-11-2005 04:46:06.921 &line; Module: WSS &line; Thread: 7 &line; Entering Initialize in WssSiteCreator
—begin Exception entry—
Time: 11-11-2005 04:46:07.468
Module: Initializer
Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown."
Exception Type: System.Web.Services.Protocols.SoapException
Exception Message: Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown.
SoapException Detail: <detail>
<errorstring xmlns="User">http://schemas.microsoft.com/sharepoint/soap/">User cannot be found.</errorstring>
</detail>
SoapException Full Info: System.Web.Services.Protocols.SoapException: Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.VisualStudio.ELead.WssProxy.UserGroup.GetUserInfo(String userLoginName)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.WssSiteCreator.Initialize(ProjectCreationContext context)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.VisualStudio.ELead.WssProxy.UserGroup.GetUserInfo(String userLoginName)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.WssSiteCreator.Initialize(ProjectCreationContext context)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
— end Exception entry —
11-11-2005 04:46:07.468 &line; Module: GSSStructureUploader &line; Thread: 7 &line; Entering Initialize in GssStructureCreator
11-11-2005 04:46:07.546 &line; Module: GSSStructureUploader &line; Thread: 7 &line; Exiting Initialize for GssStructureCreator
11-11-2005 04:46:07.546 &line; Module: Initializer &line; Thread: 7 &line; Initialization for plugin "Microsoft.Pcw.gss" succeeded
—begin Exception entry—
Time: 11-11-2005 04:46:17.453
Module: Initializer
Event Description: Initialization for plugin "Microsoft.Pcw.currituck" failed with error: "You are not a valid account. Please contact the team system administrator(s)."
Exception Type: System.UnauthorizedAccessException
Exception Message: You are not a valid account. Please contact the team system administrator(s).
Stack Trace:
at Microsoft.VisualStudio.Currituck.DataStore.HandleComException(Exception e, Int32 hr)
at Microsoft.VisualStudio.Currituck.DataStore.DatastoreClass.ConnectEx(String connectionString, Int32 hCredentials)
at Microsoft.VisualStudio.Currituck.Client.WorkItemStore.Initialize()
at Microsoft.VisualStudio.Currituck.Client.WorkItemStore..ctor(String teamSystemName)
at Microsoft.VisualStudio.Currituck.Package.CurrituckPcwPlugin.PcwPluginComponentCreator.ContextWrapper.get_WorkItemStore()
at Microsoft.VisualStudio.Currituck.Package.CurrituckPcwPlugin.PcwPluginComponentCreator.Initialize(ProjectCreationContext ctxt)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
– Inner Exception –
Exception Type: System.Web.Services.Protocols.SoapException
Exception Message: System.Web.Services.Protocols.SoapException: www.yippeesoft.com\\Administrator is not valid user. —> Microsoft.VisualStudio.Currituck.Server.Common.ValidationException: www.yippeesoft.com\\Administrator is not valid user. —> System.Data.SqlClient.SqlException: www.yippeesoft.com\\Administrator is not valid user.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.SqlAccess.ExecuteBatchDataSet(IRequestContext context, String sqlBatch, ArrayList parameterList)
— End of inner exception stack trace —
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.SqlAccess.ExecuteBatchDataSet(IRequestContext context, String sqlBatch, ArrayList parameterList)
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.SqlBatchBuilder.ExecuteBatchInternal(IRequestContext context)
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.DataAccessLayerImpl.GetMetadata(IRequestContext context, String serverName, String databaseName, String clientUserName, MetadataTable[] tablesRequested, Int64[] rowVersions, DataSet metadataDataSet, Int32& locale, Int32& comparisonStyle, String& callerIdentity, String& dbStamp)
at Microsoft.VisualStudio.Currituck.Server.DataServices.ClientService.GetMetadata(MetadataTableHaveEntry[] metadataHave, Boolean useMaster, DataSet& metadata, String& dbStamp, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
— End of inner exception stack trace —
at Microsoft.VisualStudio.Currituck.Server.DataServices.ExceptionManager.ThrowProperSoapException(Exception e)
at Microsoft.VisualStudio.Currituck.Server.DataServices.ClientService.GetMetadata(MetadataTableHaveEntry[] metadataHave, Boolean useMaster, DataSet& metadata, String& dbStamp, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
SoapException Detail: <detail><details id="600019" xmlns="http://schemas.microsoft.com/Currituck/2004/01/mtservices/faultdetail" /></detail>
SoapException Full Info: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: www.yippeesoft.com\\Administrator is not valid user. —> Microsoft.VisualStudio.Currituck.Server.Common.ValidationException: www.yippeesoft.com\\Administrator is not valid user. —> System.Data.SqlClient.SqlException: www.yippeesoft.com\\Administrator is not valid user.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.SqlAccess.ExecuteBatchDataSet(IRequestContext context, String sqlBatch, ArrayList parameterList)
— End of inner exception stack trace —
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.SqlAccess.ExecuteBatchDataSet(IRequestContext context, String sqlBatch, ArrayList parameterList)
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.SqlBatchBuilder.ExecuteBatchInternal(IRequestContext context)
at Microsoft.VisualStudio.Currituck.Server.DataAccessLayer.DataAccessLayerImpl.GetMetadata(IRequestContext context, String serverName, String databaseName, String clientUserName, MetadataTable[] tablesRequested, Int64[] rowVersions, DataSet metadataDataSet, Int32& locale, Int32& comparisonStyle, String& callerIdentity, String& dbStamp)
at Microsoft.VisualStudio.Currituck.Server.DataServices.ClientService.GetMetadata(MetadataTableHaveEntry[] metadataHave, Boolean useMaster, DataSet& metadata, String& dbStamp, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
— End of inner exception stack trace —
at Microsoft.VisualStudio.Currituck.Server.DataServices.ExceptionManager.ThrowProperSoapException(Exception e)
at Microsoft.VisualStudio.Currituck.Server.DataServices.ClientService.GetMetadata(MetadataTableHaveEntry[] metadataHave, Boolean useMaster, DataSet& metadata, String& dbStamp, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.VisualStudio.Currituck.Proxies.DataServices.ClientServiceProxy.GetMetadata(MetadataTableHaveEntry[] metadataHave, String& dbStamp, Boolean useMaster, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at Microsoft.VisualStudio.Currituck.Proxies.DataServices.ClientService.GetMetadata(String requestId, Boolean useMaster, MetadataTableHaveEntry[] metadataHave, String& dbStamp, IMetadataRowSets& metadata, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at CProdStudioBackendChannel.GetMetadata(CProdStudioBackendChannel* , tagVARIANT* pvarbstrCallerIdentity, tagVARIANT* pvarbstrDomainName, tagVARIANT* pvarbstrForestName, tagVARIANT* pvarbstrMachineName, tagVARIANT* pvarLocale, tagVARIANT* pvarComparisonStyle, Int32 fNoFire)
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.VisualStudio.Currituck.Proxies.DataServices.ClientServiceProxy.GetMetadata(MetadataTableHaveEntry[] metadataHave, String& dbStamp, Boolean useMaster, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at Microsoft.VisualStudio.Currituck.Proxies.DataServices.ClientService.GetMetadata(String requestId, Boolean useMaster, MetadataTableHaveEntry[] metadataHave, String& dbStamp, IMetadataRowSets& metadata, Int32& locale, Int32& comparisonStyle, String& callerIdentity)
at CProdStudioBackendChannel.GetMetadata(CProdStudioBackendChannel* , tagVARIANT* pvarbstrCallerIdentity, tagVARIANT* pvarbstrDomainName, tagVARIANT* pvarbstrForestName, tagVARIANT* pvarbstrMachineName, tagVARIANT* pvarLocale, tagVARIANT* pvarComparisonStyle, Int32 fNoFire)
– end Inner Exception –
— end Exception entry —
11-11-2005 04:46:17.609 &line; Module: SccTask &line; Thread: 7 &line; User chose to create new empty folder $/sf
11-11-2005 04:46:17.640 &line; Module: Initializer &line; Thread: 7 &line; Initialization for plugin "Microsoft.Pcw.scc" succeeded
—begin Exception entry—
Time: 11-11-2005 04:46:17.640
Module: Engine
Event Description: Project creation failed
Exception Type: Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializationFailedException
Exception Message: Initialization failed for plugin(s): \’Microsoft.Pcw.wss\’, \’Microsoft.Pcw.currituck\’
Stack Trace:
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.PluginInitializer.InitializePlugins(MsfTemplate template, ProjectCreationContext context)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.TryCreateProject(ILogHandler logHandler, String& completionMessage)
— end Exception entry —
11-11-2005 04:46:17.640 &line; Module: Engine &line; Thread: 7 &line; Attempting to delete MSF folder "C:\\Documents and Settings\\Administrator\\Local Settings\\Temp\\1\\PCW_11-11-2005_04.45.32"
—begin Exception entry—
Time: 11-11-2005 04:46:17.781
Module: Engine
Event Description: Deleting directory "C:\\Documents and Settings\\Administrator\\Local Settings\\Temp\\1\\PCW_11-11-2005_04.45.32" failed
Exception Type: System.UnauthorizedAccessException
Exception Message: Access to the path \’CssTasks.xml\’ is denied.
Stack Trace:
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at Microsoft.VisualStudio.TeamSystem.ELead.ProjectCreationNew.EngineStarter.SafeRemoveDirectory(String folderToRemove)
— end Exception entry —
I installed Team Server single server with Share Point and I excluded ReportServices. All in a W2003 Server sp1 (rightly registered).
Each time I try to create a new Team project I get a log like that: 杀人的心都有了~~~~~~~
标签:create, fail, new, project, team, vsts关于DONEWS的一些看法
很早以前就注册了,有时也冒个头,还得罪了版主,幸好有两个版主。
正如古龙说的,一个人的名字会取错,外号是不会错的。
以前还经常看看,现在越来越觉得没有看头了。有些东西不吐不快。
1、"DoNews Blog" <liuren@gmail.com> 发来的EMAIL:还有问题,请致函 Donews@donews.com ,将会有专人帮你解决问题。
结果:Hi. This is the qmail-send program at yahoo.com.
I\’m afraid I wasn\’t able to deliver your message to the following addresses.
This is a permanent error; I\’ve given up. Sorry it didn\’t work out.
<Donews@donews.com>:
202.43.216.28 failed after I sent the message.
2、论坛我找不到回复的地方。
3、LIUREN/KESO越来越像教主了,写个几句话,下面一大堆PMP,一个个把微言大义发扬的淋漓尽致。下次KESO写个空白BLOG试一试?估计也有人说,这是一个NB地尝试~~~~~~~不着一字,尽得风流。
4、BLOG简直就是泥沙具下,要不几天没有更新,要么就是一大堆月经帖子
建议能够显示字节数。
5、首页也是内容太少,看上去文字不少,但是真正有分量的太少
Donews自2000年4月创立以来,只用半年时间就成为中国最大的IT写作社区。现在,它业已团结了3.2万名编辑、记者、自由撰稿人以及IT从业人员成为它的专栏作者或论坛用户。
我看来看去也就那么几个人在这里而已。
做人,要厚道。本来想删除的,但是文字比较多,算了,隐藏吧。
[hide]
今天不知道为什么火气很大,一个同事又来刺激我,大家做了这么多年程序,很多编码规范之类的都已经约定成俗了,而他可能太清闲了,花了十天功夫整理了一份 编程规范 让大家学习,网上一抓一大把的东西,简直是吃饱了闲的没事找事做,还一副主管的派头。更为搞笑的是,居然还要发EMAIL问大家 怎么把WORD文档转成PDF?
作个软件也做不清楚,人家同样的移植,一个人能够完成的事情,他两个人搞了四个月,怪硬件,怪模块,就不想想自己的水平到底怎么样。平时动不动从那里贩卖一些项目管理的名词,动不动就是规范,微软项目组,进度,需求分析,详细设计之类的东西。这么会吹嘘干脆做销售得了。这种东西,天天在网上混的人,谁没有看过,谁没有思考过,像我们这种下游厂商,不就是看人家脸色吃饭,这年头,谁的需求能够好好的让你四平八稳的作。三天两头跑经理办公室贩卖,动不动就是国外的软件企业就是这样的,也不看看自己的水平能不能和人家比?人家的管理条例是有基础的,像他这种水平,事前吹牛皮,事后推责任,什么管理规范也没有办法。就想着把自己放到管理层的位置,好啊,大家都做管理,谁都知道动嘴皮子比动手轻松,又没有责任,又风光,那谁来做代码呢?谁不会这一套啊,首先需求评审,搞个两三天,然后安排进度,OK,每人写一份详细设计,然后作为召集人开开会,评审个两三天,这种东西就是神经病,然后大家干活吧,把轻松简单的派给自己,动不动安装进度召集一下开会,碰到实际技术问题一个都搞不定,这些东西顶个鸟用。除非你做这一套已经了如指掌或者说像ERP之类的,技术上没有问题,问题在于业务逻辑之类的东西,这套才好使,否则,最大的问题是技术上的,例如突然叫我做一个游戏,一个月后拿出来,我有毛病啊我去开会,首先我就要考虑是OPGL还是DIRECTDRAW,然后作一个DEMO跑一跑,这样我心理才有底,大约做到评估,例如做到什么程度大约需要多少人手多少时间,如果就这些人手和这些时间大约能够做到一个什么样的程度,怎么最大限度的完成一个RELEASE版本。
更正一下,他还是提到了自己,说因为新东西太多,一下子不能消化,废话,平时都忙些什么呢?能有时间吗,不就想着炒作自己吗?
然后人家新来的都知道没有事情做,就自己看代码学习,他倒好,整天折腾这个折腾那个。首先他也假装客气:一起听听吧?(客气的样子) 我不去了。 去一下吧,这东西对你有好处的(好像水平很高的样子)。 这东西网上随便一搜一大把,算了。 以后我们部门就要按照这个执行了(开始露出派头了)。 你们要执行是你们的事,不关我的事。 还真把自己当根葱了。 没看到刚才经理叫人就是没有叫我小组。[/hide]
标签:donews, new累计下来,总共申请了十来个免费主页,七八个blog。提交了五六个搜索引擎。软件也提交了许多个下载网站
下载网站提交:
国内的基本上是抓住 NEWHUA 和 SKYCN 两个网站,基本上只要提交了这两个,一两天之类,国内的大大小小的下载网站都会遍布。但是这两个网站现在越来越大牌。很难提交上去,我提交了十几次,才收录了一个
国外的比较正式,一般我都提交不需要注册和只要PAD文件的,这样比较简单。国外网站似乎比较正式。基本上都会评测一把。小点的网站基本都会给四星。但是一般都不会转载,所以要一个一个提交。
GOOGLE似乎比较容易搜索到国内的ZDNET网站
免费空间:
基本上有几个专门的免费空间汇集站点比较全。速度最好的是IHAO.CN,还可以绑定域名,可惜搞了一次需要身份证复印件,所以只好跑了。不过居然空间还能用,不过也不敢长用。另外的都是很难说什么时候倒闭,国外的骗人的也不少。512J的空间购买比较方便而且便宜。
域名也是,高价的不想买,低价的怕被骗,不稳定,所以索性在512J一起
搜索引擎
BAIDU作为国内比较知名的搜索引擎,似乎对512J比较反感?我的ORG域名始终没有登陆上去。GOOGLE却已经登陆了三个页面。可能我的是PHP,搜索引擎比较难以搜索。而能够生成静态HTML的一些PHP软件基本都需要MYSQL。我不是很喜欢,因为数据库一个缺点就是到时数据导出比较麻烦。而我现在的只要FTP就够了。所以虽然E-168提高免费的MYSQL。我也不喜欢用。而著名的MOVABLE TYPE却需要CGI支持。我也不知道512J是否支持,也懒得去弄了。
单机BLOG
随着BLOG的流行,我也不能免熟,基本上看来就是一个简单按日发布系统。我虽然是开发人员,但是对于不好调试的脚本语言似乎很不感冒。所以一般只能用人家的程序。我用了一些单机BLOG。LBLOG是我觉得最好的,界面风格、编辑、发布方便,它的改编版本中 PBLOG 版本提供中英版本最符合要求,可惜好像他的网站消失了,另外还有一个版本可惜发现LBLOG的一个漏洞后也不更新了,DBLOG已经早不更新了,OBLOG,功能也不错只是感觉管理使用不是很方便,JAVA版本也试验了一个,感觉安装很不方便,并且也找不到合适的服务器;.NET倒是很喜欢,可惜大名鼎鼎的.TEXT从CSDN等看来界面、使用都不方便。最后找了BO-BLOG。这个基本界面、管理都符合需要,而且提高多语言。只是不能动态切换,所以我在首页加了一个PHP,重新把配置文件重写一篇,感觉很土。PHP大多一般都是和MYSQL捆绑了,所以就没有怎么试验。
网站BLOG
基本上一些大网站都提供了BLOG服务,我对于门户提供的没有什么感觉,专业的如专门.NET开发也不是很适合。BLOGCHINA名气很大,可惜不能默认登陆,每次都要输入用户名和密码,感觉很烦。据说提供10M空间,但是没有办法上传。其他的BLOGDRIVER我访问的时候正好出错,也就算了,BLOGCN之类的感觉和BLOGCHINA差不多,偏重评论之类的。也就算了。OBLOG提供的不错,可以提供上载空间。可惜不是很稳定,并且搜索引擎不是很感兴趣。
所以数数,我有CSDN专业程序员的,DONEWS据说出名的IT新闻界,YESKY出名的通俗IT(这个还是从DONEWS看到,说这个不错)、一个海外华人的,本来申请了几个国外的,不过国外的东西好像都喜欢简单,不是很喜欢,所以也没有管了。
BAIDU似乎对DONEWS比较敏感,基本上我在DONEWS上的帖子搜索重点字都能找到,GOOGLE则对CSDN感冒,而我的统计告诉我,什么GOOGLE.TW/DE之类的都会搜索到我的海外华人的帖子。倒是我这个主站WWW.SHENGFANG.ORG没有什么登录
总计申请了三个统计程序
http://w.50bang.com/click.js?user_id=112097武林、
http://6.1tong.com.cn1tong一统天下
各有各的特长,不过一统天下的似乎最没有内容,50BANG的最慢。站长发发似乎比较不错,好像是我最开始就申请的。
统计也是每个BLOG都放了一个,结果主站好像都是自己的IP,从http://www.lhdz.gov.cn/申请了一个计数器,不过好像找不到申请的地方了。这个计数器有一个好处,每次刷新都会加1,所以心情会比较好一点
电话费上月达到50元了,可能上个月找空间找域名比较长时间。。。。。。。。。
所以我觉得守住我这个地盘吧。
标签:baidu, csdn, donews, google, new