Re: Novice Guide to Windows Compile How to

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Novice Guide to Windows Compile How to
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B9ED@algol.sollentuna.se
обсуждение исходный текст
Ответ на Novice Guide to Windows Compile How to  ("V i s h a l Kashyap @ [Sai Hertz And Control Systems]" <sank89@sancharnet.in>)
Ответы Re: Novice Guide to Windows Compile How to  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers-win32
> >1) I would not suggest copying the LIB directory to the windows
> >directory. That is just evil :-) Instead, add the pg lib
> directory to
> >the system PATH.
> >
> >
>
> I agree that putting stuff in the Windows directory is evil.
>
> Having to use 2 path elements is a bit ugly too, though. My
> solution has been to move libpq.dll to the bin directory,
> which makes it work just fine for me without any PATH
> adjustment. It should actually load binaries slightly faster,
> too, since the binary location is the very first place
> Windows looks for DLLs, as I understand it.

That depends on your Windows version.
In XP with Service Pack 1 and later, and in Server 2003, it searches:
1) System locations
2) Current directory
3) User defined PATHs

Before, it was:
1) Current directory
2) System locations
3) User defined PATHs


These newer versions also added SetDllDirectory() - maybe this one will
help us in some ways?


//Magnus


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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Runtime Problems
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Novice Guide to Windows Compile How to