954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how can i call class in other project

hi,
i have two projects in one solution Explorer,and i m trying to call a class from one project to another ,how can i do thisany idea?

Coool Pinky
Newbie Poster
7 posts since Oct 2005
Reputation Points: 10
Solved Threads: 0
 

you have to add the project as a reference to the other. then add "using namespace" to the source that needs to use the reference then its just like calling a class in the same project. note: if you update something in one project you have to build it before the other can see the new code.

plazmo
Posting Whiz in Training
207 posts since Aug 2005
Reputation Points: 23
Solved Threads: 16
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You