Virtual Disk API Sample Code This chapter discusses the VDDK sample program, in the following sections: Compiling the Sample ProgramThe sample program is written in C++, although the Virtual Disk API also supports C. For compilation to succeed, the correct DLLs or shared objects must be loaded. You can ensure the success of dynamic loading in a variety of ways.Usage MessageRunning the sample application without arguments produces the following usage message: Walk-Through of Sample ProgramThe sample program is the same for Windows as for Linux, with #ifdef blocks for Win32.