Fundamentals of Network Programming (Windows Programming) - CSA2150

Course Slides

Download Full Set of Slides (1 Slide Per Page) (PDF/Zipped 324K)
Download Full Set of Slides (2 Slides Per Page) (PDF/Zipped 325K)

Download Lecture Slides 90 to 109 (PDF/Zipped 140K)
Download Lecture Slides 75 to 89 (PDF/Zipped 108K)
Download Lecture Slides 38 to 74 (PDF/Zipped 163K)
Download Lecture Slides 19 to 37 (PDF/Zipped 131K)
Download Lecture Slides 1 to 18 (PDF/Zipped 132K)

Code Examples

Hello World PowerBasic DLL with Visual Basic Example
Linked List (Using heap functions)
Window painting example 1 (No WM_PAINT)
Window painting example 2 (Using WM_PAINT)
Window painting example 3 (Draw rectangle)
Window Timers Example 1 (Using WM_TIMER)
Window Timers Example 2 (Using timer callback)

Topics Covered in Class

Please note that this is the list of topics I have covered in class so far. Mr. Joe Cordina will have covered additional ones.

Intro to the API, The WinMain function, Window classes, Creating a window, Callback functions, The message loop, Processes, Threads, Environment variables, Thread and process priorities, DLLs, Dynamic memory allocation (Heaps, GlobalAlloc, VirtualAlloc, etc...), The GDI and device contexts, Painting (WM_PAINT), Mouse messages, Timers, Introduction to Winsock, Fonts, Creating Child Controls, Resource scripts, Accelerators, Dialogs, COM.

Current Assignment

2007 - Download Assignment (PDF/Zipped 82K)

Past Assignments

2006 - Download Assignment (PDF/Zipped 79K)
The assignment must be written using C or PowerBasic using the Win32 programming techniques we have covered in class. DO NOT USE .NET.
2005 - Download Assignment ('Bouncing Line') (PDF/Zipped 83K)
The assignment must be written using C or PowerBasic using the Win32 programming techniques we have covered in class. DO NOT USE .NET.

Note: The following are the assignments when the course was CSA2040 - Windows Programming.

2003 - Download Assignment (Exploring WIN32 Techniques) (PDF/Zipped 114K)
2004 - Download Assignment (Button Game) (PDF/Zipped 64K)
The assignment must be written using C or PowerBasic using the Win32 programming techniques we have covered in class. DO NOT USE .NET.

Past Papers

Note: These are the papers when the course was CSA2040 - Windows Programming.

Past Papers June 2003 (PDF Files/Zipped 111k)
Past Papers June 2005a (PDF Files)
Past Papers June 2005b (PDF Files)
Past Papers June 2006a (PDF Files)
Past Papers June 2006b (PDF Files)

Additional Notes

You can check out "theForger's Win32 API Tutorial" here. Alternatively you can download the whole tutorial here (PDF/Zipped 269K).
Introduction to .Net class slides here (pdf).

[Back Home]


Last Updated on 23rd May 2007