turbot_yu
asked on
Add sample project into my own
I am using a sample code of JBSocketServer1.zip from
http://www.codeproject.com/internet/jbsocketserver1.asp#xx1204474xx
May I know how to add sample project into my own.
I am quite new here.
Thanks,
Turbot
http://www.codeproject.com/internet/jbsocketserver1.asp#xx1204474xx
May I know how to add sample project into my own.
I am quite new here.
Thanks,
Turbot
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Its main cpp is quite short, so I need to rewrite.
Then does I need to add all the necessary file, but how to keep the same directory structure? Still as 2 project as the same?
Then does I need to add all the necessary file, but how to keep the same directory structure? Still as 2 project as the same?
Select Project->Add to Project->Files and add .h and .cpp files to your project from the first Project in the sample.
Do the same with the second project. Now you will have all files in single project.
else
Create Project1 with files from Project1 in the sample.
Switch to Files view
Right click on the workspace tree node (topmost). You will find two options.
1. Add new Project into workspace
2. Insert project into workspace
Select option #1
Give the project path as as sub folder of Project1. Add files from Project2 in the sample.
Open Project1.
Do the same with the second project. Now you will have all files in single project.
else
Create Project1 with files from Project1 in the sample.
Switch to Files view
Right click on the workspace tree node (topmost). You will find two options.
1. Add new Project into workspace
2. Insert project into workspace
Select option #1
Give the project path as as sub folder of Project1. Add files from Project2 in the sample.
Open Project1.
go to project-insertprojectintow
Hope this will help u.