Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is XBScript still active?

157 views
Skip to first unread message

Dan Campbell

unread,
May 20, 2021, 3:27:48 AM5/20/21
to
Most of the google-returned links are empty.

Does it still work as a wsh script? Can it be used in a wsf file, like vbscript and jscript?

One of the few places that describes it is

https://www.xharbour.com/xbscript.html

, but there's nothing there about the licensing, or where to download it.

It's also referenced here,

https://groups.google.com/g/comp.lang.xharbour/c/y0MsJIexqgc/m/Zi-PGYQBAwAJ

, but the thread doesn't mention the .dll, although it does mention a xbscriptdll.exe. Is that a typo, that's supposed to be xbscript.dll?

Enrico Maria Giordano

unread,
May 20, 2021, 3:44:05 AM5/20/21
to

Dan Campbell

unread,
May 20, 2021, 9:25:15 AM5/20/21
to
Yep, the source is all there, thanks Enrico. But not the binaries, specifically the dll.

There's a Makefile,, and I tried using Borland's Make utility, but there are Command syntax errors in every module.

Is there a repository, where the binaries are already built?



dlzc

unread,
May 20, 2021, 9:48:09 AM5/20/21
to
Dear dcwh...:

On Thursday, May 20, 2021 at 6:25:15 AM UTC-7, dcwh...@gmail.com wrote:
...
> Yep, the source is all there, thanks Enrico. But not the binaries,
> specifically the dll.
>
> There's a Makefile,, and I tried using Borland's Make utility,

... what version of that are you using?

> but there are Command syntax errors in every module.
>
> Is there a repository, where the binaries are already built?

You might see if Whosaway has what you need. Mel, you still awake?

David A. Smith

Enrico Maria Giordano

unread,
May 20, 2021, 11:01:24 AM5/20/21
to


Il 20/05/2021 15:25, Dan Campbell ha scritto:

> Yep, the source is all there, thanks Enrico. But not the binaries, specifically the dll.
>
> There's a Makefile,, and I tried using Borland's Make utility, but there are Command syntax errors in every module.
>
> Is there a repository, where the binaries are already built?

Yes, visit the official website xharbour.org.

Dan Campbell

unread,
May 20, 2021, 12:12:40 PM5/20/21
to
On Thursday, May 20, 2021 at 9:48:09 AM UTC-4, dlzc wrote:
> Dear dcwh...:
>
> On Thursday, May 20, 2021 at 6:25:15 AM UTC-7, wrote:
> ...
> > Yep, the source is all there, thanks Enrico. But not the binaries,
> > specifically the dll.
> >
> > There's a Makefile,, and I tried using Borland's Make utility,
> ... what version of that are you using?
> > but there are Command syntax errors in every module.
> >
> > Is there a repository, where the binaries are already built?
> You might see if Whosaway has what you need. Mel, you still awake?
>
> David A. Smith

make.exe doesn't return a version number. But it's bcc582, and make.exe is from 9/8/2006, 12:57.

Dan Campbell

unread,
May 20, 2021, 12:17:38 PM5/20/21
to
Hi Enrico,

So it's actually in the xharbour binaries.

I see the xbscriptdll.exe, as opposed to an xbscriptdll.exe. Not sure how to create an XBScript object in a wsf file without a dll component, but will play with it a bit, and some trial & error.

T & R,

DC

Enrico Maria Giordano

unread,
May 20, 2021, 12:36:55 PM5/20/21
to


Il 20/05/2021 18:12, Dan Campbell ha scritto:

> make.exe doesn't return a version number. But it's bcc582, and make.exe is from 9/8/2006, 12:57.

You should update your BCC.

Dan Campbell

unread,
May 20, 2021, 3:19:51 PM5/20/21
to
Hi,

Update to what? Bcc582 is the one I use to compile any Fivewin code. I also have BCC7, but haven't had a used for it?

I'll try the Make with BCC7, but I don't think that's going to make a difference. It's a syntax error related to the code, not a make error.

At any rate, I already have the binaries from the xHarbour distribution, but they don't contain any dlls that can be used for wsh scripting.

dlzc

unread,
May 20, 2021, 4:35:11 PM5/20/21
to
Dear dcwh...:

On Thursday, May 20, 2021 at 12:19:51 PM UTC-7, dcwh...@gmail.com wrote:
> Update to what? Bcc582 is the one I use to compile any
> Fivewin code. I also have BCC7, but haven't had a used for it?
>
> I'll try the Make with BCC7, but I don't think that's going to
> make a difference. It's a syntax error related to the code, not
> a make error.
>
> At any rate, I already have the binaries from the xHarbour
> distribution, but they don't contain any dlls that can be used
> for wsh scripting.

You might poke around at http://www.whosaway.com/, see if he has a version running 5.8.2 that has what you need. You only "need" the DLL if you've coded it that way, and / or are using the commercial version that hides the source code.

https://groups.google.com/g/harbour-users/c/RaZf0cXG_6k

David A. Smith

Dan Campbell

unread,
May 20, 2021, 6:16:05 PM5/20/21
to
On Thursday, May 20, 2021 at 4:35:11 PM UTC-4, dlzc wrote:
> Dear dcwh...:
dlzc, I'm really sorry, but I don't understand what you mean here. At

https://www.xharbour.com/xbscript.html

they discuss the component that can be used for scripting

1 .XBScript DLL as ActiveScript Host or WSG, IE or IIS

I write VBScript and JScript together sometimes, and I'd like to include XBScript in the toolkit. I don't see any other way of doing this, other than a registered DLL. I don't know what you mean by "If you've coded it that way". I didn't code XBScript ; that was written by the xharbour people.

