Gold
Gold

Reputation: 62524

Getting error when I to try to install my program on Windows 2000

I am getting an error when I try to install my program (C# , Winforms, .NET 2.0) on Windows 2000:

The procedure entry point GetNativSystemInfo could not be located in the dynamic link library KERNEL32.dll

Upvotes: 0

Views: 427

Answers (1)

rekire
rekire

Reputation: 47965

It the API you are using is simply not available at Windows 2000.

See also the MSDN about GetNativeSystemInfo:

Minimum supported client
Windows XP [desktop apps | Windows Store apps]

Minimum supported server
Windows Server 2003 [desktop apps | Windows Store apps]

Why don't you use the function GetSystemInfo which is available for Windows 2000.

Upvotes: 3

Related Questions