For example, I want to build a DLL exporting a function called ShowDialog, which displays a dialog and changes the text in one of the dialog buttons. The dialog and all other resources should be bundled in the DLL.
I did a quick test and when the DLL tries GetDlgItem() with a certain control ID, it gets a null pointer back. I’m assuming more steps are required to handle the resources properly in this case.
From MSDN: