X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=windows.txt;h=add3bc0382ef9b637ea1d2c7e9076093299e1d0c;hp=708b4f1d6e8408ac06a1d51942d70bbd83901d9d;hb=91d51c66de0c9780a58795bf9d3cb82a1931accd;hpb=30cfc59b71c25923e2e9cfb63c310c095bb3b6c1 diff --git a/windows.txt b/windows.txt index 708b4f1..add3bc0 100644 --- a/windows.txt +++ b/windows.txt @@ -1,5 +1,5 @@ YAZ Compilation guidelines for winNT/95. - $Id: windows.txt,v 1.3 1999-12-02 13:54:56 adam Exp $ + $Id: windows.txt,v 1.5 2000-12-05 19:14:12 adam Exp $ This distribution of YAZ includes makefiles that works with Visual C++ version 5 and 6. The makefile is located in sub directory 'win'. @@ -22,36 +22,28 @@ and LIB respectively. The following components are build by the nmake process: yaz.dll - This DLL is made of the source in all sub directories except - for 'server', 'client' and 'ztest'. To export public functions + for 'client' and 'ztest'. To export public functions the header files contain the modifier YAZ_EXPORT which is defined in yconfig.h. The value of this modifier, __declspec(dllexport), is probably specific to Visual C++. -server.lib - The server library, which includes the source from - 'server'. Unlike the UNIX version, the server library is - multi-threaded. - yaz-client.exe - A Z39.50 client console application. It is linked with the import library yaz.lib. This application searches for yaz.dll during runtime. yaz-ztest.exe - The Z39.50 test server as a console application. It is - linked with the import library yaz.lib and the regular library - server.lib. When running yaz-ztest make sure it is able to find - the record test files dummy-records, dummy-grs, and dummy-words - in the current directory. + linked with the import library yaz.lib. When running yaz-ztest + make sure it is able to find the record test files dummy-records, + dummy-grs, and dummy-words in the current directory. As an option ztest may be installed as an NT service (not Windows 95). Use 'ztest -install ' to install - it and 'ztest -remove ' to remove it again. Since - NT runs the service program in some weird directory, such as - \winnt\system32, it's probably a good idea to use the option - '-w' to change to some other directory. For example + it and 'ztest -remove ' to remove it again. Example: - yaz-ztest -install -w d:\proj\yaz\ztest -l ztest.out tcp:@:210 + yaz-ztest -install -l ztest.out tcp:@:210 - which specifies both working directory (d:\proj\yaz\ztest) - and a log file (ztest.out). The server is started on port 210. + which specifies a log file to be written. The server listens + on port 210. After successful compilation all executables and DLL's are located in sub YAZ\BIN. Libraries are located in YAZ\LIB.