At any rate, I sent an email to whosaway earlier, and am awaiting a link.


T & R,

DC


Enrico Maria Giordano

unread,
May 21, 2021, 4:17:43 AM5/21/21
to


Il 21/05/2021 00:16, Dan Campbell ha scritto:

> At
>
> https://www.xharbour.com/xbscript.html
>
> they discuss the component that can be used for scripting
>
> 1 .XBScript DLL as ActiveScript Host or WSG, IE or IIS

I think it's a proprietary product of xHarbour.com. You have to ask
them, sorry.

Dan Campbell

unread,
May 21, 2021, 7:19:43 AM5/21/21
to
Yes, I think that's the right answer, thanks Enrico. I thought the xHarbour people were monitoring these forums, but I'll email them directly.

T & R,

DC

dlzc

unread,
May 21, 2021, 9:39:10 AM5/21/21
to
Dear dcwh...:

On Friday, May 21, 2021 at 4:19:43 AM UTC-7, dcwh...@gmail.com wrote:
...
> I thought the xHarbour people were monitoring these
> forums, but I'll email them directly.

They do, but coverage is very spotty. They have a private newsgroup for the commercial product.

David A. Smith

Dan Campbell

unread,
May 21, 2021, 10:59:16 AM5/21/21
to
On Friday, May 21, 2021 at 9:39:10 AM UTC-4, dlzc wrote:
> Dear dcwh...:
> On Friday, May 21, 2021 at 4:19:43 AM UTC-7, wrote:
> ...
> > I thought the xHarbour people were monitoring these
> > forums, but I'll email them directly.
> They do, but coverage is very spotty. They have a private newsgroup for the commercial product.
>
> David A. Smith

dlzc,

I posted a message on the private group, as well as directly to Patrick. Patrick has always been kind to me, so he'll send some kind of answer, even if it's not the answer I want.


It does seem as if they aren't promoting XBScript.dll anymore. The beta from 2018 doesn't contain it, at all.

I have a much older version - 2003/2004 - of the component. It's from the commercial xharbour that I purchased back then. But as I recall, the component itself was free to use anywhere.

Since they aren't talking about it in the past couple of years, I think we have to assume they aren't promoting it anymore. I'll purchase the last copy if necessary, as long it can be used anywhere freely.







Message has been deleted

Dan Campbell

unread,
May 22, 2021, 4:28:39 PM5/22/21
to
Update: I ordered the Pro version, and XBScript.dll was missing from the distribution. However, Patrick offered to build me a new one, and forward it tomorrow.






Enrico Maria Giordano

unread,
May 22, 2021, 5:00:29 PM5/22/21
to


Il 22/05/2021 21:37, Dan Campbell ha scritto:

> I guess xharbour.com has fallen behind hard times, especially during the Covid era.

Yes, and it's a pity... :-(

Enrico Maria Giordano

unread,
May 22, 2021, 5:01:07 PM5/22/21
to


Il 22/05/2021 22:28, Dan Campbell ha scritto:

> Update: I ordered the Pro version, and XBScript.dll was missing from the distribution. However, Patrick offered to build me a new one, and forward it tomorrow.

That's a good news! Please, keep us updated.

Mel Smith

unread,
May 22, 2021, 7:49:05 PM5/22/21
to
Hi DC:
I have xbscript.exe, xbscriptdll.exe on all of the xHarbour downloads on whosaway.com.
Just download the appropriate xharbour package, and examine the ...\bin\sub-dir sub-directory for those files.

btw, I use xbscript all the time for twiddling with databases. So much so, that I use the following little one-line batch file to save typing.

**** xbs.bat ****
c:\xharbour\bin\xbscript.exe
**** end of xbs.bat ***

Using it this way brings up the 'Dot Prompt' from which you can do most anything that is harbour compilable.
Alternately, one can also use hbmk2.exe which is the Harbour swiss-knife tool. It is also contained in my xHarbour downloads in the bin sub-dir.
I use the following batch file to run this exe.

**** hbmk.bat ****
c:\xharbour\bin\hbmk2.exe
**** end of hbmk.bat ****
This also brings up a 'Dot Prompt' plus a lot of other goodies

-Mel Smith

Dan Campbell

unread,
May 22, 2021, 8:13:58 PM5/22/21
to
Hi Mel,

I got the 5.8.2 version xhb10264_bcc58.zip from Whosaway the other day, and I guarantee you it doesn't have it. It's got the .dot script interpreter that you mention, as well as something called xbscriptdll.exe, but it does NOT have xbscript.dll.

At any rate, I ordered xharbour Pro - which also didn't contain the dll, but Patrick said he'll generate a new build and forward it tomorrow.

Mel Smith

unread,
May 22, 2021, 8:49:51 PM5/22/21
to
On Saturday, May 22, 2021 at 6:13:58 PM UTC-6, dcwh...@gmail.com wrote:
>
> Hi Mel,
>
> I got the 5.8.2 version xhb10264_bcc58.zip from Whosaway the other day, and I guarantee you it doesn't have it. It's got the .dot script interpreter that you mention, as well as something called xbscriptdll.exe, but it does NOT have xbscript.dll.
>
> At any rate, I ordered xharbour Pro - which also didn't contain the dll, but Patrick said he'll generate a new build and forward it tomorrow.

Sorry, I didn't read your post carefully enough.
No, I don't have xbscript.dll. Just the two .exe files I specified in my post.
-Mel
0 new messages