Click here to Skip to main content
14,970,844 members
Everything / Desktop Programming / Win32

Win32

Win32

Great Reads

by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Martin Mitáš
How to support scrolling within your controls.
by Hans Dietrich
XColorSpectrumCtrl displays a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.

Latest Articles

by Christ Kennedy
A simple application that keeps track of your CodeProject article statistics.
by David MacDermot
This article describes the creation of a non-MFC custom PropertyGrid control.
by Ștefan-Mihai MOGA
How to download files from an HTTP server.
by Michael Chourdakis
DirectX hardware screen capture and encoding with audio mixing capabilities. H264/H265/VP80/VP90/FLAC/MP3

All Articles

Sort by Score

Win32 

Please Sign up or sign in to vote.
2 Sep 2013
Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
Please Sign up or sign in to vote.
1 Mar 2021
Ayush Swiss
C++, WebView2, Edge Browser, Edge in MFC application
Please Sign up or sign in to vote.
1 Mar 2011
Tim Stevens
An updated version of the code in David A Jones' article "Memory Leak Detection"
Please Sign up or sign in to vote.
28 Mar 2014
Alex Culea
Shows how to create a window that behaves like a context menu
Please Sign up or sign in to vote.
19 May 2015
Yohamnes Hernandez
How to free blocked files, inclusive if they are mapped in memory. Something that many tools are missing.
Please Sign up or sign in to vote.
26 Nov 2016
JamesFaix
Get a collection of all running Excel interop Application objects (not just the active one)
Please Sign up or sign in to vote.
5 Mar 2017
Jose A Pascoa
Part 1 - Using DMath from C#
Please Sign up or sign in to vote.
2 Oct 2012
Clifford Nelson
This article presents a way to display totally dynamic data in a windows grid using a dictionary.
Please Sign up or sign in to vote.
23 Jan 2020
Steffen Ploetz
Another fully functional ownerdraw menu with minimal effort - this time based on Win32, with icons instead of bitmaps, with accelerators and tested for ReactOS and WinNT 4.0 to Windows 10
Please Sign up or sign in to vote.
1 Dec 2015
Farhad Reza
This tip describes how we can create a simple window in Go programming language using Win32 API functions.
Please Sign up or sign in to vote.
27 Jun 2011
charles henington
1 alternative  
Please Sign up or sign in to vote.
31 Oct 2013
Debopam Pal
How to bring data from Entity model to Excel file using LINQ.
Please Sign up or sign in to vote.
15 Jan 2016
veen_rp
Big lists (>1,000,000 items) can cause out-of-memory errors raised by .NET. Manage them by a List of List(Of T)
Please Sign up or sign in to vote.
20 Nov 2011
Bernhard Hiller
That's far too obscure.All you need to do is store a reference to the TabPage instance which was removed from the TabPages collection of the TabControl. You may use the form where the TabControl is placed for that purpose.You could also create your own TabControl which has an extra property...
Please Sign up or sign in to vote.
5 Jul 2012
Matthias Böhnke
Bug Fixes for Reading Barcodes from an Image - III
Please Sign up or sign in to vote.
10 Jun 2014
Anamera
This XSLT will output an Excel worksheet containing a CSV type of record collection in a more usable XML format.
Please Sign up or sign in to vote.
10 Oct 2014
Gerardo Recinto
Virtualization of RAM & Disk for high-speed, low-footprint & scalable data caching
Please Sign up or sign in to vote.
6 Oct 2015
Maxim Komlev
.NET classes to enumerate applications associated with protocol
Please Sign up or sign in to vote.
10 Dec 2015
JinWenQiang
Get started with your own SDN (Software Defined Network) simulation network
Please Sign up or sign in to vote.
17 Jan 2016
veen_rp
Use and benchmark of coordinate transformation using the C++ proj4 library in VB.NET and C#
Please Sign up or sign in to vote.
15 Jan 2016
veen_rp
Geographic coordinates from decimal degree to degrees, minutes & seconds. And vice versa.
Please Sign up or sign in to vote.
24 May 2020
Jonas Vago
Application to show how to zigzag order a matrix
Please Sign up or sign in to vote.
27 Jun 2018
Clifford Nelson
These are some methods I created to help with creating and deleting Windows shared directories.
Please Sign up or sign in to vote.
21 Oct 2010
Aescleal
printf is so 1980s. If you don't want to dig out your shoulder pads and big hair why not go for a more modern C++ approach?Instead of a function try a stream buffer:class message_box_stream_buf : public std::basic_streambuf{ public: message_box_stream_buf( const...
Please Sign up or sign in to vote.
6 Apr 2014
Prabakaran T
Ultimate USB Reset Attribute with powerful option
Please Sign up or sign in to vote.
30 Nov 2014
David O'Neil
I needed an 'Update' solution for a project, and modified Geert van Horrik's 'Updater' to do so. This is the solution in Visual Studio Community Edition
Please Sign up or sign in to vote.
26 Sep 2015
Piyush Manharlal
Using integer instead of Enum for ComboBox and Radio Button in XAML
Please Sign up or sign in to vote.
15 Dec 2016
Farhad Reza
This tip describes how we can design application interface using Win32 API in Rust Programming language.
Please Sign up or sign in to vote.
6 Jun 2017
Nick Tziamihas
In this article, we show how you can execute asynchronous code on the main thread without async, by replicating Unity's coroutine framework.
Please Sign up or sign in to vote.
27 Dec 2020
Steffen Ploetz
Step-by-step instructions and source code snippets for inserting a bitmap (or a section of it) into an icon image.
Please Sign up or sign in to vote.
19 Dec 2019
Rick York
A simple, header-only class for high resolution timing
Please Sign up or sign in to vote.
23 Jan 2020
Steffen Ploetz
The Win32++ class library sample collection does not contain a sample, that creates the frame menu via API instead of via resources. Here is the missing part.
Please Sign up or sign in to vote.
3 Oct 2011
Karthik Kalyanasundaram
Do you really need an explicit call to _endthreadex() in your thread function created using _beginthreadex()
Please Sign up or sign in to vote.
15 Apr 2012
andrewbb@gmail.com
Includes most API functions except for graphics.
Please Sign up or sign in to vote.
24 Sep 2013
Mike Meinz
PartnerTech provides a 32-bit DLL and a 64-bit DLL for communicating with the CD-7220 Series Customer Display in true USB mode. This tip demonstrates a .NET class that can be used to provide an easy way to access the PartnerTech-provided 32-bit DLL.
Please Sign up or sign in to vote.
27 Jun 2015
Pedram_Niloufari
C# .Gif viewer / Snipper control
Please Sign up or sign in to vote.
21 Oct 2019
Steffen Ploetz
How to embed icons into Win32 programs without utilizing resources - useful for platforms without resource editor/resorce compiler, e.g., ReactOS. Learn the missing things about the .ico format.
Please Sign up or sign in to vote.
8 Jun 2012
pdoxtader
Use DeviceIoControl, QueryDosDevice and WNetOpenEnum to get information about your system.
Please Sign up or sign in to vote.
3 Feb 2011
Menuki
This solution works in Windows environment under Visual Studio.I don't know if there is a Linux equivalent.I use a counter common for all processes.#pragma data_seg("counter") // counter common for all processesLONG gs_nCtApp = -1; #pragma data_seg()#pragma comment(linker,...
Please Sign up or sign in to vote.
6 Jul 2011
Mukit, Ataul
This tip, taken from MSDN tells the basic of ownership in windows.
Please Sign up or sign in to vote.
20 Jul 2011
Mukit, Ataul
this tip tells about a tool that converts a win32 rc file to XML
Please Sign up or sign in to vote.
7 May 2012
emranallan
Lock Device Screen ,to prevent an one working on the device
Please Sign up or sign in to vote.
17 Jul 2012
Jake Franta
SolidWidgets Grid tutorial.
Please Sign up or sign in to vote.
8 Oct 2012
djdynamix
A little workaround to enable a VB.NET application to read and alter the WPC settings for any user.
Please Sign up or sign in to vote.
4 Oct 2012
Ritesh_Singh
C++ code to connect/access DB2 database using DB2 call level interface(CLI)
Please Sign up or sign in to vote.
25 Jan 2013
Cinchoo
This article show how to consume Windows registry information using Cinchoo Configuration Manager.
Please Sign up or sign in to vote.
28 Jul 2013
Mike Meinz
How to use .NET Framework to determine the drive letter of the CD/DVD (optical) drive.
Please Sign up or sign in to vote.
31 Jul 2013
Thomas B Dignan
Getting the text of Win32 Error codes for 99% of cases.
Please Sign up or sign in to vote.
30 Jun 2014
Keith Balaam
Run multiple instances of a Windows service on the same machine.
Please Sign up or sign in to vote.
26 May 2016
peterswinkels
Query Assistant - connect to databases with ADO and execute queries
Please Sign up or sign in to vote.
23 Oct 2014
BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.
Please Sign up or sign in to vote.
5 Apr 2015
Chris Jorna
Communication library files - UDP broadcast
Please Sign up or sign in to vote.
16 Apr 2015
Chris Jorna
Communication Library Files - LMS5lib | Connection and structure
Please Sign up or sign in to vote.
24 Jun 2015
maratoni
This is a brief tutorial on how to sign a Windows device driver with WDK 7.1
Please Sign up or sign in to vote.
15 Jan 2020
Steffen Ploetz
A solution for: If the toolbar is created button by button with single TB_ADDBUTTONS calls, the width of the separators is not calculated correctly.
Please Sign up or sign in to vote.
15 Apr 2010
Joshua Tully
So I’m playing around with DX10 and decide to do some input work.  After much research apparently no one can decide what the best way to handle keyboard input so I’m just going to use WM_KEYDOWN/UP and store the state in a bool[] and check that in the rendering code.  Also, instead of using...
Please Sign up or sign in to vote.
7 Apr 2021
Ștefan-Mihai MOGA
How to download files from an HTTP server.
Please Sign up or sign in to vote.
15 Sep 2011
Mukit, Ataul
This tip shows you how to convert the dimension values in the .rc file of a dialog into pixels
Please Sign up or sign in to vote.
15 Sep 2011
Mukit, Ataul
This is not so much of a trick, just a little tip about how CTRL+I is interpretated in a window
Please Sign up or sign in to vote.
9 Mar 2012
Grigory Avdyushin
Short description how to create a sexy badge for windows 7 taskbar
Please Sign up or sign in to vote.
5 Jul 2012
Pasan Eeriyagama
how to get gridview selected row value to text box which is in another windows form
Please Sign up or sign in to vote.
25 Aug 2012
Rich Turner
Free space cleaner to overwrite empty space on logical disks
Please Sign up or sign in to vote.
26 Sep 2012
himanshupareek
Parse the PCAP dump and extract NETBIOS and DNS queries.
Please Sign up or sign in to vote.
6 Nov 2012
PJ Arends
I needed to disable the Sleep button on my keyboard, here's how.
Please Sign up or sign in to vote.
5 Feb 2013
Lars [Large] Werner
Use the standard GDI API to load an HBITMAP into SFML.
Please Sign up or sign in to vote.
3 Jun 2013
LarryCharlton
Using system, named, and hex color values
Please Sign up or sign in to vote.
28 Jul 2014
Muhammad Muddasar Yamin
The article is about launching elevated processes through command line
Please Sign up or sign in to vote.
2 Jun 2016
Eric Payne
The simplest, fastest way to send a file from your computer using Bluetooth!
Please Sign up or sign in to vote.
13 Jan 2011
Steve Maier
To get this to work in .NET 4, you have to change the DLLImport signature.[DllImport("kernel32.dll", SetLastError = true)]private static extern IntPtr CreateFile( string lpFileName, uint dwDesiredAccess, int dwShareMode, ref SECURITY_ATTRIBUTES lpSecurityAttributes, ...
Please Sign up or sign in to vote.
22 Jun 2011
ugavnholt
How to invoke foreign remoting interfaces in remote hosts.
Please Sign up or sign in to vote.
1 Sep 2011
Jose David Pujo
With SendInput:void SetNumLock (bool active){ BYTE keyState[256]; GetKeyboardState((LPBYTE)&keyState); bool active0= keyState[VK_NUMLOCK] & 1; if (active0!=active) { INPUT inp[2]; ZeroMemory(inp, sizeof(inp)); inp[0].type=INPUT_KEYBOARD; ...
Please Sign up or sign in to vote.
7 Sep 2012
zippy1981
This is an alternative for "ODBCTracer"
Please Sign up or sign in to vote.
12 Sep 2012
sam stokes
How to implement live tile notification in just a few lines of code
Please Sign up or sign in to vote.
11 Sep 2012
sam stokes
This sample demonstrates how to use the Tile Template, specifically the TileSquareImage and an image.
Please Sign up or sign in to vote.
25 Sep 2012
sam stokes
This is a really simple implementation of JavaScript and HTML5 to be used in a Windows 8 Store app.
Please Sign up or sign in to vote.
22 Oct 2012
FlyersWeb
This article present how to make async HTTP Request in a command line application
Please Sign up or sign in to vote.
13 May 2013
Douglas de Alvarenga Silva
Add-in Word for PrintScreen
Please Sign up or sign in to vote.
3 Jul 2013
Emmery Chrisco
Tabbed Browser Control addon
Please Sign up or sign in to vote.
18 Jul 2013
Mircea Sirghi
Jacob for Excel, pivot tables, VBA functions, etc.
Please Sign up or sign in to vote.
2 Sep 2014
Mike Hankey
A simple solution to rolling up a Custom ComboBox list on mouse leave.
Please Sign up or sign in to vote.
18 Dec 2014
Brisingr Aerowing
This is an alternative for "Security Blackout Window"
Please Sign up or sign in to vote.
15 Apr 2015
Chris Jorna
Communication Library Files - NetTools | IsSameSubnet
Please Sign up or sign in to vote.
16 Mar 2019
WhiskeyBeforeWater
A nodular Singely Linked List for VBA with some basic functions
Please Sign up or sign in to vote.
20 Nov 2013
Richard MacCutchan
1 alternative  
Obscure a window or the screen and show a dialog.
Please Sign up or sign in to vote.
15 Dec 2017
Laurie Stearn
Dialogex with Listbox to manipulate long paths in Windows
Please Sign up or sign in to vote.
24 Mar 2014
xenotron
A custom implementation of the FindResource() and LoadString() functions with better error indication. Pointing the direction for those who want to learn the binary PE resource format.
Please Sign up or sign in to vote.
7 May 2014
ehab_nour
Fast algorithm
Please Sign up or sign in to vote.
19 Dec 2014
OKarpov
How to use ASM in C#.NET and most fast memory copy method
Please Sign up or sign in to vote.
12 Dec 2016
Farhad Reza
In this tip, we will see how we can use the Rust language to do GUI (Graphical User Interface) programming. As an example program, we will create a simple Window. Using Win32 API functions.
Please Sign up or sign in to vote.
31 Dec 2020
Member 15004323
Display smart messages on the Windows Desktop as XBOX360 achievements
Please Sign up or sign in to vote.
23 Mar 2013
Dejan Mauer
Probably the easiest way to detect faces in images by using Accord.net framework
Please Sign up or sign in to vote.
30 Sep 2014
Vahid_N
Microsoft has not updated Iran's daylight saving time information since 2009. Let's find out how it works and then fix it for the next 100 years!
Please Sign up or sign in to vote.
29 Aug 2013
Max Methot
This little simple and easy to read program will help you understand how to print to a specific printer, local or shared on a network.
Please Sign up or sign in to vote.
6 Mar 2013
Ahmed Elkafrawy
An easy way to simulate keyboard press & release keys to another application
Please Sign up or sign in to vote.
20 May 2014
Ed Nutting
How to fix LocalDB / SQL Server: "Cannot open database "XYZ" requested by the login. The login failed. Login failed for user ABC"
Please Sign up or sign in to vote.
26 Jul 2016
Yochai Timmer
Debugging C++ projects in release. Finding the lost object information
Please Sign up or sign in to vote.
29 Jul 2013
Johnny J.
How to do a program whose main graphic interface consists of an icon in system tray
Please Sign up or sign in to vote.
28 Dec 2014
Akos Mattiassich
Find a window on the desktop, spy its properties and manipulate it.
Please Sign up or sign in to vote.
24 Apr 2010
Md. Marufuzzaman
Introduction How can you lock your Windows NT based Workstation programmatically? To do this, you just need a little basic knowledge on how to use user32.dll. Here you will find a function name as LockWorkStation() and you need to know how to call this function. A sample example with the...
Please Sign up or sign in to vote.
27 Sep 2010
bleedingfingers
3 alternatives  
I want to share a simple class I use for this purpose. The class operates on kernel objects.
Please Sign up or sign in to vote.
9 Mar 2015
sunhui
Integrate .NET Component to your Native MFC Application at runtime
Please Sign up or sign in to vote.
30 Jun 2010
Niklas L
This tip show how to display all entries from a C++ vtable in the VS debugger.
Please Sign up or sign in to vote.
19 Oct 2012
Orjan Westin
Simple function to get the text message corresponding to a system error.
Please Sign up or sign in to vote.
27 Jun 2012
Brady Kelly
A quick and easy way to ensure that your Code First DB Initializer is always run when your app starts, not just on the first data access operation
Please Sign up or sign in to vote.
28 Dec 2013
Kees van Spelde
How to control a Windows Service from C# .NET
Please Sign up or sign in to vote.
13 Nov 2013
Debopam Pal
Export Advanced Excel 2007 Report
Please Sign up or sign in to vote.
20 Oct 2010
Ajay Vijayvargiya
1 alternative  
Need to Format/sprintf a string before displaying a messagebox? Here is solution!
Please Sign up or sign in to vote.
2 Jan 2014
Michael_Davies
Printing To Line Printers (EPOS) Using Windows
Please Sign up or sign in to vote.
13 Jan 2011
DaveyM69
1 alternative  
How to prevent a CD/DVD drive from being opened.
Please Sign up or sign in to vote.
15 Oct 2012
Gun Gun Febrianza
Show and hide your drive using software drive conceal
Please Sign up or sign in to vote.
11 Jan 2017
Dean Feng
A simple method to display a waiting dialog in WinForm application, and not block the main form.
Please Sign up or sign in to vote.
6 Feb 2014
Adamanteus
Intercepting SEH exceptions in C++ program
Please Sign up or sign in to vote.
4 Nov 2014
Dariush Tasdighi
A very powerful and customizable source code that converts the Infix to Postfix expression.
Please Sign up or sign in to vote.
10 Nov 2015
John Torjo
Want to automatically let your users know when you've posted an update of your application? If your project is hosted on github, you're in luck!
Please Sign up or sign in to vote.
20 Feb 2017
Henryk Filipowicz
A class to read and parse reg files
Please Sign up or sign in to vote.
23 Feb 2015
Sujith Karivelil
This article Describes Connectivity to Gmail using IMAP, and also guide you to download and save mail content along with attachment.
Please Sign up or sign in to vote.
2 Feb 2011
Mukit, Ataul
This tip shows the technique of loading a 256 color bitmap into an image list
Please Sign up or sign in to vote.
24 Jun 2013
Tejashwi Kalp Taru
Ever wanted to change the Windows Aero color without restarting the DWM?
Please Sign up or sign in to vote.
20 Sep 2012
Anuraj Parameswaran
Delete a file or folder to Recyclebin using C#
Please Sign up or sign in to vote.
6 Feb 2012
Mukit, Ataul
Given a device context, replace a color (clrColorReplace) in a rectangular region of the device context with another color (clrColorFill)
Please Sign up or sign in to vote.
10 Apr 2015
El_Codero
Convert doc/docx documents to pdf with Foxit Reader Printer. Works without use of Word Interop/SharePoint.
Please Sign up or sign in to vote.
4 May 2012
Subha.N
Tip to create a database application using C# .NET in the shortest time possible.
Please Sign up or sign in to vote.
26 Nov 2012
nilotpalbarpujari
VS 2010 style toolbox written in C#
Please Sign up or sign in to vote.
24 Jan 2013
Simon-Benyo
Hooking unmanaged processes using VB.NET.
Please Sign up or sign in to vote.
17 Jan 2016
Ahmed Amer Jaf
Downloading files from the Internet with one line without Freezing Form
Please Sign up or sign in to vote.
29 Aug 2014
Ștefan-Mihai MOGA
A quick solution to transform binary data to plain text
Please Sign up or sign in to vote.
17 Nov 2015
flyhigh
SOUI is a directui library and had been used in many commercial softwares, which is published based on MIT and is completely free to any user.
Please Sign up or sign in to vote.
20 Aug 2014
slaon77
Setting APM level for SATA hard drive
Please Sign up or sign in to vote.
1 Aug 2014
Gautham Prabhu K
Perform custom disk clean up when hard disk free space goes low
Please Sign up or sign in to vote.
10 Mar 2017
Southmountain
Gems for typedef and namespace in C
Please Sign up or sign in to vote.
9 Feb 2015
Member 11246861
Under laptop's control, microcontroller sends sensor data to laptop that displays numbers and graphic.
Please Sign up or sign in to vote.
11 Aug 2015
George Jonsson
This tip uses SendMessage and WM_COPYDATA to transfer the data.
Please Sign up or sign in to vote.
27 Dec 2010
Mr Nukealizer
Ideal for finding LoadLibrary() in 32 bit programs from a 64 bit program but it works for any function in any DLL and supports forwarded functions and ordinals.
Please Sign up or sign in to vote.
6 Jun 2013
Manish K. Agarwal
Windows symbols and crash dump analysis.
Please Sign up or sign in to vote.
9 Dec 2015
U_IO
Consider possibility of alternative syntax usage to refer and access to last anonymous objective variables in C# instead of using construction in code.
Please Sign up or sign in to vote.
28 Dec 2020
Robert Gustafson
Simplifies working with ToolStrip-type menus and tool bars for MDI-parent and other forms; also works with ToolStrip-type context menus
Please Sign up or sign in to vote.
1 Feb 2013
aaverian
A very simple console progress bar.
Please Sign up or sign in to vote.
27 Jan 2011
Malli_S
Solution II used to use following simple way to manage the single instance of the app.//Usually I append the UID to the application name to achieve the unique object name.TCHAR szAppName[] = _T("Application_Name_999e7ba3-e8fc-4c21-985b-ab11f39ce759");HANDLE hMutex =...
Please Sign up or sign in to vote.
18 Aug 2014
Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
Please Sign up or sign in to vote.
21 Jun 2013
Leonid Belousov
This tip shows how to find the default browser command line in registry using Visual C++.
Please Sign up or sign in to vote.
30 Aug 2014
Emiliarge
2 ways to read and write data to *.xls and *.xls files and display it on DataGridView.
Please Sign up or sign in to vote.
30 Apr 2013
Aydin Homay
In the tip, I want to illustrate how to host windows form in windows user control
Please Sign up or sign in to vote.
12 Aug 2014
Gihan Liyanage
Simple Dapper.NET Example with MVC
Please Sign up or sign in to vote.
5 Apr 2013
dapeacenforcement
Easy way to edit the right ListViewItem (Row/Column) after MouseDoubleClick.
Please Sign up or sign in to vote.
10 Oct 2012
pavan1361
adding require blocking site in hosts file
Please Sign up or sign in to vote.
6 Jan 2015
John J. Scott
A tip that compares the performance of a simple Mandelbrot generator in C# against native C++
Please Sign up or sign in to vote.
29 Sep 2015
HP2M
This tip covers handling two Excel lists using Interop.
Please Sign up or sign in to vote.
28 Apr 2017
Ahmed Elkafrawy
Implementation of an easy, fast, and optimized (CByte, CShort, CInt) with bits access using bit field and union
Please Sign up or sign in to vote.
7 Nov 2010
Tsuda Kageyu
1 alternative  
An application of lambda expressions to simplify your code.
Please Sign up or sign in to vote.
12 Jan 2012
Ștefan-Mihai MOGA
How to get temporary files with any extension.
Please Sign up or sign in to vote.
6 Sep 2012
Suraj S Koneri
Test whether your remote server rebooted or not from C# code.
Please Sign up or sign in to vote.
14 Jan 2014
Asif Bahrainwala
Atomic set and test in critical sections
Please Sign up or sign in to vote.
27 Nov 2017
Altaf Ansari
Converting XML Data into DataTable and Exporting DataTable into Excel File
Please Sign up or sign in to vote.
27 Sep 2010
Aescleal
I tend to use boost::interprocess::named_mutex for the same thing. The equivalent code is something like:using boost::interprocess;const char *application_name = "Application Name";int main()try{ struct named_mutex_killer { ~named_mutex_killer() {...
Please Sign up or sign in to vote.
5 Nov 2010
codefabricator
// Even more simplifiedclass Program{ [DllImport("user32", ExactSpelling = true)] static extern bool EnumWindows(WNDENUMPROC lpEnumFunc, IntPtr lParam); [UnmanagedFunctionPointer(CallingConvention.Winapi)] delegate bool WNDENUMPROC(IntPtr hwnd, IntPtr lParam); ...
Please Sign up or sign in to vote.
2 Apr 2015
Chris Jorna
Source code and demo on general TCP client & server library mainly usable for / tested on SICK lidar devices
Please Sign up or sign in to vote.
27 Jun 2020
honey the codewitch
Extensive performance and API improvements for streaming MIDI and more
Please Sign up or sign in to vote.
24 Jun 2013
Tejashwi Kalp Taru
When we have to scroll some text in the dialog box with a background image, you can see flicker. Here's the technique of double buffer to solve this problem
Please Sign up or sign in to vote.
17 Aug 2014
Ștefan-Mihai MOGA
Quick tool to convert batch PNG images to ICO format
Please Sign up or sign in to vote.
28 Jun 2011
George Swan
Couldn't the class RegEdit be replaced by one simple method?private void SetKey(bool enableTaskManager) { using ( var mKey = Registry.CurrentUser.CreateSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System")) {...
Please Sign up or sign in to vote.
4 Oct 2018
Antagony
Schedule a task to run this script, which checks whether Windows has [re]connected to the specified router after startup, sleep, or hibernation – and attempt to connect if not.
Please Sign up or sign in to vote.
12 Jan 2016
Amit KD
How to identify if the executable is 32-bit or 64-bit
Please Sign up or sign in to vote.
19 Jan 2011
Dave Kreskowiak
This is probably why your global keyboard and mouse hooks stopped working on Windows 7
Please Sign up or sign in to vote.
18 Sep 2014
Gautham Prabhu K
Creating and using Service Locator pattern
Please Sign up or sign in to vote.
28 Sep 2012
Dr. Vinayak Ashok Bharadi
Homomorphic filtering is a generalized technique for signal and image processing, involving a nonlinear mapping to a different domain in which linear filter techniques are applied, followed by mapping back to the original domain.
Please Sign up or sign in to vote.
13 Aug 2010
Not Active
Plagiarized from http://msdn.microsoft.com/en-us/library/ms724429(VS.85).aspx[^]
Please Sign up or sign in to vote.
27 Mar 2013
metastruct
When WebClient, HttpRequest, and all else fail, BITSadmin solves your download woes
Please Sign up or sign in to vote.
22 Jan 2014
imagiro
How to use the shell to unzip a file to a folder location
Please Sign up or sign in to vote.
7 Mar 2007
xdoukas
A tip on the implementation of Unix ucontext_t operations on Microsoft Windows.
Please Sign up or sign in to vote.
8 Sep 2013
Yuksel YILDIRIM
How to show digits of reciprocal of a number (or division) in more precision
Please Sign up or sign in to vote.
22 Feb 2011
Mukit, Ataul
1 alternative  
This tip shows how to simulate a key stroke in windows environment
Please Sign up or sign in to vote.
11 Jan 2013
Zanga D. Dagnogo
This is a simple multiclient server chat on a Local Area Network.
Please Sign up or sign in to vote.
22 Jan 2013
Vinod Viswanath
Are you annoyed of the "Restart now" message in Windows? Here is a solution for that.
Please Sign up or sign in to vote.
9 Dec 2014
Emiliarge
How to statically link a Win32 Project with Visual C++ libraries (m***.dll)
Please Sign up or sign in to vote.
24 Mar 2012
Mukit, Ataul
This tip shows how to save a 24 bitmap to a file given filename, pixel data, bitmap width and bitmap height
Please Sign up or sign in to vote.
6 Jul 2013
hirosht
Step by step method of thresholding a image using the EmguCV API in C#
Please Sign up or sign in to vote.
30 Dec 2014
Daniel Lieberwirth (BrainInBlack)
A class representing the state of a connected XBOX 360 controller
Please Sign up or sign in to vote.
12 Mar 2015
K.badari
Programmatically Convert PDF-To-XPS Document
Please Sign up or sign in to vote.
18 Dec 2015
Redgum
A customizable MessageBox() DLL and test application with dozens of built-in icons and color schemes
Please Sign up or sign in to vote.
10 Nov 2018
hussam.it
Simple Word Document File Viewer
Please Sign up or sign in to vote.
26 Sep 2015
Southmountain
Some take-away to improve the quality of desktop software
Please Sign up or sign in to vote.
26 May 2013
maftahur
Capturing web screen in different formats without any browser(PhantomJS)
Please Sign up or sign in to vote.
13 Nov 2011
KazMaxLtd
1 alternative  
This article describes how to hide or show TabControl tabs at runtime
Please Sign up or sign in to vote.
23 Jul 2014
Brandon Rohrer
Embed HTML in a Word Document
Please Sign up or sign in to vote.
15 Jan 2011
Mukit, Ataul
This tip shows how to create a service
Please Sign up or sign in to vote.
14 Dec 2019
Michael Chourdakis
A ready to use equalizer for your projects
Please Sign up or sign in to vote.
21 Oct 2015
Mike 2005
Code to include in a deployment project
Please Sign up or sign in to vote.
5 Mar 2017
Jose A Pascoa
Part 1 - Using DMath from C#
Please Sign up or sign in to vote.
2 Oct 2012
Clifford Nelson
This article presents a way to display totally dynamic data in a windows grid using a dictionary.
Please Sign up or sign in to vote.
23 Jan 2020
Steffen Ploetz
Another fully functional ownerdraw menu with minimal effort - this time based on Win32, with icons instead of bitmaps, with accelerators and tested for ReactOS and WinNT 4.0 to Windows 10