473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

DLL info

Could someone suggest me how to gather various information (version number
etc.) from a Windows DLL?
Thanks for any help,

Károly
Jul 18 '05 #1
4 1656
Ladvánszky Károly wrote:
Could someone suggest me how to gather various information (version number
etc.) from a Windows DLL?
Thanks for any help,

Károly


Find the DLL in Windows Explorer, right click on the dll, and select
properties. There should be a Version tab (I think ... haven't booted
my Windows PC in awhile).

For a utility to give you lots more info see:
http://www.dependencywalker.com/

Ray Smith
Jul 18 '05 #2
Thanks but I'd like to do this with Python code.

"Ray Smith" <ra*@rays-web.com> az alábbiakat írta a következo hírüzenetben:
3f******@news.syd.ip.net.au...
Ladvánszky Károly wrote:
Could someone suggest me how to gather various information (version number etc.) from a Windows DLL?
Thanks for any help,

Károly


Find the DLL in Windows Explorer, right click on the dll, and select
properties. There should be a Version tab (I think ... haven't booted
my Windows PC in awhile).

For a utility to give you lots more info see:
http://www.dependencywalker.com/

Ray Smith

Jul 18 '05 #3
"Ladvánszky Károly" <lk@digicart.hu> writes:
Could someone suggest me how to gather various information (version number
etc.) from a Windows DLL?
Thanks for any help,


I looked at win32 all but it seems the functions aren't exposed
there. Grap ctypes by Thomas Heller and the MSDN Platform SDK
documenation.

Here's what you need:
from ctypes import *
windll.version.GetFileVersionInfoA

Or:
windll.version.GetFileVersionInfoW

Jul 18 '05 #4
Syver Enstad <sy***@inout.no> writes:
"Ladvánszky Károly" <lk@digicart.hu> writes:
Could someone suggest me how to gather various information (version number
etc.) from a Windows DLL?
Thanks for any help,


I looked at win32 all but it seems the functions aren't exposed
there. Grap ctypes by Thomas Heller and the MSDN Platform SDK
documenation.


Right. There's even a sample (samples\Windows\VersionInfo.py) in the
source distribution.

Thomas
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: ivan_oj28 | last post by:
Hi, I am developing an application where I need to read the caller id from an incoming call. The only info (for now) I need is the caller id info, so that I can display the propper caller info on...
10
by: Frank | last post by:
Using Python 2.2.2, I want to catch all exceptions from "socket.gethostbyaddr(ip)" From IDLE, I can generate: >>> socket.gethostbyaddr('1.2') Traceback (most recent call last): File...
4
by: Chris | last post by:
I'm wondering what is the "best" way to structure a set of info about an item, like a book or a hotel. Eg, let's say you had this info to present for each book in a collection: Title Author...
4
by: Alberto | last post by:
Could you tell me what it's for the "Persist Security Info ..." value in a connection string. Thank you.
5
by: Lloyd Dupont | last post by:
I'm trying to print some of my document. The problem is, the rendering of the document is not done through GDI+ at all but through plain old GDI, and I need it like that as I am using Uniscribe to...
1
by: Mr. B | last post by:
VB.net 2003 c/w Framework 1.1 and MS Access db We have a commercial program that does our Acounting and Time Sheets (Timberline). At least once a day our Accounting department runs a Script...
0
by: jokerman | last post by:
I want to grab the amount of images in each <subnumber> section. How? I have this code in Flash; var pArray = new Array(); var tArray = new Array(); var myXML:XML = new XML();...
1
by: oddbande | last post by:
We have just upgraded a test enviroment to db2 9, and have set both the notifylevel and diaglevel to 3. But even so I get a lot of these messages in my db2diag.log: ...
1
by: cumupkid | last post by:
II am trying to create a form that will allow me to upload photos to a folder in the site root directory and add the information to the mysql db at the same time. I have created two forms, one...
9
by: PomonaGrange | last post by:
HI All, I've been trying to make a membership management type script. This script would have a database with the members contact info and which office they hold, if any. The problem I am having is I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.