Link to home
Start Free TrialLog in
Avatar of turbot_yu
turbot_yuFlag for Singapore

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

ASKER CERTIFIED SOLUTION
Avatar of lakshman_ce
lakshman_ce

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hemakumar
hemakumar

Add the necessary files into ur project that are required.If u want to add the project to ur workspace

go to project-insertprojectintoworkspace and select the .dsp file of ur project.

Hope this will help u.
Avatar of turbot_yu

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?
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.