Skip to content

Magnetic-Fox/TestLibrary-WinAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Library (16-bit)

This repository contains very simple dynamic linked library code written to compile for 16-bit Windows using Open Watcom compiler. Just for test purposes (and discovering how to write code that is compatible with old Watcom compiler, which is not obvious). The code contains one very simple function, LibMain (known as DllMain) and some resources.

What to use to compile this code?

The code provided here was made to compile using Open Watcom IDE, which is quite good for modern MS-DOS/WfW3.11 development. It's possible that it would compile using old Microsoft compilers, but I haven't tested it. It's best to use Watcom for it. In fact, this project is heavily tied to Watcom coding style, so I think there might be serious problems with compiling it outside such environment.

Disclaimer

I've made much effort to provide here working and checked codes with hope it will be useful. However, these codes are provided here "AS IS", with absolutely no warranty! I take no responsibility for using them - DO IT ON YOUR OWN RISK!

License

Codes provided here are free for personal use.

Bartłomiej "Magnetic-Fox" Węgrzyn, 20th March 2024