Click to See Complete Forum and Search --> : using resources from a dll unmanaged


virginie
July 26th, 2005, 02:07 AM
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??

virginie
July 26th, 2005, 03:14 AM
now i changed it, that way, that the dlg will be opened ( do modal() ) from inside the dll c++, but still, this failed....

now it calls the dialogs and the resources from the dll itself so what is it still wrong ??

virginie
July 26th, 2005, 06:47 AM
anyone have an idea...? :wave: