i wrote a console application in visual c++, and now i want to add a GUI to it using windows form. I am new to Windows form. and i have following questions
- I dont know how to include classes from other .h files in windows form.
- is library like
#include <stdio.h>,#include <stdlib.h>,#include <iostream>in my original project still can be used in windows form project? - is it better to convert my original project to .dll and use it in windows form?
You have a great article from Microsoft about this subject, http://msdn.microsoft.com/en-us/library/aa290064(VS.71).aspx.
1) I did not understand your question here, but i’m pretty sure you will find the answer in the article above.
2) I don’t see why you can’t use your original project, so it should probably not be a problem.
3) It depends on the project. DLL files are quite nifty if you want to share the program-code with other applications. But if your program is quite large, then probably no.