旃麒雅 发表于 2015-5-23 05:56:08

微软一站式示例代码整理

  今天特地整理了一下微软一站式示例代码截止8月25号已有的 Windows SDK Development 相关的示例。希望对你有所帮助:
  每一个示例我们尽可能提供三种编程语言,以满足C++, C#, VB.NET 开发人员不同的需求。其中有些编程语言没有连接,比如
  ActiveX Control safe for scripting (C++/MFC, C#, VB.NET)
  这表示C#和VB.NET对应的该示例正在开发中。在不久的将来就会发布。
  
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)
  
DiagnosticsSamples
  

   
[*]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: http://1code.codeplex.com/SourceControl/changeset/view/54422#394706   
[*]C++ statically links a static library: http://1code.codeplex.com/SourceControl/changeset/view/54422#394521   
[*]A C++ Dynamic-link Library: http://1code.codeplex.com/SourceControl/changeset/view/54422#986950   
[*]C++ dynamically loads a DLL: http://1code.codeplex.com/SourceControl/changeset/view/54422#394637   
[*]C++ delay-loads a DLL: http://1code.codeplex.com/SourceControl/changeset/view/54422#394472   
[*]C++ implicitly links a DLL: http://1code.codeplex.com/SourceControl/changeset/view/54422#394629   
[*]C++ invokes .NET assembly: http://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: http://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
  

   
[*]Hook mouse and keyboard input (C++ | C# | VB.NET)
  
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)
  
Multi-Touch Samples
  

   
[*]Use Win7 Multi-touch feature (C++ | C# | VB.NET)
  
User Interface Samples
  

   
[*]Modal and modeless dialog (C++ | C++/MFC | C# | VB.NET)   
[*]Windows user controls (C++ | C# | VB.NET)   
[*]Windows common controls (C++ | C# | VB.NET)   
[*]Windows sub-classing (C++ | C# | VB.NET)   
[*]Owner-drawn menu item in Windows application (C++ | C# | VB.NET)   
[*]Direct2D (C++ | C# | VB.NET)
页: [1]
查看完整版本: 微软一站式示例代码整理