Livewire is an algorithm where the user select a point and then moves the mouse and in real time it shows the "best" path between the point and the mouse. There are other implementations of this algorithm available online, many open-source. However this implementation sets itself apart with speed and quality of results.Read More »
I created a custom library to extract compressed files from a WIM file that did not require the Microsoft WIM library. Using the Microsoft WIM Library, to extract a single file is actually quite an elaborate process. I predicted this would greatly speed up the start up and running of my Windows 7 Boot Updater program since I use that file whenever the animation is set to "Default".
My current method (in Alpha v9) is to:
While working on the next release of the Windows 7 Boot Updater I separated the core updating system from the interface. It is generally good practice to do this since then it is modular. Since Visual Studio 2010 no longer supports Intellisense for C++/CLI I decided to convert the interfaces to C# since they were almost purely System.Windows.Forms. The core remained C++/CLI since it had a lot of native dependence. This created another problem. The only easy way to distribute this is as a core DLL (from the C++/CLI code) and a separate EXE (from the C# code). But I…Read More »
To make static manged classes in C++/CLI you use the combination of keywords abstract and sealed. Static managed classes can only contain static members (functions and variables) and cannot be instantiated or inherited from. I believe they are nicely sped up, but I haven't verified this.
However, if you add delegates or literals to the static class, the compiler complains:Read More »