I create an resource file with Visual C++, and add into this file an PNG image resource, but I can`t load this from my application, I search an function such as LoadBitmap or another metod, but I have cero results. Please answer, thanks.
yes.. you will use LoadBitmap for laoding a bitmap or jped or png resource from your resource file.
but i think LoadBitmap i also takes hinstance of the application and i think you might be doing a mistake there..
for that you can do : (HINSTANCE)GetWindowLong(hwnd, GWL_HINSTANCE);
this will give you instance of the application.. LoadBitmap will give you the handle of the bitmap.
but what exactly you want to do .. and it will be better if you post your code.
Also, you are aware that the most recent versions of Windows accept JPG and PNG formatted data as an extension to BMP resources, right? [edit] Argh... but only for StretchDIBits() and the like when the target is a printer. [/edit]
That said, GDI+ is also a very useful option, and you should have access to it with VC++.