Search
-
Sheng Jiang 蒋晟
Microsoft MVP in Visual C , 2004- Forum moderator of the Visual C++ and .Net forums on CSDN Forum moderator of Chinese forums on Microsoft's MSDN forums
Personal Links
Tags
- .NET Framework
- Active Template Library
- ActiveX
- ActiveX Data Objects
- ActiveX Document
- Application programming interface
- ASP.Net
- Assembly language
- bug
- C#
- C++/CLI
- Call stack
- clipboard
- Comment (computer programming)
- Common Language Runtime
- Component Object Model
- Console application
- CSDN
- Deployment
- Document Object Model
- Exception handling
- File Transfer Protocol
- Google Chrome
- Hardware
- Integer (computer science)
- Internet Explorer
- Internet Explorer 6
- Internet Explorer 7
- Internet Explorer 8
- Internet Explorer 9
- Internet Information Services
- Managed C++
- Metadata
- MFC
- Microcontroller
- Microsoft
- Microsoft Answers
- Microsoft Award
- Microsoft Foundation Class Library
- Microsoft Most Valuable Professional
- Microsoft Visual Studio
- Microsoft Windows
- Office Live
- Operating Systems
- Redistributable
- Registry
- Regmon
- Rootkit
- Security Programming
- security zone settings
- Service pack
- Silverlight
- Software development kit
- Standard Template Library
- Taskbar
- Trident (layout engine)
- User agent
- Visual Basic
- Visual C++
- Visual Studio
- Web browser
- WebBrowser Control
- Web Service
- Where is the forum for
- windows 8 Developer Preview
- Windows Explorer
- Windows Forms
- Windows Media Player
- Windows Presentation Foundation
- Windows SDK
- Windows Server 2003
- Windows Shell
- Windows Update
- Windows Vista
- Windows XP
Translate
Blogroll
Category Archives: enmsdn
Getting around “Strong name signature not valid for assembly” for a ClickOnce application
When building a ClickOnce application, I need to redistribute a third party dll. But it failed the strong name validation under sn-vf thus ClickOnce launcher failed with the same error. Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.0 Copyright (c) … Continue reading
What part of Windows is written in .Net/WPF/Silverlight?
user 曹一聪 on zhihu is curious how widely .Net is used within Windows components. Obviously an operating system component cannot depend on something that isn’t in the operating system, so nothing uses Silverlight in the desktop version Windows. And because XP editions … Continue reading
Flash Player: Loading from memory
user cucao wants to know how to play a flash file from application resource. The user wants to use a dongle to protect unauthorized viewing of the flash file so can’t just put the swf file in plain sight. Adobe’s Flash Player, being … Continue reading
Posted in ATL, enmsdn, MFC, Microsoft Foundation Class Library
Tagged Component Object Model, Flash Player, OLE, Visual C++
Leave a comment
What’s new in Visual Studio Tools for Windows 10 Preview
Looks like Windows 10 SDK gets renamed. This post focuses on the Win32 wide of changes. Changes in the WinRT Universal App Platform (UAP) side can be found at https://dev.windows.com/en-us/whats-new-windows-10-dev-preview. Some UAP APIs are available to all desktop apps, for exam DirectX … Continue reading
Book review: Mastering Windows 8 C++ App Development
Disclaimer: I am a Microsoft MVP in Visual C++, so is Pavel Yosifovich, the author of the book. Mastering Windows 8 C++ App Development by Pavel Yosifovich is a new addition to the Windows Store development books. It took me … Continue reading
Posted in enmsdn, Microsoft, Visual C++, Visual Studio
Tagged DirectX, Microsoft, Microsoft Windows, Model View ViewModel, Windows 8, Windows Runtime, Windows Store
Leave a comment
Another breaking change related to 64 bit compatibility, this time in TAPISRV w/Windows 8
The ADO team had to make a breaking change the ADO APIs due to compatibility problem with Microsoft Office. Now it seems to be Tapi’s turn. In the 64 bit editions of Windows 8 and Windows Server 2012, some TAPI … Continue reading
How to: Migrating a CLR console Visual C++ project to Windows Forms
Note: Windows Forms programming in new development is discouraged by Microsoft at this point as Microsoft wants to make full use of hardware accelerated drawing instead of using the CPU-intensive GDI. But maintaining old Windows Forms code in Visual C++ 2012 is … Continue reading
Posted in C++/CLI, enmsdn, Microsoft, Visual C++, Visual Studio
Tagged C++/CLI, Console application, Visual C++, Windows Form
2 Comments
Add the correct interface first in Adding an MFC Class from an ActiveX Control wizard.
In good old times aka VC6, if you want to use an ActiveX in MFC, the Components and Controls Gallery would generate all the properties and methods of an ActiveX and pull dependent types and create wrapper classes for them as … Continue reading
Posted in enmsdn, MFC, Microsoft, Microsoft Foundation Class Library, Visual C++, Visual Studio
Tagged ActiveX, COM, Visual C++, Windows Media Player
Leave a comment
Howto: reset IE security zone settings programmatically
Internet Explorer 7 introduced the IInternetZoneManagerEx2 interface, which has a FixUnsecureSettings method to reset all security zone settings. Like all other IInternetZoneManager* interfaces, you can query this interface from the internet zone manager object: IInternetZoneManagerEx2* pzoneManager=NULL; HRESULT hr=CoCreateInstance(CLSID_InternetZoneManager ,NULL,CLSCTX_INPROC_SERVER,IID_IInternetZoneManagerEx2,(LPVOID*)&pzoneManager); if(hr==S_OK && pzoneManager!=NULL) { … Continue reading