Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I integrate compiled .NET code with QuickMacros?
#9
I copyed the exact example listed here. Set the COM DLL interop flag.

If I follow the directions and use the QM TypeLibraryies dialog, I can click "Browser" and add the type library. I can type "i" and access the methods.

But when I goto run the macro I get

Code:
Copy      Help
Error (RT) in Macro19: 0x80040154, Class not registered

If I tryed to register using Regsvr32 I get a messages about "dllResisterServer" entry point not found. I read on the web that for .net code you should use RegAsm.exe insted of the Regsvr32.

When I use regasm.exe it does get registered. But now when i try to run the macro i now get this

Code:
Copy      Help
Error (RT) in Macro19: 0x80070002, The system cannot find the file specified

This occurs on the line

Code:
Copy      Help
ClassLibrary2.IArithmetic i._create(uuidof(ClassLibrary2.Arithmetic))


I checked the path and permissions on the directory.

Any ideas?


Attached Files Image(s)
   


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)