X++ compilation

When I recently read the post Resolving Compile Errors and Generating CIL is not Optional by Joris de Gruyter, I immediatelly recalled several problems I keep meeting in companies that develop and maintain Dynamics AX-based solutions. I’m going to speak only about the “normal” compilation to p-code, not to CIL. From a fault prevention point of …

Continue reading ‘X++ compilation’ »

Speech synthesis in .NET

Have you ever tried speech synthesis (i.e. text pronounced by computer)? It’s surprisingly easy. The following trivial example announces the current time (language: PowerShell): Add-Type -AssemblyName System.Speech $synthesizer = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer $synthesizer.Speak("It’s {0:H m}" -f (Get-Date)) You can even make voice reporting of exceptions: $nullReference.ToString() trap { Add-Type -AssemblyName System.Speech $synthesizer = New-Object -TypeName …

Continue reading ‘Speech synthesis in .NET’ »

XML documentation from Dynamics AX to Word

It may also happen sometimes to you that you want to add a description of basic classes of some solution to a document. If you write XML documentation in code (and it’s a really big mistake if not), you have the description already done, you just need to get it into the target document. You …

Continue reading ‘XML documentation from Dynamics AX to Word’ »

Few thoughts about dynamic languages

Today I visited MDCC (Microsoft Development Center Copenhagen) to attend a TechTalk named Dynamic languages for statically typed minds. The lecture was given by Niclas Nilsson and his main goal was to convince us, the developers used mainly to static-typed languages, that dynamic languages have some advantages too. Niclas didn’t go into any theory, he …

Continue reading ‘Few thoughts about dynamic languages’ »