CallbackDisk

Create and manage virtual disk drives from your Windows applications

Deployment instructions

Drivers

The driver to be deployed is cbdisk.sys. Note, that the drivers are different for Win32, x64 (AMD 64-bit architecture) and IA64 (Itamium 64-bit architecture) platforms.

Debug drivers are located in "<CBDisk>\Drivers\Debug\32bit" or "<CBDisk>\Drivers\Debug\64bit" folders (for Win32 and Win64 platforms).
Release drivers are located in "<CBDisk>\Drivers\Release\32bit" or "<CBDisk>\Drivers\Release\64bit" folders (for Win32 and Win64 platforms).

64-bit version of the driver is available for x64 (AMD64) processor architecture used by most modern 64-bit processors and IA64 (Itanium) processor architecture used by some Intel-produced server processors.

Installation of the drivers is described here.

User-mode API

CallbackDisk user-mode API is shipped as .NET assemblies, static library for Visual C++ and VCL units.

  • .NET API:
    When deploying the project, copy the CBDisk3Net.dll below to your application folder. Questions about when and how to install the assemblies to Global Assembly Cache are discussed in Working with Assemblies and the Global Assembly Cache and How to: Install an Assembly into the Global Assembly Cache articles.

    .NET 2.0 assemblies are different for 32-bit and 64-bit platforms. 64-bit .NET 2.0 assemblies are available for x64 (AMD64) processor architecture used by most modern 64-bit processors and IA64 (Itanium) processor architecture used by some Intel-produced server processors.
    .NET 2.0 assemblies for Win32 and x64 platforms require Visual C++ 2005 Multithreaded Runtime DLLs (msvcm80.dll and msvcr80.dll). .NET 2.0 assemblies for IA64 platform require Visual C++ 2008 Multithreaded Runtime DLLs (msvcm90.dll and msvcr90.dll). It's a good idea to include these DLLs into the distribution. The DLLs are located in <CBDisk>\MSVC_REDIST\NET_20 folder.
    If you place the assembly to the same folder where your application is located, these DLLs must be placed in this folder too. If you install the .NET assembly to the GAC, it's recommended that you also install the above DLLs to \Windows\System32 folder.

    The alternative method for deployment of MS VC++ Runtime DLLs is to download proper "vcredist" installations from Microsoft site and include them to your installation package. Do the search for "Microsoft Visual C++ Redistributable Package" on Microsoft site and choose the needed redistributable packages.

  • C++ API:
    C++ class links CallbackDisk API statically so no deployment is required.

  • VCL API:
    VCL unit for Delphi and C++Builder links CallbackDisk API statically so no deployment is required.

Back to top