Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.net for Win95?

Tags:

.net

winapi

During some research in the .net 3.5 symbols I've found a preprocessor directive

#if WIN95_SUPPORT
//...
#endif

This looks really strange to me! It is located in line 13861 in System.Windows.Forms.Control's Control.cs in method void WndProc(ref Message m)!

Does any of you know anything about that?

like image 707
bot47 Avatar asked Jan 21 '09 20:01

bot47


2 Answers

Considering that the betas of .NET 1.0 (http://en.wikipedia.org/wiki/.NET_Framework_version_list) were released before Microsoft ended support of Windows 95 (31 December 2001) I think is safe to assume that the developers were unsure until some point if they had to support Windows 95 or not.

like image 127
ggf31416 Avatar answered Nov 16 '22 11:11

ggf31416


It's probably left over from previous versions of the framework which were supported on Windows 95 (since it would make sense that the previous codebase be used).

like image 6
casperOne Avatar answered Nov 16 '22 12:11

casperOne