I have to create a simple prompt within a native C DLL. I've never had to create windows in C, so I don't know what possibilities exist.
The Window should contain a textbox and a button. I should be able to get the value of that textbox when the user presses the button. When shown, the window should not interrupt the program flow, it should be modeless. I have to be able to close the window from the code within the DLL.
I was thinking of using MFC until I realised that it was for C++. So I thought I could write a wrapper and then use it like that, but one obviously has to restructre some parts of the project so that it would work (like changing the entry points). I'm a bit confused as how to use any "GUI-Frameworks", but if there's an easy solution that would be great.
The solution should be as simple as possible.
EDIT:
What the DLL is used for...
We have an Application suite (I'll just call this the IDE) that uses the SCC interface. We have a SVN repository, so we use PushOk to translate the queries from the IDE to SVN commands. PushOk's and the IDE's definition of the SCC interface are not always consistent so the IDE would crash with certain operations. As we do not own the sourcecode to PushOk we wrote our own proxy dll which fixed the specific issues we were having.
Now, PushOk doesn't have an option to get a file whilst specifing the revision (it does but it doesn't work in our case). So we have to implement it our selves. The window aformentioned would be the window where one could enter a revision and then we'd get that file with that revision.