Following is my code: void Fun(int nScreenWidth, int nScreenHeight) { ... int nMemSize = nScreenWidth*nScreenHeight*3*7
I am trying to use CreateDIBSection. Problem: In Windows XP, I tried to call CreateDIBSection, it returns NULL and GetLastError = 0
I am having a memory issue with an algorithm I am using to \"Flatten\" a page in a PDF document. HBITMAP hbmp = CreateDibSection(...);
I am trying to create Cursor from png, and CreateDIBSection() is throwing. Follwoing is the snippet of code: