VC中读写ini文件(转)
Oct 31st, 2006 by song

在我们写的程序当中,总有一些配置信息需要保存下来,以便完成程序的功能,最简单的办法就是将这些信息写入INI文件中,程序初始化时再读入.具体应用如下:
  一.将信息写入.INI文件中.
  1.所用的WINAPI函数原型为:
BOOL WritePrivateProfileString(
LPCTSTR lpAppName,
LPCTSTR lpKeyName,
LPCTSTR lpString,
LPCTSTR lpFileName
);
  其中各参数的意义: Read the rest of this entry »

PHP技巧转自CU
Oct 28th, 2006 by song

这篇杂文翻译整理自网络各路文档资料(见最末的参考资料),尤其是 Ilia Alshanetsky (佩服之至) 在多个 PHP 会议上的演讲,主要是各类提高 PHP 性能的技巧。为求精准,很多部分都有详细的效率数据,以及对应的版本等等。偷懒,数据就不一一给出了,直接给结论,如果需要看原文档,请到文末「参考资料」部分。橙色标题为推荐部分。

========================================================

静态调用的成员一定要定义成 static  (PHP5 ONLY)

贴士:PHP 5 引入了静态成员的概念,作用和 PHP 4 的函数内部静态变量一致,但前者是作为类的成员来使用。静态变量和 Ruby 的类变量(class variable)差不多,所有类的实例共享同一个静态变量。
Read the rest of this entry »

JAVA 基础教程 视频
Oct 28th, 2006 by song

第一课 Java 的一些基本概念> Read the rest of this entry »

VC基础教程视频 孙鑫
Oct 28th, 2006 by song

第一课 Windows程序运行原理及程序编写流程 Read the rest of this entry »

根据图片设定网页框大小
Oct 27th, 2006 by song

[code]<SCRIPT LANGUAGE="JavaScript">
<!--

function ResizeToFit(){
 var imgWidth;
 var imgHeight;
 if (document.imgLarge && document.imgLarge.complete)
 {
 imgWidth = document.imgLarge.width + 20;
 imgHeight = document.imgLarge.height + 115;
 window.resizeTo(imgWidth,imgHeight);
 }
}
//-->
</SCRIPT>[/code] Read the rest of this entry »

PDO MYSQLI 学习
Oct 26th, 2006 by song

MYSQLI
连接数据库

< ?php
$mysqli = new mysqli(“localhost”, “root”, “secret”, “test”);
if (mysqli_connect_errno(  )) {
   printf(“Connect failed: %s\n”, mysqli_connect_error(  ));
   exit (  );
} else {
   printf(“Connect succeeded\n”);
}
?>

错误检查

1) Read the rest of this entry »

Windows 序列号察看器
Oct 14th, 2006 by song

[file]attachment/1160824309.rar[/file]
用此工具即可察看你WIN使用的序列号

Directx SDK 下载
Oct 9th, 2006 by song

http://msdn.microsoft.com/directx/sdk/

系统增强
http://download.microsoft.com/download/8/0/e/80ebbf72-fc51-4799-a2f4-7fcca37b8bb3/dx9sdk.exe

包含DirectShow的下载
http://download.microsoft.com/download/b/6/a/b6ab32f3-39e8-4096-9445-d38e6675de85/dx90bsdk.exe

配置DirectShow的VC开发环境
---------------------------
DirectShow开发环境
关键词: 环境配置                               Read the rest of this entry »

开3389
Oct 9th, 2006 by song

首先,要入侵,你得有工具!我向大家推荐几款软件,也是我一直用的东西!
扫描的X-Scan V2.3、WINNTAutoAttack、流光!
X-Scan我最近很少用了,基本用的都是WINNTAutoAttack,当然,小榕的流光我也经常用!
远程开终端需要一个脚本就可以了,代码请看二楼!保存为*.vbe(我保存的是rots.vbe)
克隆帐户用个psu就可以了~! Read the rest of this entry »

(转)DirectShow开发自己的Filter
Oct 9th, 2006 by song

  [b]一 给vc配置DirectShow的开发环境[/b]

  无论开发Filter还是开发Dshow的应用程序都要配置一下开发环境的,其实就是包含一下dshow用到的头文件和动态库。
选择Tools菜单下面的Options。在弹出的Option对话框配置如下

[img]attachment/img_92617799.gif[/img]
Read the rest of this entry »

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »