Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.7.2
-
None
Description
Using Resources in DLLs will overwrite each other if these DLLs get loaded by a single Application. Any of the DLLs using Resources compiled into it, will get those Resources from whatever DLL was last loaded by the Application.
To reproduce:
- Create two or more Libraries each using different Resources. For example an Icon named icons/app.png.
- An Application loads both these Libraries.
Expected:
- Each Library uses it's own resources. In case of the Icon above a Dialog from Lib1 should use the Icon of Lib1.
Actual Behavior:
- All Libraries use the Resources of the last loaded Libraries. In above example Dialogs of Lib1 would use the Icon of Lib2 instead of Lib1.
This is bad enough with Icons, but gets critical real soon if its anything else.