If you are using only COM Automation, then .Net framework verse .Net 5 shouldn't matter unless the .Net 5 implementation of your application no long supports CCW's for some reason.
If you have access to a system with the suspect application installed on it, you could use the WIL TypeView to verify the COM Automation object's existence. Generally, COM wrapped .Net objects have type libraries. Look for the exe or one of its DLLs listed on the "Type Libary List" tab. If you find one listed, click the "View Selected Type Library" button. Scroll down the left-hand tree to the "Classes" leaf and expand it. Expand each class and look for "Programmatic Identifier:" listed in the class description. If the ProgID exists then the class likely supports COM Automation and you should be able to create an instance of the class by placing the ProgID in the drop-down control and selecting "Get Members". If that works then the class support COM Automation and is usable in WinBatch as a COM Automation object. If not then "Houston we have a problem."
Might be. C# works so using the in-memory compiler works as well and I have already started down that familiar path but curious if that might be easier??? Not sure how easy passing text back and forth would be. Can't recall having used this control much, if at all. Will take a look.
Appreciate the suggestion.
Jim
They are listed but I get the "Unable to find a Type Library" and then "The Type Viewer has encountered a systen error. Please contact..." (typo there if you want to fix it).
MarcEdit is the application, if interested in downloading. If you are open to corresponding with the developer I can give him your info. Me as the middle-man probably won't be very productive.
Some scripting languages still work but some, like WinBatch, doesn't. Powershell 7x works but 5 doesn't (seems like that is known thing.) VBScript and PERL works. Probably others.
Should add that the COM Automation issue will be looked into to verify the cause as time premits.
At least this thread introduced me to .mrk file type. The MarcEdit seems like a pretty complete package and has its own scripting wizard. I'm still a little dense on how WB figures in... (1) trying to read .mrk files? (2) trying to automate the Wizard? (3) working with XML/Json metadata? (4) other?
You mentioned that inline compiled C# is workable. Sounds interesting.