Creating GUI in .lib file and invoking it from some other application
-
Hi all, I want to add gui(MFC based) into a lib code.....so for that i followed the following steps 1) Created a new windows based console application with option static lib file selected n by allowing MFC support to the application 2) from the project add....i selected add resource n then created a CDialog based gui into it Upto then everything is fine.....now here something i dont understand 1) wat r the .h and .cpp files related to gui do i need to include n wat code to write in (MFC generates all the code itself in a MFC based application so i m not sure wat to include or wat not to include) 2)I am able to link to lib in my program (proc) without error.....Now how do i invoke the gui in lib from my proc I am taking commandline arguement from the user.....if user says enable gui as arguement....then gui shud pop up or else it shud not pop up How do i achieve it..... Kunal