
Programming problems for Win NT
Why not use the GetVersionEx() function? (MSDEV studio will have the
appropriate documentation you need for this.) In general it is a bad idea
to obtain OS information by attempting to scan files, etc.
I am not sure exactly what you mean by "illegal" software. Virus scanners
may do nicely for that task.
Also, the appropriate forum for this question is probably along the lines of
comp.os.windows.
Quote:
>i need to write a c source code for a program to scan files on a drive
>to detect which version of the windows NT is being run. Also, i need to
>check for any service packs installed. It must also incorporate a
>diagnostic tool to do a quick check on the nt system or win95 system for
>illegal software installed in the system(e.g. "back door", trojan horse,
>etc)
>My problem is that i dont know how to set about doing this since my
>experience in the C language is pretty basic. Any idea how to go about
>it, or are there such source codes available anywhere on the web?
>hope that you will reply soon.. thanks.. your help would be very much
>appreciated...
>Problem Child