Thursday, March 19, 2020

Creating Windows Service Applications Using Delphi

Creating Windows Service Applications Using Delphi Service applications take requests from client applications, process those requests, and return information to the client applications. They typically run in the background without much user input. Windows services, known also as NT services, offer long-running executable applications that run in their own Windows sessions. These services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface.   Service Applications Using Delphi Use Delphi to create service applications: Create a service, install and uninstall the service application, make the service do something, and debug the service application using the TService.LogMessage method. Develop a Windows service using Delphi and register it with Windows.Start and stop a Windows service using Delphi to call Win32 functions, for those cases when you must restart one or more services to avoid conflicts at the operating-system level.Retrieve all currently installed services to help both the end user and Delphi programs respond appropriately to the presence, absence or status of specific Windows services. Generate advanced status reporting for running Windows services. The  OpenSCManager()  and OpenService()  functions highlight Delphis flexibility with the Windows platform. More About Windows Services and Delphi Although Delphi is optimized more for typical user-fronted applications, the programming language remains capable of creating service applications. Newer versions of Windows (especially Windows 10) have tightened the rules that service applications have to play by, relative to Windows XP and Windows Vista. If you develop service applications using Delphi, review Microsofts current technical documentation to orient yourself to best practices for Windows 10 and Windows Server.

Tuesday, March 3, 2020

November Writing Prompts for Journaling

November Writing Prompts for Journaling November is a great month to step back and count our blessings. The month offers a range of activities, many associated with football and meals and family. Here are writing prompts, one for each day of the month of November. These prompts been chosen to highlight special days throughout the month. These can be used as daily warm-ups, journal entries, or opportunities for speaking and listening.  Thanksgiving  does not have a date, as it is always the fourth Thursday in November. For this holiday, a great prompt would be: What are five things that you have to be thankful for? November Holidays Aviation MonthChild Safety and Protection MonthLatin American MonthNational Model Railway MonthNational Novel Writing Month   Speaking and Listening Opportunity Participate in  Storycorps  The Great Thanksgiving Listen.​The Great Thanksgiving Listen is a national movement that empowers young people- and people of all ages- to create an oral history of the contemporary United States by recording an interview with an elder. To date, thousands of high schools from all 50 states have participated and preserved more than  75,000 interviews, providing families with a priceless piece of personal history. Writing Prompt Ideas November 1 - Theme: National Authors Day. Who is your favorite author? Why do you like his or her writing?November 2 - Theme: Cookie Monsters birthday. Which of the Sesame Street characters was your favorite as a child? Why?November 3 - Theme: Sandwich Day. Whats your idea of a perfect sandwich? Whats on it? What type of bread would it have? Describe it in detail.November 4 - Theme: End of daylight savings time. Do you think that America should continue to observe daylight savings time? Why or why not?November 5 - Theme: National Donut Day. Use your five senses to describe your favorite type of donut.November 6 - Theme: Voting. What are your feelings about voting? Is it something you look forward to doing or do you not really care? Explain your answer.November 7 - Theme: Magazine Day. Pretend you are creating a new magazine. What would it be about? What type of features would it include? Make sure to give your magazine a name. If you were going to create a magazine, what would it be called, and November 8 - Theme: X-Ray Day. Have you ever had to have an x-ray? If so, what was it for? Describe what happened to cause your injury. If you never had an x-ray, write about your worst injury.November 9 - Theme: Parade Day. Write a poem or a short piece of prose about a parade. It can be serious or humorous, your choice.November 10 - Theme: National Novel Writing Month. If you were going to write a novel, what would it be about? What would its title be?November 11 - Theme: Veterans Day. Describe at least three ways that you can honor veterans who have served in Americas armed forces.November 12 - Theme: Nuclear energy. Which type of energy do you think America should focus on for the future: solar, wind, fossil fuel, or nuclear? Explain your answer.November 13 - Theme: World Kindness Day. Describe an instance where someone was really kind to you. How did it make you feel?November 14 - Theme: Childrens Day (India). In India, November 14th is Childrens Day. Do you think that America s hould institute a special day set aside as childrens day? Explain your answer. November 15 - Theme: National Recycling Day. Do you believe that people should be penalized if they dont recycle? Explain your answer.November 16 - Theme: Scorpios. According to the Astrological calendar, people born on November 16th are Scorpios.  Do you believe in astrology and sun signs? Why or why not?November 17 - Theme: International Students Day. Would you ever consider studying in another country? Why or why not?November 20 - Theme:  National Peanut Butter Fudge Day. What food combinations do you think are delicious such as the combination of chocolate and peanut butter?November 21 - Theme:  National Stuffing Day. Stuffing is one of the most traditional foods for a holiday. What are some of the foods you associate with the holidays?November 22 - Theme: National Start Your Own Country Day. Pretend you have decided to start your own country. Give your country a name. Describe what symbols and colors would be on its flag. Finally, write about at least three protections gua ranteed to all citizens. November 23 - Theme: National Espresso Day. What kind(s) of food gives you a boost of energy?November 24 -Theme:  National Native American Heritage Day. What do you know about the Native American tribes who lived in your area? OR Read a Native American myth or folktale. How is this story like or unlike other cultural myths or folktales?November 25 - Theme:  National Parfait Day. Parfaits are desserts created with layers of sweets, but they can serve as a metaphor for someone who has different talents or layers of ability.  What kinds of layers do you have?November 25 - Theme: National Cookie Day. If you are not tired of all the holiday food options in November, then write about your favorite kinds of cookies.November 27 - Theme: Celebrities. If you had the ability to meet one celebrity, who would it be? Why?November 28 - Theme: Red Planet Day. If it was announced that a new colony was being planned on Mars, would you want to join it? Why or why not?November 29 - Theme: King Tut s Tomb Opened. Do you believe that something like the curse of the mummy against those who opened old Egyptian tombs really exists? Why or why not? November 30 - Theme: Dinner Party. If you were going to have a dinner party and could invite five historical figures, who would you choose? Explain why you would invite each one.