Thread: File version check

  1. #1
    Registered User
    Join Date
    Feb 2002

    Question File version check


    I was wondering if someone could help me out with a program I am coding. I need to be able to check if the file (DLL, OCX, EXE) I pass to the function has a version number attached to it. I am writing it in Windows but don't know much about programming for this enviroment.

    Any help would be greatly appreciated as I am completely stuck.


  2. #2
    Registered User
    Join Date
    Sep 2001
    maybe you should learn about the file formats. there are tons of docs about them out there. there also must be a function or something in the win32api.

  3. #3
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Maybe you can try the GetFileVersionInfoSize function.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  3. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  4. How to set File Version of VC++ 6 dll
    By mercury529 in forum Windows Programming
    Replies: 3
    Last Post: 12-08-2006, 02:49 PM
  5. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM