The real hard way

13. September 2016 Leave a comment

Yesterday, i ve been visit a developer conference in Athens and speak about the C++ managed/umanaged scenario.(MS C++ is the only language there can handle both scenarios twices in a simple method anyway-fulll control)

Some people ask me why you so angry about MS? and why you still works as a developer in Microsoft Environment?
Go away if you dont like!

Thats a realy good question what i find.

My answer is as follows:
I’m a developer in MS technologies sience 1999(as a professional in age 19) and at this time, the tools are good, better as today, the ideas was good and the spirit was good. (good means good at his time of course…. no match for today) Today i see the quality is lower and lower, and dont believe in the service software strategy what the Microsoft Marketing so call it “Cloud”.  So it is easy to left off but i dont want – i just hate Cloud and JS  and all this Money Money Money scenario. Imagine: If 1000 developers left off MS doesnt care, if the same 1000 developers still stay and scream “WE DONT WANT IT” this can be the start of a real movement. I generaly miss some critical comments in the microsoft developer world. all MS dev bloggers, it-newspapers find everything totaly good, the microsoft world seems to be sooo happy – is this your real world as a developer? Not for me…

So i dont left Microsoft, i just say “NO” to the “Cloud” – this is more hard as just left off the MS environment.  Excuse me for “my crazyness” in the future.. it is because i want to be as loud as possible because it seems to be i’m alone.




Categories: Allgemein

Stalin hatte recht

8. September 2016 Leave a comment

Vom Genossen Stalin ist bekannt das er Todesurteile immer gerne vor dem schlafen gehen unterzeichnet hat. Dazu hat er dann Bemerkungen angezeichnet “ist nicht genug – nur toten reicht nicht”. Danach ist er dann friedlich schlafen gegangen. Ich verstehen zumindest jetzt seinen Standpunkt etwas besser. In einer gerechten Welt wurde ich Nadja Sadella in meinem Keller elendig zu Tode foltern und das ware immer noch nur 1% von dem was er verdient hatte. Und so lege ich mich nun friedlich schlafen – trotz der Moglichkeit der Exekutive und im Geiste bei Joseph Stalin.

Categories: Allgemein

Wieso ich Human Resource hasse

3. September 2016 Leave a comment

Aus der Abteilung Bewerbungsgespräche für Developer:

Warum ich Human Resource hasse und lieber mit dem Chef persönlich sprechen will.

Zunächst mal nach meiner persönlichen Erfahung. Ich bin ein Developer und damit Tiefstapler. Ich erwarte immer das geringste und bin aus Prinzip pessimistisch. Das ist mein Charakter und daran kann ich nichts ändern. Human Resource Ameisen sind da ganz anders. Die gehen davon aus das man immer übertreibt maximal übertreibt(und lügt).
Männer zu 50% und Frauen zu 20%. Das ist ein grundlegendes Missverständniss. Ich hab schon ein Ego aber ich schätze mich immer auf das geringste ein. Das ist etwas was Human Resource Mitarbeiter nicht verstehen. Ich erachte es als eine Qualität für mich als Entwickler immer nur die Mindestmenge zu versprechen aber die Optimalmenge bestenfalls in Aussicht zu stellen. Und ich kann es immer gut begründen aber da das interessiert HR Mitarbeiter für gewöhnlich schon garnicht mehr.
Da rede ich doch lieber mit jedem anderen als so einer externen HR Ameise.

Für andere Berufszweife mag das HR Prinzip funktionieren, für Entwickler bestimmt nicht.
(Was ich heute als Entwickler weiss ist eh egal, wie gut bin ich morgen noch wenn es was neues zu lernen gibt wäre entscheidener. Ich hab noch keine Firma getroffen ob gross oder klein die daran mal einen Gedanken verschwendet hat. Solange das so bleibt wird sich auch nichts ändern)

Categories: Allgemein

Create RegAddin.exe – Day 29

Currently i create a commandline tool called RegAddin.exe – It is redestributable in installations and has more options as RegAsm.exe – specialy it comes with a feature to register and deploy an addin only for the current user without admin privileges(1). (It works also with Build events in visual studio to replace “Register for COM Interop”) With some WIX templates it was very easy to to deploy an addin  -even for beginners-  thats the idea.

It works so far but i still face some magic from RegAsm.exe i didnt understand – and there is no documentation at all how this infrastructure works. So i use the monkey-see-monkey-do principle in virtual machines and spend limitless hours each night to understand what are the rules behind.

Currently i have 2 Addins(AnyCPU compiled)  on an 64 Bit system there totaly the same for me incl. its dependencies.
But for the first addin RegAsm.exe generate

@ = “mscoree.dll”

and for the second addin:

@= “C:\Windows\SysWow64\mscoree.dll”

The second addin is redirected to Wow but not the first addin.  I have no idea why for the moment…
Even in ILSpy/DotNetReflector i see no difference.

So thats what i do at the moment.



(1) Since Windows 7 it is possible to register an addin without admin privileges only for the current user. The HKEY_CURRENT_USER hive key spend some special subkeys to bypass HKEY_CLASSES_ROOT. But RegAsm.exe/Visual Studio(and most Intallers) can’t handle that.



Categories: Allgemein

The Visual Studio PreBuild Command Event Sucks

Right now, i create new deployment tools for the upcoming NetOffice release.
One of them is a tool i call it “RegAddin.exe” – a substitute of “RegAsm.exe” with more options
and working without(!) admin privileges also in deployment and so on.

My main strategy in development was to replace the “Register For COM Interop” option in Visual Studio with RegAddin.exe and
the Pre/Post Build events. Unfortunately the PreBuild event in Visual Studio is running AFTER the clean command(which is deleting the former build assemblies i need to call the old former logic(incl. call the Unregister method) like RegAsm does the job to imitate the process as best i can). So i can not made an unregister process for the previous build assemblies. The internal “Register For COM Interop” option in Visual Studio has access to an internal event before Visual Studio cleanup the old assemblies. This is not fair!

I can level this problem easily(try unreg in the postbuild event BUT with the new assembly).
Developers may face an unexpected behaviour in a 1% percent case here in compare to RegAsm.
(And how i can explain this in easy words to semi-professional developers in documentation?)

“Kommt Zeit kommt Rat” (a german quote that say the answer comes in time)

Categories: Allgemein


Last night i give a message to codeplex about source control because my SVN connection doesnt works for 2 years. ( i can not commit any new code)
2 days later the answer comes from Xuefei Wang(Pactera Technologies) to told me we have issues and just wait please.

Pactera Technologies – A chinese company there want handle social support like indian-call centres(“tadorri chicken please”).
Here was the point i realize Microsoft realy left off Codeplex.

I want change the source to github now and keep handle discussions and issues on codeplex(as long it works)

*just my 2 cents


Categories: Allgemein

“No change has been made in Office 2016”

4. August 2016 2 comments

At the introduce of MS Office 2016 – the MS Product manager told us. “We did no changes  because bla bla Marketing bla….(we dont care for this API anymore – is what he really means)”

Last night i take a deep look in the Office2013 and Office2016 COM API to to see it is realy the truth?
I’ve been compared Excel/Word/Outlook and PowerPoint in detail – with my own special tools there help me to create the NetOffice source code.
Ok, here it comes:

Yes – it is. No changes in Office 2016 COM API in comparsion to Office 2013.

No new types, no changed method, property signatures, no new enum members, nothing at all!
(no warranties for the implementation behind but Office 2016 API is definetily the same as its previous version)


[Edit: In a previous version i talk about Office 2015 instead of 2013. Thanks to  here]





Categories: Allgemein