Category Archives: Windows VC++

Build and use PCRE in windows

Building PCRE(older version) source code in windows environment is quite easy with CMake build system. Once you checkout the code from their SVN server using following command:    svn co svn://vcs.exim.org/pcre/code/trunk pcre Install the CMake build system and issue the following … Continue reading

Posted in Regex, Windows, Windows VC++ | Tagged , , | 1 Comment

Injecting code into .Net processes in WinXP

When we inject a piece of code into newly created suspended .Net process using CreateRemoteThread() technique, we will face a crash issue. The reason behind is, the .net framework will try to control the first running thread in the process … Continue reading

Posted in .Net, Windows, Windows VC++ | Tagged , , , | Leave a comment

Python and DDK

There is no easy way to call DDK functions from python. In the end, we need to create an extension for python and use that to call these functions. I have used ActivePython for that. Here is a simple python … Continue reading

Posted in python, Windows, Windows VC++ | Tagged , , , , | Leave a comment

Visual Studio linking error with .lib files

Recently when I was developing a small python extension code , I faced a linking error. I looked into the functions and other things. Everything was looking good. In the end, I noticed that library I am including is for … Continue reading

Posted in python, Windows, Windows VC++ | Tagged , , , , , | Leave a comment

Assembly language programming using visual studio 2010

Recently we faced with the issue of including assembly code in a project. After lot of Googling we got the following links. Just sharing these links. http://stackoverflow.com/questions/2839710/how-to-inline-assembler-in-c-under-visual-studio-2010http://msdn.microsoft.com/en-us/library/26td21ds%28v=VS.80%29.aspxhttp://www.deconflations.com/2011/masm-assembly-in-visual-studio-2010/http://oradim.blogspot.in/2009/03/jmp-around-win64-with-ml64exe-and.htmlhttp://msdn.microsoft.com/en-us/magazine/cc300794.aspxhttp://blogs.msdn.com/b/oldnewthing/archive/2004/01/14/58579.aspx

Posted in C/C++, Reversing, Windows, Windows VC++ | Tagged | Leave a comment

Visual Studio Editor Schemes

If you like to change the schemes of your visual studio editor, you can download the vssettings file from this URL. Looks cool. http://studiostyl.es/schemes How to use:1.Download the scheme and Save it.2.Run Visual Studio and go to: Tools->Settings->Import and Export … Continue reading

Posted in C/C++, Windows VC++ | Tagged | Leave a comment

Chrome IPC Internals – Part V

In this part, we will see how to send a message in synchronized manner. We will send a message to the server and wait for the server to respond. IPCSyncMessage.h #pragma once #define IPC_MESSAGE_START TestMsgStart // in1 must be false, … Continue reading

Posted in C/C++, Chrome, Cr-48, Internals, Windows VC++ | Tagged , , , , , , | 2 Comments