A comparison between MFC and Win32 in C

January 25th, 2010

First let us start with the “Windows SDK” (Software Development Kit) which is designed to create Windows applications. It consists of large set of functions, messages, structures, macros and resources. It is a set of tools designed to help C programmers create Windows applications.

Windows SDK consists of the large set of books describing functions, messages, structures, macros and resources. There are also tools including a dialog editor and an image editor, on-line help files and a set of windows libraries and header files.

It has large collection of API (Application Programming Interface) functions written in C. The API is a set of functions that are part of Windows Operating System. Programs can be created by calling the functions present in the API. One doesn’t have to bother about the internal working of the functions – just knowing the function prototype (name, arguments) and return value one can invoke the API functions. A good understanding of the Windows API will help you to become a good Windows programmer . Windows itself uses the API to perform its GUI magic.

Read the rest of this entry »

Threads in Java

January 18th, 2010

Java supports multithreaded programming. Threads means part of the program which runs concurrently and which defines separate part of execution. Threads are present in many states.It can be running or it can be made ready to run as soon as it gets CPU time. A running thread can be suspended temporarily and also can be resumed. Thread can also be blocked, it can also be terminated in which execution is stopped. When thread is terminated it cannot be resumed.

Read the rest of this entry »

Data Types in C#

January 10th, 2010

C# is a language in which every variable and object should have a declared type.In this article we are going to discuss about datatypes in C#. Many dataypes in C# are from C and C++.

There are different ways of defining data types in C# let us see each of them in brief:-
Read the rest of this entry »

Newly upgraded WordPress

January 9th, 2010

Have an old WordPress install? I was recently amazed at how easy it is to upgrade to the latest and greatest. The WordPress Codex has an article on how to do it here.

Create a restricted area on your website

September 4th, 2008

If your website is running on an Apache server, its very easy to restrict access to a folder to only yourself or a select few people. This is very useful if parts of your site are not yet fully operational, or if you want to run a small “beta”. Read the rest of this entry »

How to ban people from your site by IP address

September 4th, 2008

I found this neat trick the other day… If you notice someone is trying to hack your website, or just would rather a certain individual not stop by anymore, its very easy to ban the offender if you’re using Apache as your webserver. Read the rest of this entry »

A chat with a professional developer

January 13th, 2008

Recently I sat down and chatted with Ben Johnson, a developer friend of mine, about the workflows we have as developers. It was a very interesting chat, and he graciously agreed to let me post it here.

Read the rest of this entry »

Woot.com marketing = Alpha geek status

January 3rd, 2008

I was checking my gmail today and saw this adsense ad:

“We are Woot.comwww.woot.comOur tiny profit is lost. Haiku ads don’t work.”

Wow. Probably the most clever text adsense ad i’ve ever seen. Props to you if you got the joke as well.

 


(Click to see larger image)

 

A chat with a professional designer

December 11th, 2007

If you are, work with or want to be a professional designer, you MUST READ THIS…

I had a chat with MD, a professional designer friend of mine. I wanted to get an idea of what his design process is, as well as his thoughts on the current “Web 2.0″ situation and what it means for professional designers right now. He graciously agreed to allow me to post the conversation to the blog!

Read the rest of this entry »

New updates to iswapyou.com

December 11th, 2007

Theres been a lot of new functional changes made to iswapyou in the last two weeks. Summary is listed below.

Read the rest of this entry »