Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why AGETFILEVERSION() shows older version of WinInet.dll
Message
From
31/03/2014 13:18:47
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01597689
Message ID:
01597768
Views:
58
Nice detective work Frank!

Yes, I saw "winnet.dll.mui" in AGETFILEVERSION's array also, but win explorer didn't show any details for it when I right clicked the file. I didn't think to copy and rename it to remove the .mui first and then check the properties. good thinking! That solves the mystery. From what I read, .mui files are language translations for the dll. Apparently they don't get updated with each update of the dll.

So the solution for getting the version of the active wininet.dll, is to copy it from \windows\system32\ to a temp folder and then use AGETFILEVERSION on the temp file location. then delete the temp file. Easy enough.

Thanks again all! Mystery solved, and solution found.

>Hi Mark,
>
>When I use AGETFILEVERSION and look at the array that got mode, I see in la1[8]: "wininet.dll.mui"
>So it looks like it is looking for what file to check the version.
>When I look in my windows folder, I find that file in this folder: "C:\Windows\System32\en-US"
>
>And when I make a copy of that file and rename it to "wininet.dll" and check its details, I see: File Version: 11.0.9600.16384
>
>So the $64,000 question becomes: Why is it using the .mui file?
>
>
>>If you execute the following from the VFP command window (to show the wininet.dll product version):
>>
>>
? AGETFILEVERSION(la1, "wininet.dll"), la1(11)
>>
>>It displays: 11.00.9600.16384 as the product version.
>>
>>But if I use Windows Explorer and right click on either file: "c:\windows\system32\wininet.dll" or "c:\windows\sysWoW64\wininet.dll" and select properties > details, they both show 11.00.9600.16521
>>
>>Why the difference? I can't find any other wininet.dll that FoxPro may be finding. (I'm on Win8.1).
>>
>>I need to check the wininet.dll version installed in my app, because MS recently (as of Feb 28, 2014) updated wininet.dll in an IE11 update which fixed a serious bug in the FTP functions from a previous IE11 update.
>>
>>Bug details here: https://connect.microsoft.com/IE/feedback/details/808279/ftpopenfile-and-internetwritefile-broken-changed-in-ie11
>>
>>Thanks for any suggestions on how to retrieve the installed wininet.dll version, or why the difference.
Previous
Reply
Map
View

Click here to load this message in the networking platform