August 2005 Entries
http://news.independent.co.
I just used ImageAnimator class for the first time. And I ran into a problem pretty quickly. First, OnFocusChanged eventhandler will be fired from another thread handled by ImageAnimator => which is not a UI thread. So any UI operations are called in the event handler, you need to use Control.Invoke to call back into UI thread. Second, every time OnFocusChanged is called, it will make a lock using ReaderWriterLock. This worked fine until I made a callback using Control.Invoke. The deadlock appeared....
Yesterday, I came across a problem where I host JVM inside a process and use JNI to connect to JVM. Usually it should work fine. However, when you spin off a new thread from unmanaged world and make a JNI call into Java code that uses ClassLoader. That's where I ran into the problem. Since the thread is instantiated outside JVM, therefore, Thread.currentThread().getC... is not set properly. It would be defaulted to System/Bootstrap ClassLoader instead. Therefore, it cannot find the...
Google Desktop 2 has been released. It contains several new features including Deskbar. It is so far much better than MSN/Windows Search. Download your copy today at http://desktop.google.com/
Finally Spring .NET team released Spring.NET 1.0 RC to the web. Spring.NET is a fine Dependency Injection framework in .NET which was originally ported from Spring Framework in Java. In this release, they introduced many features including AOP also made better documentation (Changelog here). To download, please visit here