I want to add a new form which loads at startup on a开发者_如何学编程n existing command line c++ project , how do i go about this ?
right click on project->add->New Item->select UI under Visual c++
You have to compile your app as CLR, to use win forms. Then from your exe's startup code, instantiate this form's object and then use objDlg->ShowDialog(). Its pretty much same
And clr option may not be compatible with MTd and few others(?)
精彩评论