Hi,
Below code throws unhandled exception at wsprintf.
#define FRONT_IMAGE_NAME "Image01front.bmp"
void GetName(LPTSTR FileName)
{
wsprintf(FileName, "%s", FRONT_IMAGE_NAME);
}
int main()
{
GetName(FRONT_IMAGE_NAME);
return 0;
}
Please let me know why exception is generated at wsprintf.
Thanks.