General Macro Scheduler discussion
Moderators: Dorian (MJT support), JRL
-
martinjd
- Newbie
- Posts: 3
- Joined: Fri Feb 15, 2013 10:04 pm
Post
by martinjd » Tue Feb 19, 2013 9:48 pm
I am trying to load a simple C# assembly. Can Macro Scheduler load .NET assemblies. I am getting an error "Unable to load DLL" when attempting to do so?
The assembly accepts a string, iterates a directory, and returns a string. I have the following line in the script:
Code: Select all
LibFunc>D:\Segments\GetPath.dll,GetInstalledPath,result,PROG
If I call:
Code: Select all
LibLoad>D:\Segments\GetPath.dll,hLib
the result is
0: HLIB=1816723456
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
Post
by Marcus Tettmar » Wed Feb 20, 2013 9:57 am
No, Macro Scheduler cannot load .Net assemblies. It is not .Net.
It can load native win32 DLLs (with stdcall convention). .Net assemblies are not native DLLs.
-
SteveN
- Newbie
- Posts: 1
- Joined: Mon Jun 03, 2013 6:12 pm
Post
by SteveN » Mon Jun 03, 2013 6:14 pm
Is it not possible to create your .net dll for COM and then load it using ActiveX?