Loading
common string resources
I have an InstallScript MSI project and corresponding merge module project that use strings.

 

They already load a common resources file (resources.dll) and access a dialog from it in the merge module.

 

DefineDialog takes a string containing the dlls name and a numeric value of the resource inside.

 

Is it possible to use string resources in a similar manner as I read SdLoadString looks in _isuser.dll and _isres.dll and no mention of searching through other loaded dlls is documented.

 

If this is possible do I just have to declare a numeric constant matching the string resource ID in the DLL to stop build warnings about an undeclared string resource ?

 

Or is there another mechanism altogether ?

  • Has anyone tried reading string out of their own resource dlls rather than the Installshield ones (or in addition to) ?

     

    If so could you explain how to achieve this in depth please.

Loading
common string resources