Hi

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.

Since this appears to be a Windows system, I'd stop beating my head against the wall and make it C++.

commented: I do need UI. For example, I would like to have a function that ask for a user input and it has to be more sophisticated than command window prompt. +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.