通过找出该图标所对应的进程ID,如果该ID为NULL则删除该图标.
#include
#include
#include
int main()
{
HWND hStatus=::FindWindow("Shell_TrayWnd",NULL); //得到任务栏句柄
if (hStatus==NULL)
{
cout<<"Get Shell_TrayWnd error!\n...
分类:
其他好文 时间:
2014-10-22 12:56:09
阅读次数:
118
在安装一个程序的时候提示libc.so.6过旧,但是查看libc.so的版本是最新的,于是尝试使用尝试软链接 ln -s /usr/lib64/libc.so /usr/lib64/libc.so.6 , 悲剧的事情发生了!几乎所有的linux命令都依赖于libc.so,libc.so.6是一个动态...
分类:
其他好文 时间:
2014-10-22 12:36:05
阅读次数:
179
http://acm.hdu.edu.cn/showproblem.php?pid=1082这题开始想复杂了,error并不包括表达式本身不合法的情况我的方法是遇到右括号就开始处理栈,如果开始最外层没有括号,就人为加上数据应该是比较弱的,一通乱搞#include #include #include ...
分类:
其他好文 时间:
2014-10-22 12:16:22
阅读次数:
150
项目开发中用到了一些比较有用到插件,在此记下来首先需要在控制器中加入‘toastr........................’使用:toastr.success('para1','para2')toastr.error('para1','para2')这些内容只是当作我到日记而已,各位看不懂就...
分类:
Web程序 时间:
2014-10-22 10:50:59
阅读次数:
189
mysql -u root -p databasename < db.sql数据库导入数据时,MySQL收到下面异常:ERROR 1153 (08S01): Got a packet bigger than 'max_allowed_packet' bytes。这是因为没有调整mysql的默认配置,...
分类:
数据库 时间:
2014-10-22 08:40:42
阅读次数:
272
首先将VisualStudio安装目录vc中bin、lib、include目录添加到环境变量path中 遇到的问题: 1.fatal error LNK1104: cannot open file ‘uuid.lib‘ 找到了本机uuid.lib的所在路径:C:\Program Files (x86)\Microsof...
分类:
编程语言 时间:
2014-10-22 07:41:23
阅读次数:
170
手贱没忍住更新到了MacOsYosemite,于是问题来了....之前好好的工程运行报错了,工程中storyboard文件无法打开。错误信息如下:Thedocument"Main.storyboard"couldnotbeopened.Theoperationcouldn’tbecompleted.(com.apple.InterfaceBuildererror-1.)原因:这次更新之后不知道..
分类:
系统相关 时间:
2014-10-22 06:28:58
阅读次数:
229
mysql> start slave;ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository处理一则MySQL Slave环境出现ERROR 1201 (HY000): C...
分类:
数据库 时间:
2014-10-22 06:24:36
阅读次数:
439
============问题描述============ E/Trace(28187):erroropeningtracefile:Nosuchfileordirectory(2)今天Eclipse中出现了这个错误,我只知道在Linux系统中有个trace命令,跟踪出现的执行。不知道怎么解决,请高手...
分类:
移动开发 时间:
2014-10-22 01:01:46
阅读次数:
164
win7虚拟打印驱动开发注意事项通过控制面板安装遇到以下问题:错误1、提示“Printer driver was not installed. Operation could not be completed (error 0x00000002)”错误2、没有任何提示,就是安装不上最后还是在stac...