Search This Blog

Friday, July 23, 2010

Windows Programming

1. What is Windows Programming?
Windows Programming uses GUI conc~pt. It is an eventdriven programming. An Application Window will respond to the events. by generating a message by, the Operating. System. It uses. graphics for organizing user workspace. Programs that run within Windows also use GUI. (e.g.):. Word, Excel . These application programs use some built-in functions present in API.

2. Differentiate between DOS based programming. &Window based programming. .
DOS based Programming
1. Hardware Dependent
2. Activated when the OS is called

3. Never calls the program running under it .
Window Based Programming
1. Hardware'lndependent
2. Activated when it receives the message
3. Can call a program running, under it

3. List the main header files in windows programming?
- WINDOWS.H
- WINDEF.H
- WINNT.H
- WINBASE.H
- WINUSER.H
- WINGDI.H
4. What is an API?
API stands for Application Programming Interface. API is a set of commands that interfaces program with processor. It is a set of routines, protocols and tools for developing a software application. API programs are written in C Language. .

5. Write the ways of implementing API?
API. can be implemented by using libraries(win32.dll)
- kernel
- User
- GDI.

No comments:

Post a Comment