bgd.dll / get GD version
| From: | Massimo Sala | Date: | Mon, 05 Oct 2009 22:27:41 +0000 |
| Subject: | bgd.dll / get GD version | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-611@lists.php.net to get a copy of this message | ||
Hi!
Excellent work for GD and the bgd.dll for win32.
Proposal: can you please make a gd_version to retrieve the library version ?
Visual Basic 6 example
Declare Sub gdVersion Lib "bgd.dll" Alias "_gdVersion@0" () As Long
return a numeric value
VER_MAJOR * 65536 +
VER_MIDDLE * 256 +
VER_MINOR
example 2.0.34, gdVersion() = 65536 * 2 + 34
ciao, Massimo
@ITALY