I want to put an bitmap image over that object.
Do you mean .bmp file by "bitmap" image? Cortona does not support BMP as textures.
Can somebody explain me what is not correct here and how can I do that.
Technically, the code is correct. It should work.
Keep in mind, that if the "root" scene was not loaded from any URL (via Scene property) but created from scratch, there is no such thing as "base URL", and fully qualified URLs should be specified for all resources you're trying to load.
As an advice, to make your code more simple, concern over the possibility of use ATL classes: CComVariant as replacement of plane VARIANT, CComBSTR as wrapper for BSTR type etc.