Using fibers to expand a thread’s stack at runtime, part 1

Last time, we considered a library that required a lot of stack space, and critiqued one proposed solution that involved pre-emptively converting every thread to a fiber.
The solution is simply not doing anything at all in the DLL_PROCESS_ATTACH notification. Instead, do the work when the application calls into the library.
For concreteness Continue reading Using fibers to expand a thread’s stack at runtime, part 1

What’s in My Index?

What’s in My Index
Welcome back. This is part 3 of an initial 4-part series discussing everything search indexer related on Windows. In this article we are going to talk about what data is actually stored in the index. From files to custom data types, you will be able to start digging through the items that are stored in your own personal i Continue reading What’s in My Index?

Visual Studio Subscriptions administrator feature updates

Over the past few months, we’ve interviewed a number of our Visual Studio Subscriptions administrators, and had a couple different surveys running in the administration portal to better understand what you like, don’t like, and absolutely hate about the current admin experience (yes the surveys are read by the PM team; it’s not a black h Continue reading Visual Studio Subscriptions administrator feature updates

SQL CLR .NET Framework runtime fatal error due to Uneven Number of CPUs Across Processor Groups

Problem
If you’re using SQL CLR, you may have encountered an unexpected SQL Server service termination issue on SQL Servers with a large number of CPUs.
Symptoms
SQL Server service terminates unexpectedly.
 
In the ERRORLOG, you’ll see the followi… Continue reading SQL CLR .NET Framework runtime fatal error due to Uneven Number of CPUs Across Processor Groups

“Sorry, this document can’t be opened for editing” error creating a document in Office Web Apps

Problem: You receive a “Sorry, this document can’t be opened for editing” error when you try to create or edit an Office document in Office Web Apps.
 
Issue 1:
In some situations, users that are members of Active Directory (AD) Security Groups ma… Continue reading “Sorry, this document can’t be opened for editing” error creating a document in Office Web Apps

Using the Microsoft Graph Explorer

Dev Consultant Brian Culver spotlights Microsoft Graph, a simple REST API and SDK for accessing endpoints to query perform actions.

Microsoft Graph is a data and intelligence gateway to Microsoft 365. You can access data from Office 365, Windows 10 and much more including the following:

Office 365 services: Delve, Excel, Microsoft Continue reading Using the Microsoft Graph Explorer

How can I expand my thread’s stack at runtime?

A customer had a library that required a lot of stack space, and they were concerned that the functions in the library may be called on a small stack. Since this is a library, they don’t have control over the code that created the stack. Is there a way to expand a thread’s stack at runtime?
The size of a thread’s stack is fixed when it is cre Continue reading How can I expand my thread’s stack at runtime?