Map AttachedProperties

23 Juni 2008

Currently I’m trying to implement a reusable control for reflection in WPF. I come to the conclusion that XAML is a very easy way to achieve such an effect but it is not the ‘modern abstract’ way. So after a while I found a very nice example which operates with AttachedProperties to display a reflection (see Reflecting on Reflections).

But the author missed to copy all AttachedProperties for a Panel from the element that has reflection  to the new Panel (which is responsible for the reflection at last).

Here you can find a first and rapid implementation to gain all necessary AttachedProperties for Panels: Den Rest des Beitrags lesen »


DivX Pro for free (again)

10 Dezember 2007

You can download the pro-version of DivX and get your registration key for free via mail.

Check it right here: http://www.divx.com/dff/index.php?lang=en&version=win

UPDATE: It’s over!


A long time ago…

10 Dezember 2007

… since I wrote my last article. But there were many things to do.

Finally I graduated from university and made my degree in computer science. In a few days I’ll start with my new job and I will be responsible for a redesign with WPF. Wow, that’s great and I’m very excited.

Now all went well, I’m lucky and full of power. So I will continue this blog (in english).

Bye,
Alex


Deobfuscate fonts in an XPS document

10 Juni 2007

XPS is the new portable format from Microsoft. The file structure consists of several parts, which includes the text (the so called “fixed documents”) and, of course, all resources. Images and fonts are embedded in a specific folder but as a general rule fonts are obfuscated to “protect” the copyrights of the author.

To extract the text (which is by the way a subset of XAML) all resources have to be extracted, too. But obfuscated fonts cannot be read, therefore a decryption is required.
The encryption is rather simple: The first 32 bytes are XOR with the GUID of the file (it is also documented in the MSDN). To reverse all font files repeat the exclusive disjunction with the GUID (the file name implies the GUID, thank you) and you will receive the original source (for a better understanding see: http://en.wikipedia.org/wiki/XOR).

I attached a little example. Pass the obfuscated font path and streamOut will return the deobfuscated stream. To save the stream to disc, call streamOut.Position = 0 first.

Edit 2008-10-26:
Here you can find my solution:
http://www.bremora.com/index.php/xps-font-deobfuscator


Kinofilm “Gegen die Wand” kostenlos im Internet

8 Juni 2007

Der NDR strahl den mehrfach ausgezeichneten Kinofilm “Gegen die Wand” kostenlos als Flashstream im Internet aus.

Den Link gibt es hier.


DivX Pro kostenlos

8 Juni 2007

Der Video-Codec in der Pro-Version ist für kurze Zeit KOSTENLOS unter DivX erhältlich. Wahrscheinlich im Zuge einer Werbekampagne kann das Programm heruntergeladen werden und man bekommt per E-Mail den Registrierungsschlüssel zugeschickt.

Eine Anleitung und den Download gibt es hier.

EDIT: Die Aktion ist schon abgelaufen, doch wer die Datei schon heruntergeladen hat, kann immer noch den Schlüssel anfordern! 


Expression Blend Release Candidate 1

24 April 2007

Der erste RC des WPF-Designers Expression Blend ist nun auf den Seiten von Microsoft verfügbar.

Der Download und der Key für eine 180-Tage-Testversion befinden sich hier.

EDIT:  Expression Blend ist zur Zeit nicht mehr als RC verfügbar. Stattdessen kann nun die Releaseversion 60 Tage lang getestet werden.


Visual Studio “Orcas” Beta 1

24 April 2007

Die nächste Visual Studio Version mit dem Codename “Orcas” wurde als Beta 1 zum Download zur Verfügung gestellt.


.NET 3.0 Klassenhierarchie mit VS 2005 erstellen

24 April 2007

Eine von Microsoft dokumentiertes “Klassendiagramm” wie für das gute alte MFC, sucht man für das .NET 3.0 Framework leider vergebens. Zwar gibt es eine struktierte Klassenbibliothek, jedoch zeigt dies noch lange nicht alle Abhängigkeiten auf.

Eine einfache Lösung zur Veranschaulichung aller Typen bietet der Klassendesigner (beliebiges Projekt öffnen -> rechte Maustaste auf eine *.cs-Datei -> Klassendiagramm anzeigen -> bestehende Klassen löschen) und der Objektbrowser (Ansicht->Objektbrowser) von Visual Studio 2005.

Anschließend die gewünschten Namespaces in der Klassendesigner ziehen. Zur Darstellung weitere Abhängigkeiten kann man mit dem Kontextmenü “Basisklasse anzeigen” und “Abgeleitete Klassen anzeigen” alle Verbindungen aufzeigen.

Schließlich kann das Diagramm noch als Bild gespeichert werden (Kontextmenü->Diagramm als Bild exportieren). Allerdings bleibt die Auflösung bei sehr großen Entwürfen nicht konstant, sodass das Diagramm im Bild kaum noch zu lesen ist.


Mozilla Thunderbird 2.0

19 April 2007

Heute ist der neue E-Mail-Client Mozilla Thunderbird in der neuen Version 2.0 erschienen.

Zu den wichtigsten Neuerungen zählen:

  • überarbeitete Benutzeroberfläche
  • interaktive Suchfunktion
  • Erweiterte Informationen bei Eintreffen neuer Nachrichten
  • Bugfix

Kompletter Changelog.