摘要: 转自:http://blog.sina.com.cn/s/blog_469dcb490100mq5u.htmlusing System;using System.Collections.Generic;using System.Drawing;using System.Diagnostics;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Text;namespace WindowsApi{ public class ApiMethod { #region Dll Import [DllI 阅读全文
posted @ 2013-06-08 09:37 花式炒饭 阅读(344) 评论(0) 推荐(0) 编辑
摘要: absolute//它使得你能够创建一个新变量, 并且该变量的起始地址与另一个变量相同.var Str: string[32]; StrLen: Byte absolute Str;//这个声明指定了变量StrLen起始地址与Str相同.//由于字符串的第0个位置保存了字符串的长度, 所以StrLen的值即字符串长度.begin Str := 'abc'; Edit1.Text := IntToStr(StrLen);end;abstract//它允许你创建抽象的方法, 包括有抽象方法的类称为抽象类.//Abstract关键字必须与Virtual或Dynamic关键字同时使用, 阅读全文
posted @ 2012-12-12 13:43 花式炒饭 阅读(161) 评论(0) 推荐(0) 编辑