![]() |
Problem with extracting information from .exe files!!!
I am trying to extract informations from .exe and .dll files. It works fine, but for some files VerQueryValue function gets the wrong value of language identifier, so I can't extract file description. For POWERPNT.EXE it gets 0 instead of 1033. Even property FileVersionInfo.FileDescription can't get file description. Can anyone tell me what might be the problem and what should I do?
|
Maybe those function are for .NET exe files only. Powerpnt.exe is a native exe.
|
No that's not the problem. Both functions work fine for other files. FileVersionInfo.FileDescription is .NET property, but VerQueryValue is WinAPI function. For POWERPNT.EXE VerQueryValue gets the correct value of code page identifier, but it gets 0 for language identifier. I believe that FileVersionInfo.FileDescription property uses VerQueryValue function. That could be the reason for not getting information out. But, windows shows file description when you right-click the file. I don't know what I should do.
|
| All times are GMT -5. The time now is 4:21 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC