MFC Grid control (derived from CWnd) in a DLL
CWnd).
I have a main appliction (.exe) which calls a function in a DLL which in
turn displays a dialog with the grid custom control in it.
When I try and do this the DoModal()function (called within the DLL) of the dialog fails.
I have noticed that it has something to do with the resource handles of
the main (.exe) and the DLL.
If I try to show the dialog without the custom control everything is OK,
but as soon as the custom control is inserted into the dialog, the DoModal() fails, this leads me to the conclusion that it has something to do with the grid.
Have you experienced anything like this before?
Can you please help?
Another question I would like to ask you is if it is possible to have
the grid displayed in the drop-down window of a combobox. I've seen examples windows being shown this way but I can't get this grid to appear using it's Create function. Do you have any ideas?

