Hi there, I've been searching around if anyone has used the GetProductInfo() function before which is in Vista/7 Kernel32.dll, but so far I haven't found anything. While searching the web, I found a few hits, but all examples are in C++. Is there anyone out there who can tell me how to convert the following code to AutoIT ? TIA pGPI = (PGPI) GetProcAddress( GetModuleHandle(TEXT("kernel32.dll")), "GetProductInfo"); pGPI( osvi.dwMajorVersion