i have a c# project.
a wrap (dll ) build on c++ code ( dll).
from the wrap ( dll) i want to open a dlg and load the resources that are ressources of the c++ dll.

it fails.

because unability of loading the resources.

i tried to add CResourcesContext resCont(XRuntimeModule);
before opening the dlg and loading the resources ( in the wrap) but it fails at this point.



how can i load the resources properly??