Not able to load Bitmap from resource
===

I'm having trouble to load a bitmap from resource. I have a project that I want to maintain.
The images are being loaded from files, but I want to load them from resource.

So, the code below is working:

    WCHAR path[MAX_PATH] = TEXT("C:\\nananana...");
    pBitmapClose = Bitmap::FromFile(path);

But, when I try to use from resource, it is not working. I have tried several parameters as bellow:

    pBitmapClose = Bitmap::FromResource(g_hInstance, MAKEINTRESOURCE(IDB_BTN_CLOSE));

or

    pBitmapClose = Bitmap::FromResource((HINSTANCE) GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_BTN_CLOSE)); 

Can anyone PLEASE help me?
