设为首页 收藏本站
查看: 1439|回复: 0

微软一站式示例代码整理

[复制链接]

尚未签到

发表于 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)
    
  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: 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、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-69636-1-1.html 上篇帖子: 【Advanced Windows Phone Programming】在windows phone 8中解码mp3 和编码pcm 下篇帖子: 《Windows Phone 8 Development Internals》读书笔记-1-2-1-连载
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表