02 2014 档案
摘要:private int runProcess(string fileName, string appParam) { int returnValue = -1; try { Process...
阅读全文
摘要:1、SDE认证问题:使用ArcGIS.KeyGen.exe生成一个epp文件方法:-->server-->All-->拷贝并保存为*.epp文件。认证时加载该文件即可认证完毕。2、实例问题:必须是这样的:sde:sqlserver:SHENC-PC\SQLEXPRESS3、可选pPS.SetProp...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml;using System.IO;using System.Windows.Forms;namespac...
阅读全文
摘要:// Initialize unmanged memory to hold the array. int size = Marshal.SizeOf(bytes[0]) * bytes.Length; IntPtr pnt = Marshal.AllocHGlobal(size); try { // Copy the array to unmanaged memory. Marshal.Copy(bytes, 0, pnt, bytes.Length); // Copy the unmanaged array back to another managed array. double[]...
阅读全文