I found a possible bug in retrieving Google Drive information.
When using the code below for DropBox, a full tree structure is parsed.
bool acc = false;
DropBox->LoadTokens();
acc = DropBox->TestTokens();
if(acc == false) acc = DropBox->RefreshAccess();
if(acc == false) DropBox->DoAuth();
else
{
DropBox->GetDriveInfo();
DropBox->FillTreeView(TreeView1);
}
When using the code below for Google Drive, a small part of the tree structure is parsed. It seems only level 1 of the tree structure is parsed.
bool acc = false;
GDrive->LoadTokens();
acc = GDrive->TestTokens();
if(acc == false) acc = GDrive->RefreshAccess();
if(acc == false) GDrive->DoAuth();
else
{
GDrive->GetDriveInfo();
GDrive->FillTreeView(TreeView1);
}
I didn't try this functionality for SkyDrive yet. I'll test this tomorrow.