2 YAZ Compilation guidelines for winNT/95.
3 $Id: windows.txt,v 1.1 1998-01-07 12:59:27 adam Exp $
5 This distribution of YAZ was compiled with Visual C++ 5.0.
6 The workspace file, yaz.dsw, is located in the top-level directory.
8 It includes 4 sub-projects:
10 Builds yaz.dll. This DLL includes the source in all
11 sub directories except for 'server', 'client' and
12 'ztest'. To export public functions the header files
13 includes the modifier YAZ_EXPORT which is defined in
14 yconfig.h. The value of this modifier,
15 __declspec(dllexport), probably only works with VC.
18 Builds client.exe as a console application. It links
19 with the import library yaz.lib. This application
20 searches for yaz.dll during runtime.
23 Builds the library, server.lib, which includes the
24 source from 'server'. Unlike the UNIX version, the
25 server library is multi-threaded.
28 Builds ztest.exe as a console application. It links
29 with the import library yaz.lib and the regular library
30 server.lib. When running ztest make sure it is able to
31 find the record test files dummy-records, dummy-grs,
32 and dummy-words in the current directory.
34 As an option ztest may be installed as an NT service
35 (not Windows 95). Use 'ztest -install <otherargs>' to
36 install it and 'ztest -remove <otherargs>' to remove it
37 again. Since NT runs the service program in some weird
38 directory, such as \winnt\system32, it's probably a good
39 idea to use the option '-w' to change to some other
40 directory. For example
42 ztest -install -w d:\proj\yaz\ztest -l ztest.out tcp:@:210
44 which specifies both working directory and a log file, so
45 you can see what's going on.