Windows++:Paul DiLascia 的 Windows C++ 应用程序框架
Windows++: C++ Application Framework for Windows by Paul DiLascia

原始链接: http://pauldilascia.com/wpp.htm

## Windows++:一个轻量级C++框架 随着MFC等传统框架变得臃肿和缺乏灵活性,Windows++为使用C++开发Windows应用程序提供了一种精简的替代方案。这个轻量级框架,DLL仅为84K,通过抽象WinAPI并消除复杂的消息映射,简化了Windows编程。 Windows++允许开发者快速创建应用程序——“Hello, World”程序仅需20行代码!——并为构建自定义框架提供坚实的基础。它兼容Borland、Microsoft和Zortech编译器,并支持Windows 3.1、95/98/NT/XP。 Windows++已在商业应用中得到验证(包括“能量兔”屏保和医疗软件),并附带类库、makefile和示例程序,例如曼德勃罗集生成器和井字棋AI。对于希望更深入了解框架实现的用户,有配套书籍《Windows++:用C++编写可重用的Windows代码》。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Windows++: Paul DiLascia (pauldilascia.com) 的 Windows C++ 应用程序框架 4 分,来自 teleforce 1 小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Rolling your own application framework may seem crazy, but with the advent of the web and the need for self-contained applets with a tiny footprint, it makes more sense. MFC has got too huge and unwieldy; moreover, you can't easily change it when it doesn't do what you want. On the other hand, writing a framework from scratch is a lot of work.

Windows++ is a lightweight C++ application framework that lets you program Windows in C++. You can use it as the starting point for your own framework. It contains all the usual goodies to hide WinMain and wrap the Windows API, and you can write the hello, world program in just 20 lines of code!

Windows++ supports both Borland and Microsoft compilers (as well as Zortech :->) and runs on Win 3.1, Windows 95/98/NT/XP. The full DLL is only 84K, and Windows++ doesn't use message maps! Several companies have used Windows++ to build commercial apps—including the energizer bunny screen saver! I used it to build a medical application for orthopedists.

Download
	free Mandelbrot Program [82K] Windows++ comes with the entire class library, make files, and several sample programs, including a Mandelbrot generator (hint: drag a rectangle) and a program that learns to play tic-tac-toe, eventually drawing any opponent.

Download Windows++ for Win32 now!
Download original 16-bit version

If you want to learn how Windows++ (and any application framework like MFC) works, get my book Windows++: Writing Reusable Windows Code in C++ from your favorite computer bookstore or  Amazon.com.

Here's what famed Undocumented Windows author Andrew Schulman wrote about Windows++:

"The nitty-gritty details of how Windows applications frameworks are implemented, and of how Windows programs can hide the Windows API, get rid of WinMain, get rid of switch statements, and generally make Windows code more readable, modular and reusable. This is a brilliant book!"

联系我们 contact @ memedata.com