Welcome to MSDN Blogs Sign in | Join | Help

June 2007 - Posts

How to control the version of .NET Framework your application runs against?

Let us look at a small sample that illustrated how this configuration entry works. using System; class Sample { public static void Main() { Console .WriteLine( "This is a sample" ); } } Let us copy this code to RequireRuntime.cs and compile it. Let us

Debugging load problems using fusion log

Fusion log comes in very handy when you want to understand or debug binding behaviors. Let us take the sample code below. Copy the code to sample.cs and compile it. Let us assume for now that the code tries to load some arbitrary assembly “Foo” which

PInvoke-Reverse PInvoke and __stdcall - __cdecl

I came across this issue yesterday and thought that I will blog about the same. The example below demonstrates a simple PInvoke and Reverse PInvoke through delegates. The initial call was defined to use the __cdecl convention. As you can notice when executing
 
Page view tracker