自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 资源 (6)
  • 收藏
  • 关注

转载 Format String for the iPhone NSDateFormatter

 http://www.stepcase.com/blog/2008/12/02/format-string-for-the-iphone-nsdateformatter/

2009-11-26 17:02:00 503

原创 open source about openGL

Crystal Space is our main project. It is a free cross-platform software development kit for realtime 3D graphics, with particular focus on games.  GLFW is a free, Open Source, multi-platform libra

2009-10-08 22:02:00 682

转载 Material Type Settings for OpenGL

ref : http://www.cs.utk.edu/~kuck/materials_ogl.htm Material Types MaterialGL_AMBIENTGL_DIFFUSEGL_SPECULARGL_SHININESSBrass(0.329412, 0.223529,

2009-09-29 22:49:00 651

原创 Format Specifiers for memo

Table 1  Format specifiers supported by the NSString formatting methods and CFString formatting functionsSpecifierDescription%@Objective-C object, printed as the stri

2009-09-23 08:15:00 475

原创 DBToAmp (Convert db to amplitude)

Convert db (Decibels) to amplitudeinline double DbToAmp(double inDb){ // Depends on what you measure: intensity(10), pressure(20), old artscontrol(6/lg2 (near 20)) double _base

2009-09-22 09:24:00 971

原创 Get audio channel's average and peak RMS power

ref : http://www.iwillapps.com/wordpress/?p=119setp1:UInt32 enabledLevelMeter = true;AudioQueueSetProperty(queue,kAudioQueueProperty_EnableLevelMetering,&enabledLevelMeter,sizeof(UInt32)); ste

2009-09-21 23:50:00 1745

原创 How to get iPhone OS number ?

To check current iPhone OS version whether satisfy requirementNSString *reqSysVer = @"3.1";NSString *currSysVer = [[UIDevice currentDevice] systemVersion];if ([currSysVer compare:reqSysVer optio

2009-09-17 09:44:00 737

原创 Get Process ID by Name

 DWORD CChatMessageDlg::GetProcessId(LPCTSTR pszProcessName)...{    BOOL bFound = FALSE;    DWORD aProcesses [1024], cbNeeded, cProcesses;    unsigned int i;            // Enumerate all processes 

2008-03-26 09:33:00 2669

原创 using linker option to fix error LNK2005

Issue : Link errorMSVCRT.lib(MSVCR80.dll) : error LNK2005: _sprintf already defined in libcmt.lib(sprintf.obj)Fixed method:Use /FORCE:MULTIPLE to create an output file whether or not LINK finds mo

2008-02-12 17:30:00 680

原创 使用API函数注册Dll

使用API函数注册BOOL RegisterLibrary(LPCTSTR pszDllName) {     BOOL bResult = FALSE;    if (pszDllName == NULL)        return bResult;     // load dll    HINSTANCE hLib = LoadLibrary(pszDllName);     if (h

2008-01-15 10:12:00 1411

原创 用GetModuleFileName获取程序当前执行路径

 DWORD GetProgramDir(DWORD nBufferLength, LPTSTR lpBuffer){    DWORD dwReturn = 0;    if (nBufferLength         return dwReturn;    dwReturn = ::GetModuleFileName(NULL, lpBuffer, nBufferLength);  

2008-01-14 10:26:00 948

翻译 Using the WixUI dialog library

WixUI对话框库包含一套"stock"多话框,用来提供wizard风格的安装用户界面。用一个UIRef为安装包添加一个界面。WixUI可以自定义,比如在界面上显示图片或者添加、删除某个界面。Note: WixUI 对话框库现在还处在技术评估期。请在WiX-devs邮件列表上提供使用回馈。WixUI对话框库是否有用?你有其他建议吗?需要其他界面吗?基于回馈的信息,WixUI库可能有一些非兼容的

2007-01-05 11:59:00 1944

翻译 Extensions

WiX支持以下3类扩展。介绍预处理扩展(Preprocessor Extensions)允许客户编译之前修改源文件。编译器扩展(Compiler Extensions)允许客户在文件被编译成二进制之前将已编辑的XML编译成内表格式。打包扩展(Binder Extensions)允许客户提供图象处理和数据生成的交错能力。 通过这些扩展,可以扩展WiX的功能以支持自定义处理、XML语法编译或者为一

2007-01-05 10:08:00 985

翻译 Quiet Execution CustomAction

Quiet Execution CustomAction,即wixca.dll中的QtExec自定义动作,他可以执行命令行。Immediate execution...    这将导致及时执行命令行。如果命令行的退出码出错(非0),由于Return值设为"check",将导致安装失败。如果你不想引起安装失败,可以修改该值为"ignore"。(还会记录日志)如果你想及时运行多条命令行,在

2007-01-04 17:28:00 1245

翻译 Performance Counter CustomActions

PerfCounter元素能够让你利用Windows API注册自己的性能计数器。这里有几个部分一起使用来完成注册:Your performance DLL - DLL必须输出Open, Collect, 和 Close 方法。更多细节请参考MSDN。Performance registry values - 注册表必须包含键值指向你的DLL及其Open, Collect, and Clo

2007-01-04 16:54:00 1428

翻译 Using the Server Custom Actions

wix工具包包括了一个用户定制的库。该库的核心是对服务器的用户化设置。服务器定制扩展了MSI可安装网站、共享文件和用户帐号等的整套资源。这些定制正确建立组件和资源的关联,遵照所有规则来正确安装、卸载和回滚相关联的部分组件的安装或者卸载。本文将举例概述这些应用。本文假设读者已经理解MSI用户定制的类型,并已经阅读了"WiX Overview" 和 "Writing in WiX"。Serve

2007-01-04 16:27:00 1104

翻译 Windows Installer XML Standard CustomActions

WiX工具包提供一些CustomActions用来负责配置资源,如IIS(Internet Information Services)网站和虚拟路径,SQL Server数据库和scripts,用户帐号,文件共享等。这些CustomActions由两个.wixlibs库提供,sca.wixlib 和 wixca.wixlib。前者包含了"Server CustomActions",而后者提供更多通

2007-01-04 13:50:00 1145

翻译 Msi Tables to WiX Schema

对于WiX schema,并非总是明显地对应于Windows Installer schema。下面是一些有关二者之间关系的帮助信息。DuplicateFile Table对应于File节点内的CopyFile节点。你只需设置Id, DestinationFolder, 和 DestinationName的属性值。LaunchCondition Table对应于Fragment 或 Pro

2007-01-04 12:08:00 1524

翻译 WiX Help - Authoring (4)

Adding Custom Actions你已经熟悉了创建Windows Installer安装包的基本方法,让我们进入下一阶段来添加用户自定义功能。Windows Installer XM的每一个发行版都包含一套WiX Server CustomActions,因此我们将用他们来创建范例。现在打来 wix/bin/ca 目录,拷贝 "sca*.dll" 到 "product.wxs"的目录下

2007-01-04 11:40:00 1671

翻译 WiX Help - Authoring (3)

创建Merge Modules创建Merge Module与创建Windows Installer package非常相似。让我们先创建一个名为"module.wxs"的文本文件。如下输入标准的框架:然后创建Merge Module,我们添加元素以及所需的属性:                         Comments=This is my first attempt at cr

2006-12-30 17:11:00 1421

翻译 WiX Help - Authoring (2)

WiX可以创建的Windows Installer数据库类型包括:Windows Installer 安装包 (MSI 文件)和 Merge Modules (MSM 文件)。编写第一个 .wxs File选择一个你最喜欢的XML编辑器,来编写全部范例。我使用notepad,创建一个新文件“product.wxs”。虽然取什么文件名都无所谓,但.wxs扩展名可以让我们知道这是一个Windo

2006-12-30 16:31:00 1553

翻译 WiX Help - Authoring (1)

Authoring是撰写WiX源文件来创建Windows Installer安装包的过程。WiX源文件的扩展名通常为.wxs,是XML格式的文档,格式必须符合WiX schema的要求。(可以在 wix.xsd 找到) 

2006-12-30 15:20:00 1228

翻译 Windows Installer XML 概述 (3)

Structure of the .wixobj file编译程序为每个源文件生成相应的.wixobj文件, .wixobj文件是XML格式的文档,遵照WiX项目中objects.xsd schema的定义。.wixobj文件包含一个或多个节,每个节包含标记号和指向其他标记号的引用。虽然标记号和引用是.wixobj文件中最重要的数据,但他们只是信息中很少的一部分。大多数.wixobj文件的

2006-12-30 15:12:00 2389

翻译 Windows Installer XML 概述 (2)

Windows Installer XML, 或者wix, 提供一个描述Windows Installer database (MSI or MSM)的模式, 以及将XML描述文档转化成安装包的一套工具包。第二版的模式(wix.xsd) 增加额外的内容, 使得由一套XML文档创建多个Windows Installer安装包更加容易。wix工具集可以模拟传统的编译和链接,从源代码创建可执行的安装包。

2006-12-30 12:08:00 4305

翻译 wix介绍(1)

什么是wix? Windows Installer XML(wix)平台是一套工具和规范,协助你轻松创建MSI和MSM类型的安装包。wix工具集可以模拟传统的编译和链接,从源代码创建可执行的安装包。对于wix,源代码就是XML格式的文件。这些文件经schema(wix.xsd)验证后,通过预处理、编译、连接来创建安装包。 通过wix平台,可以很容易地从一套短的源代码创建多个Windows Inst

2006-12-30 10:02:00 2512 2

原创 修改系统默认的音频设备

修改系统默认的音频设备,Windows并没有提供相应的API,按照MSDN的说法,是希望由用户自己决定该系统选项。但是在某些特殊情况下,希望程序直接修改该系统选项。下面列举两种修改系统默认音频设备的方法以及一个测试范例。1. 直接通过注册表来读取和修改系统默认音频设备在HKEY_CURRENT_USER/Software/Microsoft/Multimedia/Sound Mapper下有两

2006-12-19 09:33:00 11139 2

原创 运行多个Skype

一次可以启动多个Skype程序,界面如下图。<img alt=" GUI" onload="function anonymous(){img_auto_size(this,450,true);}" align="baseline" src="http://wincax.bokee.com/inc/RunMultiSkype.JPG" />使用方法:1. 添加已有的用户名(用于系

2006-12-19 09:32:00 1451 4

原创 在Dialog程序中使用WH_KEYBOARD_LL类型HOOK

在Dialog程序中使用WH_KEYBOARD_LL类型HOOK的方法:SetWindowsHookEx(WH_KEYBOARD_LL, (HOOKPROC)LowLevelKeyboardProc, AfxGetApp()->m_hInstance, NULL);LRESULT CALLBACK LowLevelKeyboardProc (INT nCode, WPARAM wParam

2004-12-22 13:26:00 1954

原创 如何禁止用户通过任务管理器终止进程的一种方法(Win2000/xp)

通过WH_CBT类型的HOOK 和nIndex为GWL_WNDPROC的SetWindowLong实现进程保护。实现的范例下载:附件[SafeProcess.rar]:http://blog.blogchina.com/upload/2004-12-20/20041220143803647829.rar1. 通过Timer过程或其他方式查找Windows任务管理器窗口是否存在。   

2004-12-21 13:43:00 2730 2

iOS Notes For Professionals

This iOS® Developer Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA, see credits at the end of this book whom contributed to the various chapters. Image

2018-10-16

doc-kurento-room.pdf

kurento开发文档,At Kurento we strive to provide services for developers of advanced video applications for the Web and smartphone platforms. We found that a common use case is represented by multi-party group calls requiring a media server for advanced media processing.

2018-10-16

The Game Programmer’s Guide to Torque

The Game Programmer’s Guide to Torque

2010-09-20

Torque for teens

pdf ebook for Torque engine

2010-09-20

ShaderDesigner 使用手册 E文 pdf

ShaderDesigner 使用手册 E文 pdf格式

2010-01-05

OpenGL三维图形编程.chm

电子书,chm格式,名称:OpenGL三维图形编程.chm

2009-02-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除