bgd.dll / get GD version

[email protected] (Massimo Sala) Tue, 6 Oct 2009 00:27:41 +0200
Newsgroups php.gd.devel
Message-ID <[email protected]>
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