MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit


 

Visual J++: Code Sample Information

The Visual J++ simple provider code sample is located in ..\Samples\DataAccess\Osp\Vj and consists of the files described in the following table.

File name Description
MyDataSource.java Implementation  for IDataSource.
MyOSPObject.java Java class module containing the following:
  • Routines to create an internal table, load data into the table from an external file, and save the data.

  • OSP method implementations.
Ospsampj.dll OSP Visual J++ sample DLL.
SampleOSP_VJ.sln Visual J++ 6.0 solution file for this sample.
SampleOSP_VJ.reg Copy of the RegisterProvider.reg file for use with the Visual J++ sample.
SampleOSP_VJ.vjp Visual J++ project file for the sample.