EVERYTHiNG iS BYTE

     It was all of a sudden that I found myself lost in a much too academic lifestyle.
     Well, academic, both in Reverse Engineering and my totally different Speciality.
     However, after browsing through some one's Blog, which reminds me of much more to seek in life, I cannot help creating this, in vapid listlessness, to inspire myself to walk farther around, and to explore more of the outside world...


     欢迎访问我的共享空间   Welcome to My Sharing Space

cyclotron @ 2008-11-15 16:08

近期国家不间断推出房地产的利好政策,鼓励老百姓买房,而这些利好是建立在房市低迷,房价持续下跌的基础上的。如果以有效市场的观点来看待这些现象,其背 后实际反映的问题是房价已经进入了持续下跌的周期【下跌趋势形成】,而且很可能在几年内都不会见底,现在买房,就相当于是在5000点买入A股。任何有效 的市场,一旦形成下跌的趋势,就不会轻易的反转。现在中国的房价,是由开发商和投机客共同炒作起来的【对倒拉升】,而这种炒作之所以能够在近年快速见效, 其背后的原因则是国家的土地政策。地方政府收入很大一部分来自卖地的收入,开发商高价买下土地,是给地方政府输送了利益,现在开发商和投机客资金链断裂 【套牢】,老百姓在政策鼓励下买入房产,其实是为这些开发商和投机客的资产高位买单【高位接盘】,而作为房地产开发链中的这两个主体【主力】一旦逐渐退出 房地产市场,房价就不可能继续在高位徘徊【横盘是为了出货】,因为不再有人交易维持高房价,只有当房子的价格跌入合理投资价格区间时,这些投机资金才会再 次进入【抄底】。反弹是为了更好的下跌,即使房市利好见效,也只是房价下跌途中的一个短小驿站【反弹高点】,反弹之后还有更惨烈的下跌,开发商和投机客现 在出货越多,将来跌得越深。所以现在还打算买房投资的,就不要对房价抱以幻想了,打算买房自住的则需要谨慎考虑。


 
cyclotron @ 2008-10-08 20:01

As any body know how to create a dialog box in Win32, but lot of them are struggling how to place controls on that dialog. We don't have specific idea how to do that when we are new to Win32. Here I am showing sample code to place a tab control on dialog.

   Some of the steps that may be used for creating this application.

  • Create a new Empty Win32 application in VC++. The sample name can be SampleTab.

  • Click on Menu --> Add To Project --> New --> C++ source file and name the file as SampleTab.cpp

  • Copy and paste the code below.


#include <windows.h>
 #include "resource.h"
 #include "commctrl.h"

 BOOL CALLBACK LoginDlgProc(HWND, UINT, WPARAM, LPARAM); 

 int PASCAL WinMain (HINSTANCE hInst, HINSTANCE, LPSTR, int) 
 { 
     int nRet = DialogBoxParam(hInst, MAKEINTRESOURCE (IDD_DIALOG1), NULL, LoginDlgProc, 1);
     return 0;
 }

 BOOL CALLBACK LoginDlgProc(HWND hWnd, UINT uMsg, WPARAM wp, LPARAM lp)
{

//Initialize the common controls library.
//This will enable the program to use Tab control
 INITCOMMONCONTROLSEX InitCtrlEx;
 InitCtrlEx.dwSize = sizeof(INITCOMMONCONTROLSEX);
 InitCtrlEx.dwICC = ICC_TAB_CLASSES;
 InitCommonControlsEx(&InitCtrlEx);
 switch(uMsg)
 {

 case WM_INITDIALOG:
 {
    TCITEM tci1,tci2;
    tci1.mask = TCIF_TEXT;
    tci1.pszText = "Pane!";
    tci1.cchTextMax = strlen("Pane1") + 1;
    tci1.iImage = -1;
    tci1.lParam = 0;
    tci2.mask = TCIF_TEXT;
    tci2.pszText = "Pane2";
    tci2.cchTextMax = strlen("Pane2") + 1;
    tci2.iImage = -1;
    tci2.lParam = 0;
    TabCtrl_InsertItem(GetDlgItem(hWnd , IDC_TAB1), 0, & tci1);
    TabCtrl_InsertItem(GetDlgItem(hWnd , IDC_TAB1), 1, & tci2);
    return TRUE;
    break;
 } 
default:
   return FALSE;

 }

 }


  • Add a new dialog by clicking Menu --> Insert --> Resource --> Dialog. This is the dialog editor provided by VC++.
  • Keep the Dialog resource id as IDD_DIALOG1.
  • Place a tab control with the Resource ID as IDC_TAB1.
  • Save the resource file and resource.h file in the project folders.
  • Add the resource files to the project by using Menu --> Project --> Add to Project --> Files
  • This program will need the comctl32.lib for initializing the common controls like tab control. So add comctl32.lib to Project Settings --> Link Tab --> Object/Library modules.
  • Build and run the project.


 
cyclotron @ 2008-04-18 10:21




 
cyclotron @ 2008-04-08 14:29

v1.2

[+] support for locating and incorporating dual comctl32.dll

[+] scan for SDK marks

[+] fix magic jump matching pattern





 
cyclotron @ 2008-04-01 16:19

v0.9

+ fix code redirection delta






 
cyclotron @ 2008-03-31 12:13

v0.6

+ support VB programs

v0.3

+ supress unidentified stolen code restoration

+ make all sections writable


v0.2

+ support for victims whose apis are not redirected

+ fix exception for newer versions of PELock

 



 
歪酷博客
日历
网志分类
· 所有网志
· 心路历程
· 加解密作品
· 软件逆向工程
· 个人电脑
· 网络资源
· 点滴
· WinSDK参考
· 外挂研究
· 代码片断
· Windows源码
· 专业参考
· JOKE
· 赛克看盘
最新的评论
站内搜索
友情链接
· 歪酷博客
· 管理我的Blog
· Contact Me
· 看雪学院
· Roba-失去色彩的花丛
· haiwei的小黑屋
· 行至水穷处,坐看云起时
· Ma Maison
· Momoco has suicided himself
· 翼过无痕
· 一蓑烟雨

订阅 RSS

0080460

歪酷博客

本模版系 歪酷博客Zazamu Studio 授权使用 请尊重知识产权