DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Jeff Pipes Guest

    REPOST: Hard Question


    I posted this last week but never really got an answer....

    I want to create diagnostic feature that will programatically identify all
    executable files (DLL, EXE or OCX) my app is using and their version number.
    I want to be able to do this at run-time (not in the IDE). I've already figured
    out how to get the version number given a file's full pathname, but I don't
    how to get the list of files. I'm not even sure where to begin. Can anyone
    help get me started? Is this even possible?


  2. #2
    Larry Rebich Guest

    Re: REPOST: Hard Question

    Jeff,

    You probably didn't get any replies because what you are asking for is a
    very complex problem. Perhaps you could narrow you question a little. For
    example: most all programs will communicate with the Kernel32, User32 and
    other base operating system files/DLLs.

    If you are trying to determine which 'distributable' files your program uses
    then the 'Package and Deployment Wizard' will provide such a list.

    I have used MSInfo32, to determine which files are loaded when my program is
    executing. I have also used the Windows 2000 [NT] Task Manager for the same
    purpose. I think NuMega sells a tool that will tell you which files are
    loaded with your program. There is also a 'free' program called 'FileMon -
    file monitor' that shows what files are being loaded. A search of the web
    found this link for FileMon:

    http://www.sysinternals.com

    Cheers,
    Larry Rebich

    More tips link to:
    http://www.buygold.net/tips.html

    Please:
    No personal e-mail questions :-)


    "Jeff Pipes" <JeffP622@msn.com> wrote in message
    news:3a87e40d@news.devx.com...
    >
    > I posted this last week but never really got an answer....
    >
    > I want to create diagnostic feature that will programatically identify all
    > executable files (DLL, EXE or OCX) my app is using and their version

    number.
    > I want to be able to do this at run-time (not in the IDE). I've already

    figured
    > out how to get the version number given a file's full pathname, but I

    don't
    > how to get the list of files. I'm not even sure where to begin. Can anyone
    > help get me started? Is this even possible?
    >




  3. #3
    Dan Rhea Guest

    Re: REPOST: Hard Question

    You may also want to take a look at DesaWare's Version Stamper product. This
    is exactly the sort of thing that it does very well (for us anyway).
    ___________________________
    Dan Rhea - Mailto:danr@sirs.com
    Windows Programmer
    SIRS Mandarin, Inc.

    "Jeff Pipes" <JeffP622@msn.com> wrote in message
    news:3a87e40d@news.devx.com...
    >
    > I posted this last week but never really got an answer....
    >
    > I want to create diagnostic feature that will programatically identify all
    > executable files (DLL, EXE or OCX) my app is using and their version

    number.
    > I want to be able to do this at run-time (not in the IDE). I've already

    figured
    > out how to get the version number given a file's full pathname, but I

    don't
    > how to get the list of files. I'm not even sure where to begin. Can anyone
    > help get me started? Is this even possible?
    >




  4. #4
    Dean Earley Guest

    Re: REPOST: Hard Question

    If you have Visual Studio installed, there is a toll to do this. Dependency
    Walker

    Just Double click on a DLL and it should load up.

    --
    Dean Earley (dean.earley@icode.co.uk)
    Assistant Developer

    iCode Systems
    "Jeff Pipes" <JeffP622@msn.com> wrote in message
    news:3a87e40d@news.devx.com...
    >
    > I posted this last week but never really got an answer....
    >
    > I want to create diagnostic feature that will programatically identify all
    > executable files (DLL, EXE or OCX) my app is using and their version

    number.
    > I want to be able to do this at run-time (not in the IDE). I've already

    figured
    > out how to get the version number given a file's full pathname, but I

    don't
    > how to get the list of files. I'm not even sure where to begin. Can anyone
    > help get me started? Is this even possible?
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links