Create and manage virtual disk drives from your Windows applications

CBDisk.Initialize method


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CBDisk     See also    


Initializes CallbackDisk


    class procedure Initialize( ProductName : AnsiString);

[C++ (Lib)]
    static void Initialize( const char * ProductName);

[C++ (VCL)]
    static void __fastcall Initialize( AnsiString ProductName);

[C++ (.NET)]
    static void Initialize( String* ProductName);

    static void Initialize( string ProductName)

    Shared Sub Initialize( ByVal ProductName As String)

    static void initialize( String productName)


  • ProductName - the ProductName string that identifies installation of CBFS by your application


Use this class function to initialize CallbackDisk before calling CreateStorage(). ProductName is used to distinguish between installations of the package made by different applications and to prevent the situation when the package is installed by two applications and further deinstallation of one of them removes the package.

See also

CreateStorage     SetRegistrationKey

Back to top