473,769 Members | 7,646 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Support for the PE file format?

Hi,

I'd like to write a PHP script that opens a Windows binary file (EXE,
DLL, OCX, etc.), and extracts its version number, if any. Does anyone
know if a module is available to do this?

Thank you
JD.
Jul 17 '05 #1
6 2228
Jane Doe wrote:
I'd like to write a PHP script that opens a Windows binary file (EXE,
DLL, OCX, etc.), and extracts its version number, if any.


You can get info about PE format here
http://www.microsoft.com/whdc/hwdev/...re/PECOFF.mspx
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--
Jul 17 '05 #2
On 23 Feb 2004 19:23:55 GMT, Pedro Graca <he****@hotpop. com> wrote:
You can get info about PE format here
http://www.microsoft.com/whdc/hwdev/...re/PECOFF.mspx


Thx, but I neither have the time nor the skills to write a PHP module
that will extract those infos. I was wondering if someone had already
done this :-)

JD.
Jul 17 '05 #3
Jane Doe a écrit le 23/02/2004 :
Thx, but I neither have the time nor the skills to write a PHP module
that will extract those infos. I was wondering if someone had already
done this :-)


If so I don't imagine what you want this for...
Jul 17 '05 #4
On Mon, 23 Feb 2004 19:58:34 +0100, Jane Doe <ja******@acme. com> wrote:
I'd like to write a PHP script that opens a Windows binary file (EXE,
DLL, OCX, etc.), and extracts its version number, if any. Does anyone
know if a module is available to do this?


If it's any help, the Win32 call to do this is GetFileVersionI nfo. (Which
doesn't help if you want a pure PHP version rather than write a Windows DLL to
call it).

--
Andy Hassall <an**@andyh.co. uk> / Space: disk usage analysis tool
<http://www.andyh.co.uk > / <http://www.andyhsoftwa re.co.uk/space>
Jul 17 '05 #5
On Mon, 23 Feb 2004 22:35:38 +0100, Jedi121
<je*********@fr ee.fr.Removethi s> wrote:
If so I don't imagine what you want this for...


I was asking whether someone knew of a module that can extract
information from a PE binary. I'd like to make a list of binaries in a
directory, and display their version number.

Thx
JD.
Jul 17 '05 #6
On Mon, 23 Feb 2004 21:46:39 +0000, Andy Hassall <an**@andyh.co. uk>
wrote:
If it's any help, the Win32 call to do this is GetFileVersionI nfo. (Which
doesn't help if you want a pure PHP version rather than write a Windows DLL to
call it).


Thx for the ip :-) I can't call a DLL because the server is running
Unix. I know, it's pretty unlikely there's a PHP module that can read
PE files, even when the script is running under Unix... but I was
asking just in case.

JD.
Jul 17 '05 #7

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

Similar topics

6
26638
by: ..... | last post by:
I have an established program that I am changing to allow users to select one of eight languages and have all the label captions change accordingly. I have no problems with English, French, Dutch, German, Spanish or Italian. The Polish language is causing me trouble. From what I have read, VB supports UNICODE, in fact it uses UNICODE internally, which means that ANY character in pretty much any language should be readable from a UNICODE...
7
5083
by: google12 | last post by:
hi, May anyone help me? I need a lib which support .jpeg file with RGBA mode. PIL seems to support RGB and CMYK mode only... Thanks for your help.
6
9268
by: Larry R Harrison Jr | last post by:
I have Access XP, and the following code which is supposed to assign a JPEG to an image control: Me.Image9.Picture = "F:\Pictures\CP775_SonyDSCP50\FingerRockNight_Resize.jpg" I get this error though: microsoft access dont' supoort the format of the file
7
1479
by: Randy Harris | last post by:
I've run into a nasty problem, can't find a way around it. This line of code: DoCmd.OutputTo acOutputTable, "GSQ_Criteria", acFormatXLS, FileName errors with #2385 - Errors were encountered during the save operation.
5
5410
by: PeteZ | last post by:
I have a job to create a .ZIP file in C# - I need to create, add files, remove files and be able to view contents of ZIP files using C# etc I have been hunting round for some inbuilt support for the .ZIP format in ..NET bt come up empty I know of some 3rd party products out there but if I were to try and develop this using C# myself, do I need to start from scratch ? any ideas ?
10
2085
by: Bob | last post by:
Hi there, Can anyone point me to anything relating to using XP's built-in CD writing support from VB.Net... or even C#, or classic VB...? I just want to write files to the CD and finalise the session and disk. Cheers
2
2446
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just fine. However, when attempting to assing default values as designtime in the propertygrid, nothing is working on the class object. I know that I am doing it wrong, any ideas what it is? Thanks in advance
0
2080
by: dtsearch | last post by:
New release expands-through a .NET Spider API, to Linux, and to OpenOffice-dtSearch's ability to index over a terabyte of text in a single index, with indexed search time typically less than a second BETHESDA, MD (January 10, 2006) dtSearch Corp., a leading supplier of enterprise and developer text retrieval software, announces Version 7.2 of its product line for instantly searching terabytes of documents across a desktop, network,...
0
1535
by: dtsearch | last post by:
A new beta build offers 64-bit developer access to dtSearch's "terabyte indexer," and preliminary MS Word 2007 and Excel 2007 support (in both 64-bit and 32-bit versions) BETHESDA, MD (July 22, 2006) dtSearch Corp., a leading supplier of enterprise and developer text retrieval software, announces a native 64-bit beta version of the dtSearch Text Retrieval Engine for Win & ..NET. The dtSearch Engine lets developers add dtSearch's...
2
2937
by: Peter Oliphant | last post by:
The Image class allows loading a bitmap from a graphic file. So far I've gotten it to work with JPG and BMP files. What other graphic file formats are supported in this way? Is this fixed based on the .NET Framework used (e.g., the Image class defines which formats can be used), or can different file formats be added after-the-fact (end-user capability in contrast to developer implementation)? Also, is it possible to save an image in...
0
9423
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
10214
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...
0
10048
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9996
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
9865
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...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3963
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
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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.