Spiderpig does whatever a spiderpig does…

5Okt/09Off

C# and fmod: Loading unmanaged c dll from resource

I've written an example project in C# how to use the fmod libary in one of your projects. I wanted to have only a executable and no further files. So I thought of adding it directly in the resources and load it when the program is started. First of all you have two options how to do it. Either use late binding and Invoke to use the functions in the Library. You could use LoadLibary(...) for that and try to use the Library directly from the memory.

fmodtut

veröffentlicht unter: Allgemein, Coding weiterlesen
10Sep/09Off

Globalisieren und lokalisieren in C#

Heute, in Zeiten von Globalisierung und zusammenwachsenden Märkten, sollte man sich Gedanken machen, ob man seine Software in mehreren Sprachen anbietet, um so einen größeren Markt für sein Programm zu erschließen. In C#, spezieller in .net 3.5 gibt es dafür verschiedene Methoden. Ich möchte euch die etwas komplizierte aber von Microsoft für C# bevorzugte Variante vorstellen. Diese kann man dank Unicode für fast alle Länder verwenden. Das interessante dabei ist, dass nicht nur die Schriftzeichen geändert werden, sondern auch kulturelle Aspekte mit einfließen wie z.B. Leserichtung, Zeit, Kalender usw.

veröffentlicht unter: Allgemein, Coding weiterlesen