How to use owncloud shell integration in my own app

Hello Everyone
I am developing a backup application with Rad Studio 11 C++
same as owncloud
with this application I want to show the backup processes to the user with iconoverlay
same as owncloud does
OCOK
OCSync
OCWarning
OCError

client-master\shell_integration\windows\OCUtil
I added the files in my project
I added a button and Edit
I wrote these codes to the button’s Click event
but
Edit1->Text = “C:\Dosyalar\01.txt”;
String Mesaj = L"RETRIEVE_FILE_STATUS: “+Edit1->Text+” \n",
Mesaj2 = L"STATUS::<“+Edit1->Text+”>\n";
CommunicationSocket *baglan = new CommunicationSocket();
std::wstring PipeAd = baglan->DefaultPipePath();
bool baglanti_durum = baglan->Connect(PipeAd);
if(baglanti_durum)
{
bool GeriDonus = baglan->SendMsg(Mesaj2.w_str());
Memo1->Lines->Add(“Mesaj2 Durum :”+BoolToStr(GeriDonus));
SHChangeNotify(SHCNE_UPDATEITEM, SHCNF_PATH | SHCNF_FLUSHNOWAIT, Edit1->Text.w_str(), nullptr);
}
Memo1->Lines->Add(“Ok”);
C:\Files\01.txt File’s Icon Iconoverlay process does not work
where is the error

thank you very much

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.