06-23-2008, 11:47 PM
it would be cool to use qm for making .net executables.
.NET
|
12-01-2008, 10:17 PM
Some .NET classes can be used as COM objects. Example:
Macro But most classes can't. For example this code fails: Macro List of classes that can be used: Macro int n i Also can be used mscorlib type library but for most classes it contains only CLSIDs, and you can create only some classes. Macro
02-21-2013, 03:30 PM
I'm still new to this - but I'm having trouble connecting to an app via their published API because I can't register a certain DLL. From what I see here - this either because it's a .NET object and not a COM object or (a colleague suggested) there may be some dependencies that aren't handled.
I need to use the TcpChannel class from System.Runtime.Remoting.Channels.Tcp (in System.Runtime.Remoting.dll) http://msdn.microsoft.com/en-us/library/...s.90).aspx. I've run the macro here that displays the contents of the registry and there isn't anything for TcpChannel. I've tried to manually register the DLL in C:\Windows\Microsoft.NET\Framework\v2.0.50727. This fails. My conclusion is that I'll have to create my own COM wrapper to call from QuickMacros and link TcpChannel from there. Is that correct? Thanks.
02-21-2013, 04:35 PM
I also did not find a way to use this .NET class in QM directly.
See also CS Sript: http://www.csscript.net
02-22-2013, 01:04 PM
I see that CS-Script does the following:
Quote:The main idea of CS-Script is to allow "plain vanilla" C# code execution from both command-prompt and form any CLR application hosting the script engine. So are you suggesting a possible solution is for .NET functions to co-distribute CS-Script with QM-generated exe's and call when necessary from QM-exe for those .NET functions? That would work for me....gotta learn a little C# now! S
06-05-2013, 10:44 AM
Any future option to include VB(.NET) code execution since C# (.NET) code is already included in beta version now.
The vb code is much easier for me to understand and learn compare to C#.
06-05-2013, 11:11 AM
Ok, will add it in some QM 2.3.5.x version.
|
« Next Oldest | Next Newest »
|