Date: 10/15/01
- Next message: XenoFORM team.: "[PHP] XenoFORM"
- Previous message: James, Yz: "[PHP] Re: Date format question"
- Next in thread: Matthew Loff: "RE: [PHP] EXEC() with RUNDLL32 and Kernal32.DLL ???"
- Reply: Matthew Loff: "RE: [PHP] EXEC() with RUNDLL32 and Kernal32.DLL ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I would like to get the file version of (say) and .EXE or .DLL -- I know
this can be done with the rundll.exe command line util standard on
Windows -- I think there is a GetFileVersionEx() API call in the
Kernal32.dll --
However, I'm not sure how to call this API function. I'm using Win2K and
not sure if the "kernal32.dll" is even part of this OS.
<?
$cmdline = "c:\rundll32 kernal32.dll,GetFileVersion()
C:\Progs\myfunction.dll";
exec($cmdline, $result);
print($result[0]);
?>
My problem is actually with the rundll command line and properly using it to
get the version number from a DLL or EXE.
Thanks.
Jason Caldwell
jason <email protected>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: XenoFORM team.: "[PHP] XenoFORM"
- Previous message: James, Yz: "[PHP] Re: Date format question"
- Next in thread: Matthew Loff: "RE: [PHP] EXEC() with RUNDLL32 and Kernal32.DLL ???"
- Reply: Matthew Loff: "RE: [PHP] EXEC() with RUNDLL32 and Kernal32.DLL ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

