I have written a code in my Exe as follows,
FILE *fp;
fp=fopen("image.jpg","wb");
fwrite(pVFData,Size,1,fp);
fclose(fp);
The above code is working properly and i have displaying the image in image.jpg.
The same code in DLL is not working properly. There is image.jpg file creating only not displaying the image.
What is the reason