473,804 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1687
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.s yd.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. GetFileVersionI nfoA

Or:
windll.version. GetFileVersionI nfoW

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\Window s\VersionInfo.p y) 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
6059
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 screen if so desired. I was thinking on using asterisk (asterisk.org) for this with appropriate 2FXO/2FXS card but I do not know if this is just overkill (asterisk for this). Do you know of any other solution/way of getting the caller id and...
10
6796
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 "<pyshell#28>", line 1, in ? socket.gethostbyaddr('1.2') herror: (11004, 'host not found') <=== what I want when I catch
4
3307
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 Publisher Edition info etc
4
10759
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
1429
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 layout text. Anyway, when printing the text is completely out of place, I wonder if it's due to incorrrect Dpi settings? (or something else?) I will investigate that..... Anyway if any of you had similar experience and could shed some light?...
1
1575
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 file that Exports info into an MS Access db file and which has 7 Tables (stuff like Project info, Project numbers, User names, etc). I wrote a Time Sheet entry application to read this info and to allow Employees to write their Time Sheet data into...
0
2137
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(); myXML.ignoreWhite = true; myXML.onLoad = function (success:Boolean):Void {
1
5822
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: 2006-11-02-00.10.11.951000+060 I326548H465 LEVEL: Info PID : 3008 TID : 4072 PROC : db2dasstm.exe INSTANCE: DB2 NODE : 000 APPID : *LOCAL.DB2.061101231048 FUNCTION: DB2 UDB, DRDA Communication Manager, sqljcReceive,...
1
3610
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 that uploads to photo to the folder in the site root diorectory. One that uploads the info to mysql database. but... When I try to upload them both ways at the same time i cant get it. I am Including code for both pages i have working. Code for...
9
1839
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 would like the script to show the president's and vice president's Contact info all the time, but hide the contact info for everyone else when viewed by the general public, then if the user logs in all contact information is displayed, for everyone....
0
9595
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10359
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10101
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3005
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.