Skip to content

kineticpsychology/windows.win32.apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windows.win32.apps

Tributes to Mr. Charles Petzold

  1. The sub folders indicate individual projects.
  2. Some projects contains two versions of the same exe.
    a. Application.exe : This has been generated by direct compilation with compiler optiomization switches
    b. Application.uncompressed.exe : same as <a>
    c. Application.compressed.exe : UPX compression applied on <a>
  3. All the applications are written in plain old C with Win32 API implementations.
  4. All programs have been compiled with LCC-Win32 C compiler.
  5. Typically projects with a resource file (.rc file) have been compiled in the following order:

 lcc.exe -p6=no -O -o app.o app.c
  lrc.exe /foapp.res app.rc
  lcclnk.exe -o app.exe app.res app.o -subsystem WINDOWS -s

 where 'app.c' is the C Source Code
       'app.rc' is the resource file
       'app.o' is the obj file (compiled from app.c)
       'app.res' is the obj resource file (compiled from app.rc)
       'app.exe' is the final application

Other Notes:

  1. Sometimes, some project will list something like: libs.txt. This file indicates any external library to be included. For example, the 'Icon Cache Refresh' project indicates 'shell32' in the libs.txt. This means while linking the file in the third step (mentioned in #5), the command needs to be changed from:

    lcclnk.exe -o app.exe app.res app.o -subsystem WINDOWS -s
    to
    lcclnk.exe -o app.exe app.res app.o <LCC PATH\lib>\shell32.lib -subsystem WINDOWS -s

  2. I don't exactly have intentions of updating these repositories anytime soon.

About

Tributes to Mr. Charles Petzold

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages