Dialogbox from within a DLL
I have been tasked with trying to create a text editor completely within a dll. Basically, they want to pass a user directory name to a dll and it will launch a dialogbox with an edit control inside it.
I have to use "pure" C to create the dll.
I have written the entire project and it works fine as a stand alone executable but I am unable to understand how to launch a dialog inside a dll.
I learn best by example, so a sample of how I could spawn a dialog box from within the dll would be of great help.
Thanks for any help.
(By the way, they are explicit about not using .Net or C++)