Re: win2k, service, pg_ctl, popen, etc

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: win2k, service, pg_ctl, popen, etc
Дата
Msg-id 40FE7972.3000507@pse-consulting.de
обсуждение исходный текст
Ответ на Re: win2k, service, pg_ctl, popen, etc  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers-win32
Andrew Dunstan wrote:

>
> As I understand it, Windows has a standard set of DLL/EXE metadata
> (build number, copyright, product name yadda yadda yadda) stored in some
> well-known segment of the file. Is there any reason we can't put the
> version number somewhere in there and use some standard API to extract
> it, rather than running the .exe to make it tell us? (Not that I have
> any idea how to do such a thing.)

It's the VERSION resource, look at GetFileVersionInfo in the docs.

Regards,
Andreas

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: win2k, service, pg_ctl, popen, etc
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: win2k, service, pg_ctl, popen, etc