April 2006 - Posts
OLE was just revamped :D - a technology more than 10 years old. Having some memory problems with links (OleLoad/OleSave were throwing E_OUTOFMEMORY even if there was a lot of memory available) - I have not only changed the preferred format from metafiles to bitmaps (with dpi info on top) but also compressed the cached presentation to PNG format for much smaller files on the disk.
This add-in automatically generates comments in your code, like:
/// <summary>
/// Return true/false if the command is undoable or not
/// </summary>
/// <value></value>
public abstract bool Undoable
{
get;
}
or:
/// <summary>
/// This method must be called when the command is executed
/// </summary>
public abstract void Execute();
via Mihai.
Microsoft has a
patent for their crap OLE cache stuff - like someone would steal their "invention" when designing an operating system :D.
I promise this is my last post that is related to various bugs that I encounter - my blog should not become a knowledge base :D. If you ever find InstallShield Express to suddenly change the extension of files during compiling the setup (exe - exe2, dll - dll2), the ise file is broken. You'll have to re-insert the files again in the kit (this is related also to changing the file paths from relative to the project folder to absolute).
The easiest way to do it is take the farthest vertices and draw a perpendicular on them. This is very effective and I found it runs much better than having for example 5 of the farthest segments and averaging their direction (for having a better aproximate of the "farthest points" axis).
It's strange that, after they have implemented the best auto-completion ever in Visual Studio, Microsoft didn't bother to have the same functionality in SQL Server Management Studio / Query Analyzer :(.
... is our project for
Windows Challenge. The final report is unexpectedly good, with me being in charge of the image processing part - lots of work to do but it ended very nice.
The BirdSpot system automatically detects, identifies and classifies bird species based on visual information in order to determine the evolution of the population density of distinct species in a designated area.
It's the avian flu that we are trying to stop spreading (!) with BirdSpot :D.
All sample code I've downloaded, written in C# for .NET 1.1 and using Windows Forms, have thrown this at runtime:
Cross-thread operation not valid Control 'ctrl' accessed from a thread other than the thread it was created on.
After searching it I found out that cross-thread form/control calls were stated "to be avoided" in the .NET 1.1 docs. Still - why wasn't this respected at all ?
Here's a screenshot from their official site. Unfortunately I may lose
both concerts because of Windows Challenge finals that is happening exactly then.
I've achieved this using two passes, the first one with glLogicOp( GL_SET) and GL_COLOR_LOGIC_OP (to output a full white image) and another pass with glBlendFunc( GL_ZERO, GL_CONSTANT_COLOR) to blend a constant color over the already white background.
He appears in the Visual Studio setup but also on the cover of WM 5.0 Developer Resource Kit DVD and as well in the setup screens:

Anyone please tell me of other appearances of this
everywhere guy.