05-20-2005, 04:28 AM
Say I have the following very simple class in C#:
Let's say I need to use this AddIntegers function from my class. What is it I should do? I first thought of creating a class library in Visual Studio .NET 2003 and compiling it into a DLL, hoping I could use the QM dll function like this:
However, although QM does find my DLL, it says it does not find the function. I also can't do
because QM complains that the "." is an unexpected character.
I'm sure I'm not going the right way. In fact, I'm pretty sure I am not. I hope you guys enlighten me.
Thanks in advance!
public class Arithmetic {
public Arithmetic () {
}
public static int AddIntegers (int a, int b) {
return a + b;
}
}Let's say I need to use this AddIntegers function from my class. What is it I should do? I first thought of creating a class library in Visual Studio .NET 2003 and compiling it into a DLL, hoping I could use the QM dll function like this:
However, although QM does find my DLL, it says it does not find the function. I also can't do
because QM complains that the "." is an unexpected character.
I'm sure I'm not going the right way. In fact, I'm pretty sure I am not. I hope you guys enlighten me.
Thanks in advance!
