Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vs
out
.idea
cmake-build-debug
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

This is a C++ wrapper for WINAPI to take some of the clumsiness out of programming WIN32 applications. Most classes wrap the calls to the WINAPI functions so that they keep track of the handles for you and define some sensible defaults.

Almost all the documentation in the origional repo help dir still applies and is recommended reading. However a major change is that the library default `WinMain` function must now be defined in your code for compatability with non MSCV linkers. You can easiliy do this using the `USE_LIB_WINMAIN` macro. For example the `sdi.cpp` example app is now:
Almost all the documentation in the original repo help dir still applies and is recommended reading. However a major change is that the library default `WinMain` function must now be defined in your code for compatibility with non MSVC linkers. You can easily do this using the `USE_LIB_WINMAIN` macro. For example the `sdi.cpp` example app is as below:

```C++
// Include main WinAPI Wrapper header
Expand Down Expand Up @@ -36,6 +36,6 @@ namespace {

USE_LIB_WINMAIN
```
This example assumes the UNICODE macro isn't defined for simplicity's sake. The real example supports ASCII and and UNICODE chars.
This example assumes the `UNICODE` macro is NOT defined for simplicity's sake. The real example supports ASCII and UNICODE chars.

All modifications are made available under the origional license of the library (see `license.txt`).
All modifications are made available under the original license of the library (see [License.txt](License.txt)).