I am trying to convert an emf to bmp. I have got the solution but I think it is an indirect way.
Iam playing the emf to a window and saving the window contents to a bitmap using the WriteWindowToDIB() function. I do not want the window to be shown so I have tried playing emf to memory DC but it failed.
I have also tried with CMetafileDC but I am not able to blit its contents to Bitmap.
Does any body has any idea to avoid a window and create a bitmap out of it? or is it possible to convert the emf to bmp in any other way?
I have been searching this for a long time on the Net but no solution