blogs.msdn.com blogs.msdn.com

The SettingsIdentifier property of the various file pickers lets you give names to your pickers

A few of the Windows Runtime pickers have a property named Settings­Identifier. What is that thing? Basically, it’s a way for you to give a name to your pickers. First, let’s talk about how things work normally. When you use a File­Open­Picker, the picker normally defaults to the same location that the user picked the last time your program displayed a File­Open­Picker. Similarly for File­Save­Picker and Folder­Picker. Each...

blogs.msdn.com blogs.msdn.com

On the various ways of constructing a C++/WinRT com_array

The C++/WinRT com_array<T> represents a C-style conformant array of data where the underlying buffer is allocated via the COM task allocator. It is typically used to represent a C-style conformant array which is allocated by one component and freed by another. You will probably need to make one of these things when you are returning a projected array to the caller, either as the return value or through an output parameter. Here are ...

blogs.msdn.com blogs.msdn.com

Keep your IntelliCode completions fresh with our GitHub Action for Team Completions

Visual Studio IntelliCode helps by giving contextually-rich code completion suggestions as you type. This allows you to code faster, onboard to new projects sooner, and learn new APIs more quickly. Although IntelliCode’s base model was trained on over 3000 top open source GitHub repositories, it does not include all the custom types in your codebase. To produce useful, high-fidelity, contextually-rich suggestions, IntelliCode’s...

blogs.msdn.com blogs.msdn.com

The case of the SHGet­Folder­Path(CSIDL_COMMON_DOCUMENTS) that returned ERROR_PATH_NOT_FOUND

A customer was experiencing a problem with the SHGet­Folder­Path function. Specifically, they had a program that called the function like this: SHGetFolderPath(NULL, CSIDL_COMMON_DOCUMENTS, NULL, SHGFP_TYPE_CURRENT, pathBuffer); but it failed with error 0x80070003 which is the HRESULT version of ERROR_PATH_NOT_FOUND. The error occurs only when run from a Jenkins pipeline. If they the run the program standalone, then...

blogs.msdn.com blogs.msdn.com

Live Share, now with chat and audio support!

Enjoy a comprehensive collaboration experience with Live Share chat and audio. These preview features are available in the upcoming week for Visual Studio Code and Live Share web clients. Learn more about how you can use this feature in your favorite IDE. https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2020/05/ChatAudioWebNew.mp4 The post Live Share, now with chat and audio support! appeared first on Visual...

blogs.msdn.com blogs.msdn.com

Azure DevOps Roadmap update for 2020 Q2

We have recently updated the Features Timeline to showcase areas where we are making key investments for this quarter. I am delighted to share few of those initiatives that we have planned for Q2 with you. Note that each feature links to our public roadmap project where you can find more details about each item and see its status. General Service tag A Service Tag represents a group of IP prefixes to help minimize complexity for...

blogs.msdn.com blogs.msdn.com

Join us this week at Microsoft Build digital event

We are looking forward to this week’s main event, Microsoft Build 2020. Build 2020 starts tomorrow Tuesday, May 19 and will run for 48 continuous hours as a digital-only event that is open to anyway around the world, at no cost. This is the first major tech conference to go full-digital with an experience designed from the ground-up for a virtual audience. The C++ team is excited to be a part of this event and we’d like to invite...

blogs.msdn.com blogs.msdn.com

Reporting on what you could do once you get to the other side of the airtight hatchway

A security vulnerability report arrived that reported that a program was vulnerable to a DLL planting attack if the rogue DLL were planted in the system32 directory. This is not a vulnerability because writing to the system32 directory requires administrator privileges. An exploit which requires administrator privileges is not really an exploit since there is no elevation of privilege. You got from administrator to…...