.NET on NT 4.0
-
Is there anyone who has any experience with programming .NET applications for Windows NT 4.0? I have to make a network enabled application and I know that the server atleast runs NT 4. Basically the server will have to be able to handle networking with sockets, threads for dealing with multiple clients and ADO.NET for dealing with a database. So if you have any experience at all about these parts or anything else on NT 4 please let me know if I have got myself into a lot of trouble by saying I could do this. When I check the MSDN documentation for some of the classes I'm gonna need they all say they are supported on NT 4 so maybe I have just got scared totally unnecessary but I really need to know about problems that may arise. Isn't the idea with the CLR and IL that an assembly would run on all supported operating systems with a working .NET framework, right? So basically there shouldnt be any problems?
-
Is there anyone who has any experience with programming .NET applications for Windows NT 4.0? I have to make a network enabled application and I know that the server atleast runs NT 4. Basically the server will have to be able to handle networking with sockets, threads for dealing with multiple clients and ADO.NET for dealing with a database. So if you have any experience at all about these parts or anything else on NT 4 please let me know if I have got myself into a lot of trouble by saying I could do this. When I check the MSDN documentation for some of the classes I'm gonna need they all say they are supported on NT 4 so maybe I have just got scared totally unnecessary but I really need to know about problems that may arise. Isn't the idea with the CLR and IL that an assembly would run on all supported operating systems with a working .NET framework, right? So basically there shouldnt be any problems?
Each .NET Framework class has a list of systems it's available on in the documentation. Usually, NT4.0 (with SP6a of course) is on the list, some classes are not supported on 9x systems. I didn't have any problems with my programs running on NT4, as long as I used only the framework classes. You have to be careful when you use p/invoke, though. In my application framework I needed to get the long filename for an executable and since there's no .NET way to get this information I P/Invoked GetLongPathName(). Sadly, this didn't work with NT. mav