Shri Borde's WebLog

GitDiff.bat - power-diffing with GIT

As mentioned in the GIT documentation, you can set the environment variable GIT_EXTERNAL_DIFF to use...

Author: shrib Date: 04/13/2009

Proposed spec for Ruby's Thread.critical=

Ruby has green threads, and so its implementation of Thread.critical= is speced as follows: Sets the...

Author: shrib Date: 01/07/2009

OLE Automation support ON in IronPython 2.0 Beta 4

As I had mentioned in a previous post, we have added support in IronPython for accessing OLE...

Author: shrib Date: 07/30/2008

CLS compilation of IronPython

One of the common feature requests for IronPython is to support static compilation. While the...

Author: shrib Date: 07/24/2008

Signals on Windows

While looking at signal support in IronRuby, I played with the signal and raise functions that are...

Author: shrib Date: 05/23/2008

Accessing IronPython objects from native JScript (using IReflect)

The DLR aims to enable dynamic languages like IronPython and IronRuby to access and minipulate...

Author: shrib Date: 05/13/2008

OLE automation (IDispatch) support in IronPython

IronPython 1.X IronPython 1.X supported COM interop by building on top of the COM interop support...

Author: shrib Date: 04/10/2008

What if a C# snippet does not work when transliterated to IronPython?

Say you have a working piece of C# code. You want to include it in your IronPython app. So you...

Author: shrib Date: 03/24/2008

IronPython cannot call AutomationElement.FromHandle

If you use IronPython to call AutomationElement.FromHandle, it will return null. This happens...

Author: shrib Date: 03/24/2008

Saving a file to the local disk in Silverlight

All user code in Silverlight runs in a sandbox. Hence, for security reasons, there are no APIs to...

Author: shrib Date: 09/25/2007

Late-binding and ByRef parameters

VB, VBA, and VBScript pass arguments by reference by default. A subroutine definition can explicitly...

Author: shrib Date: 09/10/2007

Oleview hangs on Vista when run from elevated cmd prompt

Oleview has been hanging and taking up all the CPU when I tried to open a typelib on a Vista...

Author: shrib Date: 09/10/2007

Using IReflect to expose a type as IDispatch to COM

The CLR supports marshalling of objects that support the IReflect interface as IDispatch COM...

Author: shrib Date: 09/04/2007

Tail call performance on x86

MSIL includes the tail. prefix to be used with call instructions (call, callvirt, calli), and also...

Author: shrib Date: 01/25/2005