Archive for August, 2008

Delphi 2009 Tiburon - Why?

CodeGear published recently two video previews about the upcoming Delphi 2009, a.k.a. Tiburon:

http://video.codegear.com/Tiburon/WhatsNewInTheVCL_English/WhatsNewInTheVCL_English.html

http://video.codegear.com/Tiburon/WhatsNewInTheDelphiIDE_English/WhatsNewInTheDelphiIDE.htm

Both videos are hosted by David I.  He sounds really cheerful and enthusiastic about the value Tiburon is going to bring Win32 developers.  I already ranted about the unfortunate attempts of Delphi to emprace NET Framework, and now I was somewhat optimisic that Tiburon is focused on Win32.  First video is about the enhancements in VCL, and the other - about the IDE.

The two videos brought huge disappointment to me. 

(more…)

Posted by Nik on August 17th, 2008 No Comments

Multiple Threads in the UI - Please, Don’t Do This at Home!

I was having a nice chat with a friend of mine - a .NET Framework and Windows Forms programmer, and he said:

“It is not possible to access and modify the contents of a window from a thread other than the main one of the application.  And this is how Windows is designed”.

Well, he was wrong.  His mistake comes obviously from the fact that Windows Forms in .NET Framework does not allow you to do so.  If you try to access a control (i.e. a window in Win32 terminology) from another thread, you get a slap on your hands with a nice exception.

In Win32 you definitely can modify from another thread the contents of a window, created in another one.  But believe me, you should not do it.

(more…)

Posted by Nik on August 5th, 2008 2 Comments