N
NoCLR
Guest
Hi,
I am using C++ natively (no CLR) via Visual Studio 2019 COMMUNITY Edition. Please note that the correct answer to this query will probably be different to those with the Pro version and using .NET.
I would like to include some images in the project, but I don't want the images to be visible to the user in a folder on their hard-drive.
Instead I would like to embed the images, either by adding as a resource, or adding into a resx file. There seems to be a dearth of info online for this when the dev is working in native (non CLR) c++ and community edition.
I would be most grateful if someone could walk me through the process of adding the images and then accessing them in my code. I plan to eventually load the images into an openCV cv::Mat for further processing.
I would hope to be able to do this for both .exes and .dlls, is the process the same?
Thanks,
NoCLR
Continue reading...
I am using C++ natively (no CLR) via Visual Studio 2019 COMMUNITY Edition. Please note that the correct answer to this query will probably be different to those with the Pro version and using .NET.
I would like to include some images in the project, but I don't want the images to be visible to the user in a folder on their hard-drive.
Instead I would like to embed the images, either by adding as a resource, or adding into a resx file. There seems to be a dearth of info online for this when the dev is working in native (non CLR) c++ and community edition.
I would be most grateful if someone could walk me through the process of adding the images and then accessing them in my code. I plan to eventually load the images into an openCV cv::Mat for further processing.
I would hope to be able to do this for both .exes and .dlls, is the process the same?
Thanks,
NoCLR
Continue reading...