Contents tagged with "win32"

  • Win32 Socket Class

    SocketServer.zip - 261KbSocketHandle.zip - 52KbSocketPort_Linux.zip - 14KbSocketHandle1_3.zip - 48KbSocketPort_Linux1_3.zip - 13Kb

     

    To run the application as client, type SocketServer.exe /client from command prompt.

    Introduction

    This is an updated version of the Socket communication class that I released a couple of years ago. While the interface CSocketHandle is quite stable and easy to use, one has to admit that some of the initial design decisions to keep the …

    Read More 
  • Event Recorder

    EventRecorder.zip

    Introduction

    Initially, I created the event recorder DLL to demonstrate how to integrate mouse and keyboard events capture within a C/C++ application. This solution relies on a neat feature from Microsoft, a "DLL-Application".A "DLL-Application" is a WIN32 dynamic library that is callable from Rundll32.exe utility.

    RunDLL32

    RUNDLL32 is a small but powerful command-line utility that is included with Windows OS. It enables you to call exported functions from a 32-bit DLL. …

    Read More 
  • P/Invoke Visual Studio Add-in

    P/Invoke Library - Visual Studio Add-in

    Introduction

    This article describes the PInvokeLib Visual Studio Add-in. This tool will help you organize P/Invoke signatures that you use regularly in your application. Hopefully you will not find this tool to be outdated since it provides several features that you will not find in other tools.

    Background

    One website that I visit regularly is pInvoke.net. This is pretty cool website with a web service back-end. Similarly, it provides a Visual …

    Read More 
  • Win32 Named Pipe Communication

    PipeServer.zip

     

     

    To run the application as client, type PipeServer.exe /client from MSDOS.

    Introduction

    Just like the socket communication class, I use NamedPipe quite often in server application. I had this code and demo ready for quite a while now but finally found some time to publish it.

    Description

    The first thing you may want to know is that Windows Named Pipe offers One-Way or Full duplex communication between a server and a client. A Named pipe is a secured …

    Read More