>(resources->GetObject(L"Ythree.Image")));
-
>(resources->GetObject(L"Ythree.Image"))); I need some help. The above code gets an image from .resX file. What is the code if i want to load an image from the app.rc file? I am finding that using resX, if i am using the same image more than once a new copy of the image is being created on executing the application and the code modified to point to images created when the program is executed. Thanks for the time.
-
>(resources->GetObject(L"Ythree.Image"))); I need some help. The above code gets an image from .resX file. What is the code if i want to load an image from the app.rc file? I am finding that using resX, if i am using the same image more than once a new copy of the image is being created on executing the application and the code modified to point to images created when the program is executed. Thanks for the time.
-
i think i have to use the imageList control for this as resX is the .net way of doing things.
-
if images are imported/used in resX using imagelist. how do i store audio clips in the application resources? do i use app.rc for that? also i would like to embed icons in it also. how and where do i store them? thanks.