Welcome to Atalasoft Community Sign in | Help

August 2008 - Posts

Getting the fonts folder

Here's how to get the fonts folder on a windows system incorrectly : string fontPath = Environment.GetFolderPath(Environment.SpecialFolder.System) + "\Fonts"; It looks so terse and tempting - the SpecialFolder enum takes you all the way there except for

Generic Fiddling

I spent an hour yesterday playing with generics to get my chops up a little better. After reading Krzystof Cwalina's post on the layout of the generic collections, I came up with this little gem: public class UniqueCollection<T> : Collection<T>

Multilingual OCR

I frequently look back at the code I've designed with an eye toward improvement. Is it all that it can be? Does it do what it says with few surprises? Is it appropriately extensible? Today, I'll look at the Atalasoft OcrEngine object. This was my first

Managed C++ and IDisposable

I'm writing some code using the new Managed C++/CLI syntax and I ran into this error: error C2039: 'Dispose' : is not a member of 'System::IDisposable' the code I started with was this: image->Dispose(); // image implements IDisposable which gave me
Posted by Steve Hawley | 2 Comments