1、格式化字符串(Writes formatted data to the specified string) wchar_t szMessage[260]; PWSTR pszFunction = L“Hello world !”; DWORD dwError = GetLastError(...
SSMS在一定程度上方便我们进行一些常见的操作。但有时候它处理得又不是那么不人性化。尤其是错误信息。今天我在进行数据库还原的时候就碰到一个错误:指定的转换无效。(SqlManagerUI)Specified cast is not valid.(SqlManagerUI)没办法,不得不敲代码了:RE...
分类:
数据库 时间:
2014-12-26 14:30:02
阅读次数:
1382
1. ArcEngine9.x迁至ArcEngine10.x 相信很多同学都知道,在ArcEngine9.x下正常编译的代码到ArcEngine10.x会报错:ArcGIS version not specified. You must call RuntimeManager.Bind before...
分类:
其他好文 时间:
2014-12-25 20:12:20
阅读次数:
323
当要编译的可执行程序依赖共享库时,linker按下面所示顺序查找其依赖的库。
下面的内容出自gcc manual,作为笔记,记录于此。
The linker uses the following search paths to locate required shared libraries.
1. Any directories specified by -rpath-link op...
分类:
系统相关 时间:
2014-12-24 16:16:31
阅读次数:
181
今天遇到了写的bat文件中执行xcopy成功,但是部分文件丢失的问题,查看日志,发现很多提示 :“the system can not find the path specified.“但是去指定路径下查看,文件的确存在,而且其中同一个文件夹下,一个文件成功拷贝,另外一个不存在。网上搜索,多半提到了...
Android的layoutInflate.inflate ()方法讲解,每个参数对应什么状况。为什么会有he specified child already has a parent. You must call removeView()。...
分类:
移动开发 时间:
2014-12-22 19:39:24
阅读次数:
331
一、基本组件
1、Network
网络操作的定义,NetworkResponse performRequest(Request request)
public interface Network {
/**
* Performs the specified request.
* @param request Request to process
* @r...
分类:
移动开发 时间:
2014-12-20 23:30:38
阅读次数:
360
运行时 触发了virsual studio的assert断点。输出内容如下:HEAP[xx.exe]: Invalid Address specified to RtlValidateHeap( 00C80000, 00CACFFC )Windows 已在 xx.exe 中触发一个断点。其原因可能是...
分类:
其他好文 时间:
2014-12-20 18:12:35
阅读次数:
218
1、错误描述
freemarker.template.TemplateException:Error executing macro:mainSelect
require parameter:id is not specified
2、错误原因
在定义宏时,给了一个必填的参数id,但是在用的时候没有给id赋值
3、解决办法
给id赋...
分类:
系统相关 时间:
2014-12-20 15:35:54
阅读次数:
199
在MySQL中,数据库对应操作系统数据目录中的目录,数据库中的每个表至少对应数据库目录中的一个文件(也可能是多个,取决于存储引擎)。因此,所使用操作系统的大小写敏感性决定了数据库名以及表名的大小写敏感性。这说明在大多数Unix中数据库名和表名对大小写敏感,而在window..
分类:
数据库 时间:
2014-12-19 01:58:18
阅读次数:
235