MobiNav

All Things Mobility

juin 22nd, 2007

反(调试/跟踪/脱壳) 技术集锦

Source: here

具体代码就不贴了,知道原理就可以写出代码。一些是实践所得,一些是别人的成果,也
都收集在一起了。解密、加密这个攻防战好像和传统作战的攻防战不同,防的一方能用的技术
远远多于攻的一方。

Read the rest of this entry »

juin 4th, 2007

Comment spécifier un URL en démarrage de Pocket Internet Explorer

SHELLEXECUTEINFO  SHInfo;
SHInfo.cbSize = sizeof(SHELLEXECUTEINFO);
SHInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
SHInfo.lpFile = lpFilePath;  // path of PPC explorer
SHInfo.lpParameters = lpURL;  // URL

ShellExecuteEx(&SHInfo);

mars 9th, 2007

Wave Class for Playing and Recording Wave Files

look here

février 28th, 2007

Animated Dialog windows

This is a very good article that gives a way for cool user friendly look GUI. Much imagination with simple implementation.

février 27th, 2007

C++ class for fixed point math

Egawtry has published an article on CodeGuru to cope with floating point operations for whose processors that needs emulate floating point operation.

very interesting.

février 26th, 2007

L’analyse de dépendance avec link.exe

On peut obtenir un certain nombre d’information avec l’optioon /dump  du linker de la plateforme cible. Par exemple,

« C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\WCE400\BIN\link.exe » /dump -HEADERS -DEPENDENTS toto.exe > dump.txt 

il donne la sortie ci-dessous avec le résumé, les dépendances, etc. 
Read the rest of this entry »

février 21st, 2007

Transparent Button with Region and Anti-Aliased Edges

This is an example of how to create and use masked and semi-transparent bitmap buttons that can be overlaid on any background, including other bitmaps. The buttons are automatically alpha-blended (anti-aliased) with the background to create nice smooth edges, and provide region clipping to create various elliptical and other shapes.

For details click codeproject

fdljmkdfsqlmfdsqqjfl

février 21st, 2007

alternative to MFC

Win32++ provides a framework for developing applications, using the Win32 API directly. It supports all MS operating systems which run the Win32 API, from Windows 95 through to Windows XP and Vista. This framework is designed to produce programs with a similar look and feel to those created using MFC. It can develop applications based on simple windows, dialogs, frames and MDI frames. The frames produced by Win32++ have the following features:

  • Rebar Control (to contain the Menubar and Toolbar)
  • Menubar
  • Toolbar
  • Status bar
  • Tool tips

Win32++ also brings an object oriented approach to programming directly with the Win32 API. Each window created is a C++ class object capable of having its own window procedure for routing messages.

Click CodeProject for detail

You may also interest in VCF or Ultimae++ or wxWidgets

février 21st, 2007

Plugin System – an alternative to GetProcAddress and interfaces

Plugins are the common way for extending applications. They are usually implemented as DLLs. The host application locates the plugins (either by looking in a predefined folder, or by some sort of registry setting or configuration file) then loads them one by one with LoadLibrary. The plugins are then integrated into the host application and extend it with new functionality.

This article will show how to create a host EXE with multiple plugin DLLs. We’ll see how to seamlessly expose any of the host’s classes, functions and data as an API to the plugins. There will be some technical challenges that we are going to solve along the way.

Click CodeProject for detail.

février 20th, 2007

CButtonST

介绍
VC界面设计中,按钮占有很大的份额.如果设计漂亮专业友好的按钮是每个程序员必须要掌握的基本功.然而VC本身提供的按钮样式有限,且制作不便.现在使用这个免费的按钮CButtonST类来制作平面/非平面带有图标的按钮,非常的简洁和实用.本类可以创建平面带有图标,文字的按钮.在原来的基础上笔者加入了WinXP样式的圆角按钮,增加ToolTip冒泡提示文字,增加打开URL的功能. [Here]