I develope game in PPC by eVc4.0++ . I use Game API(GAPI) in my developement. I would like to used JPEG format for my picture in my game because size of it. I am currently trying to used CxImage Library.
CxImage *newImage=new CxImage();
HANDLE hDIB = newImage->CopyToHandle();
it give me HANDLE. I try to cast it to HBITMAP ---> HBITMAP hBitmap=(HBITMAP)hDIB;
I think it wrong. T_T
Can anyone give me a brief explanation of how to load JPEG from Res(evc4.0++) and convert it to HBITMAP ??
Also some tutorials would be helpful considering this is the first game i am trying to create. Thanks in advance.