Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I integrate compiled .NET code with QuickMacros?
#1
Say I have the following very simple class in C#:

Code:
Copy      Help
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:

Code:
Copy      Help
dll "C:\Program Files\MyApp\MyDLL.dll" #AddIntegers a b

However, although QM does find my DLL, it says it does not find the function. I also can't do

Code:
Copy      Help
dll "C:\Program Files\MyApp\MyDLL.dll" #Arithmetic.AddIntegers a b

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!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)