All-In-One Windows Development Samples (Updated on 2010-8-26)
Download: https://1code.codeplex.com/releases
These are Windows Development code samples in All-In-One Code Framework.
In the list, some languages do not have a link. For example,
Out-of-process COM Service (C++ | C++/ATL | C# | VB.NET)
It means that the C++ and VB.NET versions are still under development.
COM Samples
- In-process COM Server (C++ | C++/ATL | C# | VB.NET)
- Out-of-process COM Server (C++ | C++/ATL | C# | VB.NET)
- Out-of-process COM Service (C++ | C++/ATL | C# | VB.NET)
- ActiveX Control (C++/ATL | C++/MFC | C# | VB.NET)
- ActiveX Control safe for scripting (C++/MFC | C# | VB.NET)
- Invoke a COM server (C++ | C++/ATL | C++/MFC | C# | VB.NET)
- Serviced Component (C# | VB.NET)
- In-process reg-free COM server (C++ | C# | VB.NET)
- Invoke a reg-free COM server (C++ | C# | VB.NET)
Windows Shell Samples
Shell Extension
- Shell Property Sheet Extension Handler (C++ | C++/ATL | C# | VB.NET)
- Shell Context Menu Extension Handler (C++ | C++/ATL | C# | VB.NET)
- Shell Drag and Drop Extension Handler (C++ | C++/ATL | C# | VB.NET)
- Shell Infotip Extension Handler (C++ | C++/ATL | C# | VB.NET)
- Shell Icon Extension Handler (C++ | C++/ATL | C# | VB.NET)
- Shell Icon Overlay Extension Handler (C++ | C++/ATL | C# | VB.NET)
- Shell Column Extension Handler (C++ | C++/ATL | C# | VB.NET)
Shell Application
- Shell Known Folders (C++ | C# | VB.NET)
- Use of Shell common file dialog (C++ | C# | VB.NET)
- Windows Shell Libraries (C++ | C# | VB.NET)
Diagnostics Samples
- Stack overflow (C++ | C# | VB.NET)
- Stack corruption (C++ | C# | VB.NET)
- Heap corruption (C++ | C# | VB.NET)
- Memory or handle leaks (C++ | C# | VB.NET)
- Application hang (C++ | C# | VB.NET)
Enhanced Taskbar Samples
- Win7 Application ID in taskbar (C++ | C# | VB.NET)
- Win7 Overlay Icons in taskbar (C++ | C# | VB.NET)
- Win7 Progressbar in taskbar (C++ | C# | VB.NET)
- Win7 Thumbnail in taskbar (C++ | C# | VB.NET)
- Win7 Jumplist in taskbar (C++ | C# | VB.NET)
Files and File Access Samples
- Synchronous file I/O (C++ | C# | VB.NET)
- Asynchronous file I/O (C++ | C# | VB.NET)
- Operations on sparse files (C++ | C# | VB.NET)
- List files in a directory (C++ | C# | VB.NET)
Security Samples
- Encryption and decryption (C++ | C# | VB.NET)
- Digital signature (C++ | C# | VB.NET)
- Encryption and decryption of XML (C++ | C# | VB.NET)
- Digital signature of XML (C++ | C# | VB.NET)
- Impersonation (C++ | C# | VB.NET)
- Create an interactive process under different user account (C++ | C# | VB.NET)
- Self-elevate the current process (UAC) (C++ | C# | VB.NET)
- Get and set resource integrity level (C++ | C# | VB.NET)
- Create low-integrity process in C++ (C++ | C# | VB.NET)
Library loading Samples
C++:
- A C++ Static Library: https://1code.codeplex.com/SourceControl/changeset/view/54422#394706
- C++ statically links a static library: https://1code.codeplex.com/SourceControl/changeset/view/54422#394521
- A C++ Dynamic-link Library: https://1code.codeplex.com/SourceControl/changeset/view/54422#986950
- C++ dynamically loads a DLL: https://1code.codeplex.com/SourceControl/changeset/view/54422#394637
- C++ delay-loads a DLL: https://1code.codeplex.com/SourceControl/changeset/view/54422#394472
- C++ implicitly links a DLL: https://1code.codeplex.com/SourceControl/changeset/view/54422#394629
- C++ invokes .NET assembly: https://1code.codeplex.com/wikipage?title=Invoke%20.NET%20Assembly%20from%20Native%20C%2b%2b
.NET:
- A .NET Class Library (C# | VB.NET)
- .NET dynamically load a native DLL (C# | VB.NET)
- .NET P/Invoke a native DLL (C# | VB.NET)
- .NET dynamically load a .NET assembly (C# | VB.NET)
- .NET invokes C++ DLL: https://1code.codeplex.com/wikipage?title=Invoke%20Native%20C%2b%2b%20DLL%20from%20.NET
IPC and RPC Samples
- Named pipe (C++ | C# | VB.NET)
- Mailslot (C++ | C# | VB.NET)
- Shared memory (C++ | C# | VB.NET)
- WM_COPYDATA window message (C++ | C# | VB.NET)
- .NET Remoting (C# | VB.NET)
Windows Service Samples
- A basic windows service skeleton (C++ | C# | VB.NET)
- Win7 Trigger Start Service (C++ | C# | VB.NET)
- Interactive Windows Service (C++ | C# | VB.NET)
Windows Hook Samples
Other Windows Base Samples
- Check OS version information (C++ | C# | VB.NET)
- Check OS bitness 32bit/64bit (C++ | C# | VB.NET)
- Check process bitness (C++ | C# | VB.NET)
- Set power availability request (C++ | C# | VB.NET)