OSR just updated their DDKBUILD.BAT to version 6.11! If you use this version, I recommend to update.
As usual either at OSR Online or at the DDKWizard homepage.
// Oliver
OSR just updated their DDKBUILD.BAT to version 6.11! If you use this version, I recommend to update.
As usual either at OSR Online or at the DDKWizard homepage.
// Oliver
#if defined(_COM_SMARTPTR)
#if !defined(_COM_SMARTPTR_TYPEDEF)
#if defined(_COM_SMARTPTR_LEVEL2)
The error was:
comdef.h(266) : error C2004: expected 'defined(id)' comdef.h(266) : error C1012: unmatched parenthesis : missing ')'
// Oliver
function GetSIDTBaseAddress: DWORD; assembler; asm sub esp, 8 // create stack frame sidt qword ptr [esp] mov eax, dword ptr [esp+2] // write into EAX for return value add esp, 8 // clean up stack end;
… or if the sidt opcode is unknown:
Continue reading
Hey. For those among you, who have actually updated to RC2, here is a little fix, if you like manual patchwork. If you prefer the easy way, just download RC3 here. Apologies!
This fix is yet another issue that can be traced to the NT script interpreter. The problem is the wrong handling of string substitution with empty strings. In case of an empty string, the substitution string is wrongly considered to be the actual content to set. Of course with unpleasant consequences.
Anyway, if you like the manual fix, search for:
set PATH_EXTSHORT=%PATH_EXTSHORT:~0,4%
and replace it with
if not "" == "%PATH_EXTSHORT%" set PATH_EXTSHORT=%PATH_EXTSHORT:~0,4%
// Oliver
… you open the mail which says “New PE patch” without the slightest doubt, that it could be anything but the patch for a PE file.
Yeah, now that I have your attention, let me make my point. First of all, I hate generalization, thus of course not all Americans are stupid. Secondly, I hate if someone says “Americans”, but actually means “US-Americans”. Check it out in an encyclopedia or even just on Wikipedia, “America” is made up of two continents and there is more than one country on both of them. So actually no one has the monopoly on the term “America” or “Americans” – sorry, fellows.
Anyway. Why do I actually write this? Well, some people have asked me occasionally whether I hate “Americans” (coming from US-Americans I take it for granted that they refer to their nation 😉 ), which I said I do not. However, apparently some of my blog entries make people suspicious of me. For example if I criticize evangelicals. This has nothing to do with the fact that I hate “Americans”, but rather that I hate religious zealots. Or comments on certain things going on world-wide and/or in the US or with references to the US. All this doesn’t mean I hate “Americans”, nor does it mean that I can’t distinguish between individuals. In fact I know some fairly nice and intelligent people from the US – and why not?! 😆 … I mean if you were to criticize the fact that in Germany more and more civil liberties and rights are taken away from the citizens, I’d probably be interested in a discussion and show that not all of “us” support it. In fact I didn’t vote for any of the parties that are currently in the parliament – but unfortunately it doesn’t help either. Intentionally casting an invalid vote – even if 50% of the population did it – wouldn’t have any effect whatsoever! Why? Because those are not counted in the overall final results and thus even though only 50% or less of the population voted, the parliament is filled to the last seat. “Unfortunately” I didn’t feel compelled to vote for the lesser evil anymore, because the lesser evil is still too evil for my taste 🙄
Anyway, I hope I could set this straight,
// Oliver
A few days ago our Führer proclaimed September the 11th “Patriot Day 2007”. Since this date (2001-09-11) was so redefining for many other Western countries in that politicians are removing one by one our civil liberties and rights, I think it is appropriate that all Western nations adopt this day as “Patriot Day” as well and pledge their allegiance to the Führer.
// Oliver
PS: If you find sarcasm in this entry, keep it for yourself 😆
… had to update the DDKWizard 1.1.2 setup. It won’t matter for those who downloaded it before. The only difference is, that the version shown in the dialog that allows you to choose the options was changed to 1.1.2 now. Argh, missed that one …
// Oliver
It has been almost half a year since DDKWizard got updated last time. But now it’s time for an update. Some accumulated reports of glitches and issues – especially those that bugged me most in daily use – got me to update the wizard finally. It has been almost a year since the very first version of DDKWizard was released to the public and it seems that at least a part of the driver community actually adopts it as a convenient way to create driver (and other) projects inside Visual Studio.
Despite many small changes and fixes, this release changes one file name, the notorious CustomVars.vsprops to <ProjectName>.vsprops. Furthermore the manual has been updated and DLL and CUI projects can now also contain a message file (.mc), which was offered before, but didn’t work properly until this version.
I hope you enjoy this update. Let me know – here in the blog or via email.
– Direct download
– Project website
// Oliver
PS: Don’t forget to subscribe to the RSS feed, if you are interested in future update notifications. This feed is dedicated to DDKBUILD and DDKWizard.
Luciano Pavarotti died yesterday at an age of 71 years. Since I enjoy(ed) his music, I just want to pay tribute to his work with this blog entry. Most of all I liked the way he reached out to other musicians and interpreted both modern and classical music together with them. To me the masterpiece in this respect remains “Pavarotti and Friends” #2 from 1995.
// Oliver
Heute habe ich meinen ersten isländischen Film gesehen. Der Film heißt Astrópía und kam vor zirka 2 Wochen frisch in die (isländischen) Kinos. Dieser Film war herzerfrischend und würde garantiert in Deutschland und anderen europäischen Ländern, wo man Untertitel nicht scheut oder synchronisierte Filme kennt, auch ein Erfolg werden. Klar, es stehen hin und wieder Sachen auf Isländisch auf Schildern et cetera, aber alles in allem ist der Film in dieser Hinsicht relativ neutral. Nicht, daß ich die Sprache schon derartig verstehen würde, daß ich den Film flüssig verstehe, aber da der Kinobesuch von Friskies – einem Club der Angestellten meiner Firma gesponsort wurde – hatte ich ein paar Kollegen um mich, die ich ab und an mit Fragen genervt habe und ansonsten war auch mit nur geringem Verständnis der Sprache eine Menge Spaß dabei.
Continue reading
This release fixes minor issues found to cause DDKBUILD.CMD to fail under certain conditions, especially when either the DDK/WDK or the project was located in a folder that contained spaces or that had long (folder/file) names without spaces.
One common example would be:
C:\Program Files\WINDDK
While most of this can be attributed to the setenv.bat script (part of the DDK/WDK), which is flawed, there should have been an easy workaround. It turned out the easiest way could be to use short (i.e. 8.3) file names. However, the NT script interpreter is flawed. Exactly the part which is supposed to convert long to short file/folder names fails with the extension. Example: when calling a sub or a script, the parameters get passed as %1 through %x (x being the number of the last parameter). If you use for /?, you can easily see that %~fs1 is supposed to remove the surrounding double quotes from the first parameter, expand it to a full path (including drive letter, folder path, file name and file extension) and return it as a short file name. However, it appears that exactly this part is flawed (looks like the return buffer is not properly zero-terminated), because the extension (if a long folder name part contained a dot) does not get cut off after four characters (including the dot). That means a long path such as 3790.1830 (well known from the Windows 2003 Server DDK) gets translated to 3790~1.1831830 instead of the expected 3790~1.183.
Continue reading
Habe soeben die zweite SpeedCommander 12 Betaversion angetestet und muß sagen, daß die Benutzbarkeit weiter zugenommen hat. Die auch mit Vista eingeführte, sogenannte “Brotkrumen-Navigation” ist der der Hammer – und natürlich auch für mich als XP-Anwender verfügbar.
Meine weiteren persönlichen Highlights (entnommen hier):
Mit “Verbindungspunkt” ist ein Junction bzw. Reparse Point gemeint.
// Oliver
Bald ist wieder Narrenzeit in Deutschland, aber in den elitären Zirkeln der Republik herrscht die Narrenzeit bekanntlich bereits durchgängig seit dem elften September 2001. Was wäre da günstiger, als die Gefahr durch den Terrorismus nochmal so richtig ins Bewußtsein der Bevölkerung zu rücken, die ja schon ein wenig terrormüde geworden zu sein scheint. Nicht umsonst nannte man Hitler und nennt man einige Politiker von heute populistisch; mit einer Kaltschnäuzigkeit, die den “Lebensversicherungen” verkaufenden Versicherungsvertreter vor Neid blaß werden läßt, wird der Bevölkerung Sicherheit auf Kosten ihrer Freiheit verkauft. Und wie beim Versicherungsvertreter, gelingt es den meisten Politikern ebenso, breite Bevölkerungsschichten zu überzeugen.
Es ist also wiedermal “Ausverkauf” in Deutschland 😐
// Oliver
Sicherlich: Angst vor Kriminalität ist weder kleinbürgerlich noch reaktionär, sondern real und berechtigt. Jeder macht seine Erfahrungen damit, mit Autoaufbrüchen und Wohnungseinbrüchen, mit Strassenraub und der kriminellen Verelendung von Drogensüchtigen. Diese individuellen Erfahrungen werden von den Medien klischiert und multipliziert. Laut Kriminalstatistik sinken die Zahlen für die Gewaltkriminalität in Deutschland seit Jahren, die Sexualverbrechen sind besonders stark zurückgegangen – die Öffentlichkeit aber hat den Eindruck, die Zahlen seien regelrecht explodiert. Horrende Kriminalitätsangst und horrende Terrorismusangst sind Resultate medialer Darstellung von Kriminalität. Dort wird das Angstmachende vergröbert und vergrössert – der soziale Kontext, die Bedingungen und Folgen von Straftaten bleiben ausgeblendet.
(Quelle: NZZ Folio)
Danke an Mathias für den Link.
// Oliver
Ich habe mal wieder ein wenig bei Mathias gelesen und bin auf das hier gestossen. Leider scheint es so zu sein, daß manch einer der Freund war – wenn auch nicht bester Freund – sich von mir abgewandt hat, weil ich mich als Atheist “geoutet” habe.
Mit etwas gesundem Menschenverstand hätte man das schon lange wissen können, aber wer seine Freundschaft von einem Glauben abhängig macht, nunja … für den scheine ich zumindest nie echter Freund gewesen zu sein. Eher Freund dank falscher Vorurteile.
In jedem Fall hoffe ich, daß es für Mathias mit seinen Freunden gut ausgeht. Kommentar sind ja leider abgeschalten 😉
// Oliver
Ja holla, da fiel mir doch soeben was ein. Vor einigen Jahren hieß es noch, daß sich die Führungsriege in unserem Land denkt, es sei eine gute Idee kryptographische Schlüssel an die Bürger auszugeben.
Und jetzt meine kleine Umfrage: wer würde nach der Debatte um den sog. “Bundestrojaner” noch irgendeiner Behörde in Deutschland Schlüssel – egal ob private oder öffentliche – anvertrauen, deren Schlüsselservern vertrauen oder gar von denen Schlüssel generieren lassen?!
In der Debatte um den “Bundestrojaner” wurde auch darauf hingewiesen, daß die entsprechenden Behörden die Mails anderer Behörden (mit oder ohne Absprache) fälschen wollen oder sogar einfach und ohne deren Wissen Mails im Namen einer anderen Behörde verschicken können sollen. Nunja 🙄
// Oliver
Wer bietet wem ein Forum, und wem gehört das Internet?
Ein bißchen Zensur muß sein,
sonst kann Teutone nicht Teutone sein.
So gut wie wir uns heute zensieren,
darf sowas nicht passieren