Building the Component Shared Library and Client Shared Library or Executable

The following tables show what static libraries and shared libraries to use when building thin clients and components.

Thin client programs must include the header file ostc.h.

Component programs must include ostcsrvr.h.

Libraries on WIndows Platforms

On WIndows, the Framework header files have #pragma comment()s that specify which .libs to link with, so you do not have to mention them explicitly on your link lines. The .libs do have to be in your libpath, however.

Link with Put in path
Thin Client ostc.lib oscs.lib ostc.dll oscs.dll
Server DLL ostc.lib oscs.lib ostcsrvr.lib ostore.lib and any other ObjectStore 5.1 libraries the component requires ostc.dll oscs.dll oscsostore.dll ostcsrvr.dll

For thin clients that use OLE DB or ADO, the following must be registered:

ostc.dll 
oscs.dll
OSTCDB.dll 
OSTCErr.dll 
OSTCEnum.dll 

If you use the DataView Reader, you must also include the following libraries in your path. Debug libraries are shown in parnetheses on the same line as the corresponding production library:

ostcDataViewReader.dll (ostcDataViewReaderd.dll)
mkivitos30.dll (mkivitos30d.dll)
osivitos30.dll (mkivitos30d.dll)
osischema30.dll (osischema30d.dll)
osidma30.dll (osidma30d.dll)
osi_osmm.dll
osi_osmm20.dll
osmmtype.dll
console.dll
LIBPL.DLL
LIBQP.DLL
QPENG.DLL
mfc42.dll (MFC42D.DLL)
MFC42D.DLL
mfcans32.dll
mfcuia32.dll
MSVBVM50.DLL
msvcrt40.dll
OC30.DLL
OLEAUT32.DLL
OLEPRO32.DLL
stdole2.tlb

Libraries on UNIX Platforms

Put the following libraries in your path as well as on your link line:

UNIX, except HP-UX HP-UX
Thin Client libostc.so liboscs.so libostc.sl liboscs.sl
Server DLL libostc.so liboscs.so libostcsrvr.so libos.a and any other ObjectStore 5.1 libraries the component requires libostc.sl liboscs.sl libostcsrvr.sl libos.a and any other ObjectStore 5.1 libraries the component requires

Build the Server shared library using ObjectStore 5.1. Be sure to include these measures:



[previous] [next]