The delegate in the code is
private:delegate void UpdateProgressCallback(Int64^Bt,Int64^Tb);
and the function is
private:void UpdateProgress(Int64 Bt,Int64 Tb)
{
}
I used the following code
this->Invoke(gcnew UpdateProgressCallback(&dwmgr::Form1::UpdateProgress),gcnew array <Object^>{Convert::ToInt64( str1->Length),fz+stp});
and it gave an error
error C3352: 'void dwmgr::Form1::UpdateProgress(__int64,__int64)' : the specified function does not match the delegate type 'void (System::Int64^,Systen::Int64^)'
here
fz and stp are Int64.
Someone please help me to solve it.