I having trouble to export DLL which would contain one fucntion. The function would create an MFC dialog object, then the object is instantiated and then run method is invoked. The user input from the dialog would be the return value to the function and also it would the return value from the DLL function.
The difficulty is that I am trying to export C dll not C++ DLL and the porgramming tool I am using is not configurable for any dependancies.
Is my task achievable? If achievable then I will have to post my code perhaps I have programing mistake.