Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

from https://github.com/microsoft/VCSamples/tree/master/VC2010Sam...

"The WordPad sample demonstrates how to implement an application that imitates the functionality of WordPad, including the user interface elements and some of the capabilities."

I should have known it wasn't the real Win95 WordPad source code since this version is written using MFC and C++.

C++ was not an approved programming language for Win95 components in its quest to run on Brad Silverberg's (Win95 manager) mom's 4MB RAM PC.



Hmm. Murray Sargent's blog post states that Win95's WordPad IS written in MFC.

from https://web.archive.org/web/20070127011040/http://blogs.msdn...: "...RichEdit 1.0 was wrapped in MFC to produce WordPad as an example of how MFC could be used for text processing. This was shipped with Windows 95 as mentioned in the previous post."

More RichEdit history: https://web.archive.org/web/20070306114503/http://blogs.msdn...


> C++ was not an approved programming language for Win95 components in its quest to run on Brad Silverberg's (Win95 manager) mom's 4MB RAM PC.

Plenty of Windows 95 components were written in C++, including pretty much everything that dealt with OLE. WinNT also used C++ for the graphics layer.


WinNT isn't Win95.

Lots of MS groups were using C++ before Win95, including the Exchange group.

Windows for Workgroups 3.1+ included C++ code.

I recall that in the initial Win95 group meeting, C++ wasn't allowed. I moved to another team, so I don't know if that restriction was relaxed or not and/or when they allowed C++.

The email client included with Win95 wasn't allowed to use C++, including the RichEdit windows control, which had to use C for OLE code - not many other codebases could boast about that - no one signs up for that sort of masochism by choice.


The "real" WordPad is built on top of the sample, with minor changes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: