About jaredpar's WebLog

I'm a developer on a Microsoft incubation project working on programing languages and parallel computing. Previously I spent 4 years on the Visual Studio Languages team in the Compiler, Debugger and IDE spaces. This blog is my way of sharing my experiences coding and scripting in a variety of languages (F#, C#, C++, VB.Net, ...) and environments. You can also follow me on twitter: @jaredpar

A frequent question that pops up on newsgroups such as microsoft.dotnet.framework.interop is how to Marshal nested structures (and arrays of nested structures) via P/Invoke. The documentation on the subject that I have found usually only covers structures...

This is part 4 of a series. You can find part one here . Please refer to that article for all of the Native definitions of the structures that I use here.
In the previous article we were left with a solution where using the code was very clean but...

This is part 3 of a series. You can find part one here . Please refer to that article for all of the Native definitions of the structures that I use here.
In part 2 of this series I demonstrated how you can Marshal nested data structures by flattening...

This is part 2 of a series. You can find part one here . Please refer to that article for all of the Native definitions of the structures that I use here.
The most important thing to remember when Marshalling data is that the .Net Runtime really only...

Valery Pryamikov has released an update version of his RunAsAdmin tool. This version has a lot of new features including policy and stronger integration with the shell. This version is still in Beta but it's been very stable for me.
http://www.harper...

While working on a recent bug a question came up about how permissions work on NTFS. Take the following example directory path
c:\University\Fall2005\Homework.cpp
Now imagine that our user University\john had the access rights that were specified...

Don't forget to join us this Wednesday at 10am PST to discuss the new Team System Testing infrastructure. Topics include the Profiler, Test Tools (Unit, Generic, Manual), Web Load Testing, and Code Analysis (FxCop & PREFast). We have questions for...