VCL Developer
Ali Keshavarz's Website-
ProcessInfo 1.2 is released
Posted on January 13th, 2010 No commentsHi,
ProcessInfo 1.2 is released. The changes in this release are:
- SuspendThread, ResumeThread, TerminateThread methods are added to TThreadItem class. Now you can pause/resume/terminate any running thread in a given process.
- TProcessInfo.Active and TAppInfo.Active are published properties, and can be set in design mode.
- TProcessInfo.RunningProcesses and TAppInfo.RunningApplications automatically populate the corresponding list if UpdateList method is not called yet. This means even if you don’t activate any of these two components, or call their UpdateList method, accessing RunningProcesses or RunningApplications does not cause Access Violation.
To download ProcessInfo 1.2, please go to ProcessInfo page.
Regards.
-
Component Toolbar slows down RAD Studio 2010
Posted on January 2nd, 2010 No commentsIn RAD Studio 2010 there is a new IDE feature called Component Toolbar. This feature provides a component palette similar to the old Delphi component palette.
This toolbar provides a nice search box which is able to filter components in the palette based on the search phrase. This toolbar is disabled by default, and is shown when Classic Layout is selected. Here you can see a snapshot of Classic Layout in RAD Studio 2010:
A few weeks ago while I was working with Delphi 2010, I noticed a delay when switching from code view to form designer. The delay was there not only in the complex forms, but also in simple empty forms! It was not a big delay (about 1 second), but since I had to switch between code and form designer view many times, it was really annoying, so I decided to investigate it and find out what is causing this delay.
-
Entru Inc. publishes Auto Shutdown
Posted on December 1st, 2009 No commentsEntru Inc. publishes a proprietary version of Auto Shutdown based on my open-source Auto Shutdown.
The initial version published by Entru Inc. is almost the same as my open-source Auto Shutdown.
-
Chad Hower of Indy fame is arrested!
Posted on November 7th, 2009 No commentsToday I saw a new blog post on Kudzu(Chad Hower)’s RSS feed, with this weird title: “Arrested in Bulgaria on False Charges”
At first I thought it is just a joke, but then I realized it isn’t
It seems Chad is in trouble for his son’s custody. He’s been accused of kidnapping his own son and traveling to Bulgaria with him in 2006!Anybody having some experiences with Delphi programming knows Chad, and his great open-source project; Indy Project.
I hope his problem is solved soon. He asked for help, and I think all Delphi developers who are using Indy have to at least spread the word, or if they can, help him financially to get out of this trouble.
-
چرا اختلال در اتصال اینترنت کل کشور به بهانه مقابله با آشوب طلبان؟
Posted on November 6th, 2009 No commentsاز روز چهارشنبه ۱۳ آبان ۱۳۸۸ اختلالاتی در دسترسی به برخی سرویس های اینترنتی، به طور خاص اتصالات SSL در ایران ایجاد شده، که ظاهرا به منظور جلوگیری از بروز برخی مسائل در صورت بروز اختشاش در راه پیمایی روز مبارزه با استکبار جهانی صورت گرفته.
قصد نداشتم در این مورد حرفی بزنم، چون هرگونه اعتراضی به اینگونه مسائل می تواند مورد سوء استفاده عده ایی فرصت طلب قرار گیرد، و من هم این سایت را برای اظهار نظر سیاسی یا اعتراضات اجتماعی و امثالهم ایجاد نکردم؛ اما همانطور که ما دربرابر اقدامات ستیزه جویانه دشمنان در داخل و خارج کشور مسئول هستیم، و مجاز به سکوت نیستیم، درباره اقدامات کم خردانه دوستان نادانی که بارها مقام معظم رهبری از آنها به شکل مستقیم و غیر مستقیم گله کردند، هم مجاز به سکوت نیستیم. با توجه به اینکه اکنون ۲ روز از راه پیمایی ۱۳ آبان می گذرد، و هنوز این اختلالات ادامه دارد، و مشکلات متعددی را حداقل برای من ایجاد کرده، تصمیم گرفتم در این مورد مطلبی بنویسم. البته از اکثر مدیران اجرایی کشور انتظار نمی رود که به اینگونه نوشته ها توجه کنند، یا حتی توضیحی درباره اینگونه اعمال ارائه کنند. ولی شاید اینگونه مطالب به نحوی به گوش آن دسته از مدیران دلسوز، یا ان شاء الله به گوش مقام معظم رهبری (دام الظله) برسد، امید به آنکه ایشان، یا آن دسته از مدیران اجرایی دلسوز، در صورت صلاحدید، توجه ایی به این مسئله کنند، و مانع اینگونه رفتارهای خودسرانه در آینده شوند.
-
ProcessInfo 1.1 is released
Posted on October 22nd, 2009 1 commentHi,
I released a new version of ProcessInfo. In this release I added these features:
- Enumerators are added for Windows, Threads, Modules, and Processes; Now you can use for-in statements in D2007 and above for iterating on running processes list, or modules\threads\windows of a given process.
- TProcessItem.UserName is added; This property returns domain name\user name which is running the process.
- TProocessInfo.AdjustDebugPrivilage is added; This method is called automatically.
TThreadItem.ToString & TProcessItem.ToString are added; TThreadItem.ToString returns ThreadID. TProcess.ToString returns process EXE name. - Now supports Delphi 7,2007,2009, 2010; Some conditional compiler directives are added so that it can be used in D7, 2007, 2009, and 2010. I tested it in D7, 2009, and 2010. It should work in D2007 too.
To download ProcessInfo 1.1, please go to ProcessInfo page.
Regards.
-
Site is restored from backup
Posted on October 13th, 2009 No commentsHi,
It seems the attack last week affected the whole server, and the hosting company restored the whole server using a weekly backup. So the site is back again.
Regards
-
To be restored
Posted on October 8th, 2009 No commentsHi,
Last night some funny Arab guys hacked this website. Since I wasn’t publishing here regularly, I didn’t have a full backup of all the plug-ins and theme, so I installed a fresh copy of WordPress.
It was funny to me that this site was been hacked, and the front page was been changed to a page swearing against USA and Israel, because since Gaza war, I had put Israeli IP addresses on ban list as a way to show my protest against their war against innocent people of Gaza. Sarcastically these funny clowns came and hacked a website that was showing protest against Israel!
Anyways, this website is not a political website, it is about technology – specifically software development. I am publishing my freeware utilities, components, source codes, and articles here.
I am sorry for the inconvenience. I will restore site contents tomorrow, today I am too busy for that.
Regards
-
How to use TProcessInfo
Posted on September 11th, 2009 1 commentThe other day I published Process Info component pack which contains TProcessInfo and TAppInfo. A sample task manager was also published as demo.
I thought maybe it is a good idea to talk about these components and some of their usages by providing some sample source codes. So I will start with TProcessInfo.
-
Process Info
Posted on September 8th, 2009 2 commentsProcess Info is a free Delphi component package containing two components:
- TProcessInfo
- TAppInfo
TProcessInfo provides a list of running processes. TAppInfo provides a list running applications (similar to Application tab in Windows Task Manager). Both components can update their list frequently based on the value of Interval property.




