WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: Sai on June 15, 2021, 11:51:37 PM

Title: WinBatchSupport.dll Not Found
Post by: Sai on June 15, 2021, 11:51:37 PM
Hello ,

I have a WinBatch script that references 'WinbatchSupport' in the code :

; DotNetSupport.wbt
; load dotnet support assemblies
ObjectClrOption('version','v4.0.30319')
ObjectClrOption('appbase','.\dotnet\')
ObjectClrOption ("useany","WinbatchSupport")

When i run this code i get an error message : 1299 DLL: DLL file not found. Please see attached screen shot

Is this WinbatchSupport.dll a part of the WinBatch installation ? OR is this an extension assembly that needs separate installation?

Please let me know the download link if i need to download and install separately.

Title: Re: WinBatchSupport.dll Not Found
Post by: kdmoyers on June 16, 2021, 04:38:29 AM
This file does not appear in my installation of WinBatch + Compiler.

I've been doing winbatch for a very long time, and I've never seen mention of it before.

Google searches for the file reveal nothing.

So, whatever it is, it might be something not broadly distributed. 
Maybe it's something of local origin?
Title: Re: WinBatchSupport.dll Not Found
Post by: td on June 16, 2021, 06:18:09 AM
Based on the script the DLL is obviously a third-party .Net assembly that someone has created for some unknown reason. It certainly is not something that is a part of the regular WinBatch distribution.

The documentation for the WIL .Net function in the script:

https://docs.winbatch.com/mergedProjects/WindowsInterfaceLanguage/html/ObjectClrOption.htm (https://docs.winbatch.com/mergedProjects/WindowsInterfaceLanguage/html/ObjectClrOption.htm)

Title: Re: WinBatchSupport.dll Not Found
Post by: stanl on June 16, 2021, 09:34:05 AM
Quote from: kdmoyers on June 16, 2021, 04:38:29 AM

So, whatever it is, it might be something not broadly distributed. 
Maybe it's something of local origin?


Agreed. Or, somebody's idea of a joke.
Title: Re: WinBatchSupport.dll Not Found
Post by: td on June 16, 2021, 01:20:02 PM
Hadn't considered that possibility but...