Newbie/idiot question about adding classes to a project

  • Thread starter Thread starter Peter Webb
  • Start date Start date
P

Peter Webb

I want to use the arbitrary precision integer arithmetic package "IntX",
from http://codeplex.com/IntX/

This adds a multiprecision class for integers.

I cannot see how to add an external class in to my project. If I just
compile the IntX code as a project, I get a million errors (missing
namespace).

I can't find the library in the list in "Add Resource ..." under Project in
VS2005, which isn't surprising, because its just a downloaded file - I can't
see how its "linked" to the VS environment.

Could somebody just give me a start on how I go about adding an external
class to a Windows form application?

Sorry ...
 
Could somebody just give me a start on how I go about adding an external
class to a Windows form application?

Use "Add reference..." and browse for the file. You should then be
able to add the namespace to your project.

I normally add the dll for the class I am adding to the bin directory
under the project I am developing. That way I know it is always going
to be there and I can control which version I am developing against.

If you try to compile the IntX solution then you may get a whole load
of errors because the system uses the Nunit test framework. If you
try to compile just the IntX project (Right click on Oyster.IntX and
select compile) then it should compile OK. At least it does on my
machine.

Hope this helps,
Mark
--
|\ _,,,---,,_ A picture used to be worth a
ZZZzzz /,`.-'`' -. ;-;;, thousand words - then along
|,4- ) )-,_. ,\ ( `'-' came television!
'---''(_/--' `-'\_)

Mark Stevens (mark at thepcsite fullstop co fullstop uk)

This message is provided "as is".
 
I want to use the arbitrary precision integer arithmetic package "IntX",
fromhttp://codeplex.com/IntX/

This adds a multiprecision class for integers.

I cannot see how to add an external class in to my project. If I just
compile the IntX code as a project, I get a million errors (missing
namespace).

I can't find the library in the list in "Add Resource ..." under Project in
VS2005, which isn't surprising, because its just a downloaded file - I can't
see how its "linked" to the VS environment.

Could somebody just give me a start on how I go about adding an external
class to a Windows form application?

Sorry ...

Did you get a useful answer to your question?
 
Back
Top