how to use a progressbar in a one cpp file but defined in another header file.
the function in which i am using is a static member function. how to use the progressbar inside the function
code:
file name : flash.cpp
void CFlasher::OnStartDownload (void *pDublicate)
{
bValueRet = DeviceIoControl (hHandle, \
(DWORD) IOCTL_SCUSBDFU_DETACH, NULL, \
0, NULL, 0, &dwBytesReturned, NULL);
HERE I HAVE TO USE THE PROGRESSBAR
}
file name : form.h
progressbar is defined in this header file
please kindly give me the solution for this