Hello mrbean,
When you select the option to embed project UIRs, they will automatically be embedded into your DLL (so you don't have to distribute the UIRs with your DLL). The documentation for this option reads:
"Embeds .uir files into the DLL. Enabling this option allows you to ship only the DLL, instead of including the .uir files also. You must call LoadPanelEx with a valid calling module handle to load an embedded .uir file from a DLL. Make sure that you include all .uir files loaded through LoadPanelEx in your project if you want to ship only the DLL file. If you pass an absolute filename to LoadPanelEx, the function will always look on disk for the .uir file. If you pass a simple filename, LoadPanelEx will look first for an embedded .uir. "
Now, if you try to delete/rename the old dialog on your hard drive, and recompile your DLL, do you get an error saying that the image is missing? If so, it seems like somewhere in your code, the location of the image file is hardcoded to the location of the old image. Are you using the LoadPanelEx function to display the UIR embedded in the DLL? Is so, are you passing the absolute or simple filename of the UIR to this function? Finally, do you have multiple version of the UIR saved on your hard drive? You application might be linked to a different version of the UIR.
Thanks
Wendy L
LabWindows/CVI Developer Newsletter