2010年1月26日

Rundll32使用技巧 使用Shell打开选择文件对话框以及其它

摘要: Rundll32包含了很多系统的指令,下面是我摘录的关于Rundll32可以执行的命令集合。To bring up the "Format - 3 1/2 Floppy (A:)" window: rundll32.exe shell32.dll,SHFormatDrive To bring up the Control Panel "Date/Time Properties" window: r... 阅读全文

posted @ 2010-01-26 21:18 alon 阅读(852) 评论(0) 推荐(0) 编辑

数据类型转换示例

摘要: 刚接触VC编程的朋友往往对许多数据类型的转换感到迷惑不解,本文将介绍一些常用数据类型的使用。我们先定义一些常见类型变量借以说明inti=100;longl=2001;floatf=300.2;doubled=12345.119;charusername[]="女侠程佩君";chartemp[200];char*buf;CStringstr;_variant_tv1;_bstr_tv2;一、其它数据... 阅读全文

posted @ 2010-01-26 21:17 alon 阅读(230) 评论(0) 推荐(0) 编辑

VC常用数据类型

摘要: VC常用数据类型(2006.11.26):类型 字节数 位数 范围 备注意:char 1 8 -128-127signed char 1 8 -128-127unsigned char 1 8 0-255short int 2 16 -32768-32767signed short int 2 16 -32768-32767unsigned short int 2 16 0-65535int 4... 阅读全文

posted @ 2010-01-26 21:14 alon 阅读(313) 评论(0) 推荐(0) 编辑

delphi基础

摘要: 1.集合的用法(1)IN 判断是否存在typeTCharset = set of char;vart: TCharset;begint:= ['a','b','s'];if 's' in t thenShowMessage('in');end;判断是否缺乏if not ('m' in t) then// do something(2)增加删除+ ,-Include(t,'m');ExClude(t... 阅读全文

posted @ 2010-01-26 21:12 alon 阅读(249) 评论(0) 推荐(0) 编辑

c#基础

摘要: -. 1.数据类型存储*1.堆栈:存储固定长度的数据,如int(占4字节). 值类型*2.堆:存储可变长度的数据,如字符串. 引用类型结构是值类型,类是引用类型2.多维数组string[,] Name={{"Lennon","John"},{"MAC","Paul"}};3.internal 变量只能在当前程序中被访问protected internal 变量只能在当前程序中被访问,或者在派生当前... 阅读全文

posted @ 2010-01-26 21:11 alon 阅读(190) 评论(0) 推荐(0) 编辑

vc笔记

摘要: 1.句柄(HANDLE)的东西。可以这样去理解句柄,Windows程序中产生的任何资源(要占用某一块或大或小的内存),如图标,光标,窗口,应用程序的实例(已加载到内存运行中的程序)。操作系统每产生一个这样的资源时,都要将它们放入相应的内存,并为这些内存指定一个唯一的标识号,这个标识号即该资源的句柄。2.创建光标CClientDC dc(this);CFont font;font.CreatePoi... 阅读全文

posted @ 2010-01-26 21:10 alon 阅读(188) 评论(0) 推荐(0) 编辑

导航