Geeks With Blogs
Nat Luengnaruemitchai Geek Blog August 2005 Entries
Why says coffee is not good for you?

Posted On Monday, August 29, 2005 4:30 AM

ImageAnimator deadlock
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. ......

Posted On Friday, August 26, 2005 4:57 AM

ContextLoader problem
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 ......

Posted On Friday, August 26, 2005 4:45 AM

Google Desktop 2 is out
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

Posted On Monday, August 22, 2005 6:44 PM

Spring.NET Framework 1.0 RC is out

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.

Posted On Monday, August 15, 2005 5:29 AM

Copyright © Nat Luengnaruemitchai | Powered by: