Browse by Tags

How to P/Invoke VarArgs (variable arguments) in C#? ... or hidden junk in CLR
Recently I wrote a cheat sheet for pinvoking in .NET . Shortly after I got a question in comments about how to deal with variable arguments, when it's more, then one parameter. Also what to do if those arguments are heterogeneous? Let's say, that...
Programming for Windows 7
Well, Windows 7 is going to be released by the end of next year. This is great news, because it seemed, that Microsoft finally understand how to get the best of Windows Vista and make it to work not only on monster machines . It even works on new brandy...
P/Invoke cheat sheet
I’m working a lot with p/invoke, and know how it’s hard to produce correct signature for unmanaged method. So, today I decided to publish basic cheat sheet for methods, parameters and attributes you should use in order to invoke unmanaged methods from...
Free Microsoft Expression series video training catalogs
MSDN download center just published video catalogs, where you can find sample chapters of Total Training’s video series for Microsoft Expression studio. Worth to download and see. Here the breakdown by products Expression Blend 2 [ Windows / Mac ] Expression...
How to handle thickness
Yesterday, we spoke about type converters . We even, built simple generic enum converter. Today, we’ll create more complicated converter, that very missing in Silverlight – ThicknessConverter. During the post, I also explain about tokenizing values in...
Work process: How to use and build type converters
Today, I want to start new tag - “ Work process ”. Here I’m going to publish partial classes, fixes, small utilities, I’m building for myself or clients to help in work process. I’ll give an example : currently, I’m working on BiDi support for Silverlight...
How to consume WCF or Webservice from Vista Sidebar gadget by using Silverlight?
The challenge today is really simple. All we have to do is to write Silverlight   Vista Sidebar Gadget , that consumes either WCF , ASMX or REST based service. Really simple, isn’t it? Let’s start Build server side services We should start from services...
Page view counter