P/Invoke cheat sheet

20 באוקטובר 2008

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 managed code without a lot of problems. We start with data type translations. Here the table to understand it. Data type from unmanaged signature ...

Set binding, based on trigger

13 באוקטובר 2008

Let’s say, that you want to set binding. However, you want to set it by using some trigger. Wait! Why I need it? Let’s say, that I have some very special object, that actually has no hard-coded properties. All it’s properties are created during the runtime, based on some trigger. In this case, I still want to use binding, however, if the property does not exists, I cannot do it. In this special case (that we’ll probably speak more later), we...
אין תגובות

Silverlight Bidi Controls Library RC0 and movement from Beta 2 to RC0

5 באוקטובר 2008

Finally, I got free minute to convert Silverlight BiDi controls from Silverlight beta 2 to RC0 (you can download SL rc0 tools for VS2008 here) and as usual some breaking changes (the full list is here) Calendar and DatePicker moved from System.Windows.Controls.Extended into System.Windows.Controls – Extended namespace is now deprecated. CalendarButton is not inside System.Windows.Controls.Primitives TypeConverter.CanConvertFrom(Type sourceType) was changed and now it has new first parameter ITypeDescriptorContext context ...
5 תגובות

Free Microsoft Expression series video training catalogs

4 באוקטובר 2008

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 Expression Encoder 2 Expression Design 2 Expression Media 2 Expression Web 2 Also,...
אין תגובות