Generic Samples (Assembly) OS Last update File
AsmIsapi: An ISAPI Extension sample written in assembly (Masm). Does nothing specific, it is just a template for further development. it's Public Domain, source code is included; it uses WinInc include files. Win9x ME NT 2k XP 11/2009 AsmIsapi.zip
WinINet3: Sample showing how to read a file from Internet with WININET functions. HTTP header or file content is shown in an richedit control. Written in assembly (Masm). Source code is included, uses WinInc include files. Win9x ME NT 2k XP 08/2002 WinINet3.zip
ShowBitmap: Shows bitmaps with DirectDraw. Very simple app written in assembly (Masm). Source code is included, uses WinInc include files. Win9x ME NT 2k XP 11/2009 ShowBmp.zip
TestSEH: Small sample to demonstrate how to use SEH in Win32 assembly. VC compatible. Useful for programers only, source uses WinInc. Win9x ME NT 2k XP 11/2009 TestSEH.zip
ChIDTDir: Sample of how to call ring 0 from a Win32 app in Win9x systems. Win9x ME 08/2001 ChIDTDir.zip
Ring0NT: Sample of how to call ring 0 from a Win32 app in WinNT systems. NT XP 08/2001 ring0nt.zip
BOP: Sample how to call Win32 code from DOS in Windows XP. WinXP 11/2009 BOP.zip
EditLV: Implements an editable listview in report mode. Written in assembly (Masm). Source code is included, uses WinInc include files. Win9x ME NT 2k XP 10/2010 EditLV.zip
COM Samples (Assembly) OS Last update File
SimpleServer: An automation in-proc server. This is kind of a "Hello world" program in COM, implements a dual interface with just one property. The server is written without help of macro or object libraries. It is written in assembly (Masm style), to recreate the binary either the WinInc or Masm32 include files can be used. Win9x ME NT 2k XP 09/2008 SimpleServer.zip
SimplestServer: An automation in-proc server. Unlike SimpleServer this sample implements a custom, nondual interface, which works with VB, but not with WSH or VBScript. This sample is written in assembly (Masm style), to recreate the binary either the WinInc or Masm32 include files can be used. Win9x ME NT 2k XP 09/2008 SimplestServer.zip
ComExeSvr: An automation out-of-process server. The server implements a dual interface with just one property. The server is written without help of macro or object libraries. This sample is written in assembly (Masm style), to recreate the binary either the WinInc or Masm32 include files can be used. Win9x ME NT 2k XP 09/2008 ComExeSvr.zip
ComExeSvr2: Another automation out-of-process server. In addition to ComExeSvr this sample supports events. This sample is written in assembly (Masm style), to recreate the binary either the WinInc or Masm32 include files can be used. Win9x ME NT 2k XP 09/2008 ComExeSvr2.zip
AsmCtrl: An OCX control written in assembly (Masm style). It's fully functional, including support for events and automation. Source code is included, the WinInc include files are required. Win9x ME NT 2k XP 02/2011 AsmCtrl.zip
AsmCtrlX: Similiar to AsmCtrl. However, in this version most of the code which handles COM interfaces is hidden in a macro library. This may help to improve readability. Source code is included, the WinInc include files are required. Win9x ME NT 2k XP 07/2008 AsmCtrlX.zip
ExcelHost: This sample will use COM automation to host an excel application. To run this sample MS office needs to be installed. To compile this code you may need COMView version 1.5+, which is able to generate some required include and stub files for Masm. To (re)build the binary either the WinInc or Masm32 include files can be used. Win9x ME NT 2k XP 09/2008 ExcelHost.zip
ADOTest: This sample reads an MS Access database with ADO. Written in assemby (Masm style), source code is included, uses WinInc include files and libs. Win9x ME NT 2k XP 10/2007 ADOTest.zip
ShPrShEx: This is a shell property sheet extension which adds a tab to the properties dialog of explorer. It is just a sample without real purpose, so it is useful for programers only. Written in assembly (Masm style), source code is included, uses WinInc include files. Win9x ME NT 2k XP 11/2009 ShPrShEx.zip
RegView: This is a shell's namespace extension sample in assembly. In fact it's a conversion - with some improvements - of Microsoft's RegView sample. After installation registry can be viewed directly in Windows explorer. Source code is included, the WinInc include files are used. Win9x ME NT 2k XP 09/2008 RegView.zip
OleDragDrop: This sample was written by Random demonstrating how to code OLE DragDrop in assembly (Masm style). I changed it so now it makes no use of any non-free software and therefore can be used for any purpose. Written in assembly (Masm style), source code is included, uses either WinInc or Masm32 include files. Win9x ME NT 2k XP 09/2007 DragDrop.zip
CVViewer: An interface viewer for COMView and OLEView. Shows interface IShellFolder. Source code is included, uses Masm32. Win9x ME NT 2k XP 02/2003 CVViewer.zip
Samples (C++) OS Last update File
Explorer Sample: This is a code sample for an "explorer-like" application. It is written in native C++. Win9x ME NT 2k XP 11/2002 ExplSmpl.zip
Email Client Sample: This is a code sample for what I called an "email-client-like" application. That is, it has a treeview control on its left side, a listview control on the upper right and an edit control on the lower right side. Splitter bars for size adjusting are included. It is written in native C++. Win9x ME NT 2k XP 12/2002 EmClient.zip
Index