creating a DLL function library

H

Homer Simpson

Hi Everyone,

I would like to create a DLL to store my common math functions and then call
the DLL from multiple apps. For example, I am creating a function called
"Distance" that will return the 3D distance between two points. The points
are passed to the function as arguments and in return, the function gives me
the 3D distance. I want to store the function in a DLL (which will contain
many functions, hopefully) separate from my main apps.

1. What type of project do I want to start with? I'm guessing a Class
Library?
2. Can you provide any examples that demonstrate what I need to do? Even
elementary examples (X+Y kinda stuff) as long as they demonstrate the
process of calling the functions within the DLL.

I am using VS2005 Beta 2 on Windows XP SP2.

Thank you very much,
Scott
C# Newbie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top