Page 2 of 2

Posted: Thu May 01, 2003 6:36 am
by ^OO^
Hi Ricardo,

This whole thing points up the reason there should be a parser in PB already!
Does Linux have an equivalent to WSH?
I want my super duper calculator to be as universal as possible.

Gahhh, it SO annoying!

Oh, Fred - Help us, please!

Spider Monkey

Posted: Thu May 01, 2003 10:56 pm
by CoderLaureate
http://www.mozilla.org/js/spidermonkey/ ... guide.html

Here is a way you may be able to embed JavaScript into your PB programs. It's a bit beyond my capabilities, but perhaps the PB Gurus can come up with some ideas.


-Jim

Re: Spider Monkey

Posted: Fri May 02, 2003 6:25 am
by ricardo
Hi,

I have done other experiment.

Now i found a way to call a dll from within vbs!!
Then i use this method to call a dll that i code in PB, so i can interact betwen my dll and a vbs script in a clean mode.

No more VB stuff, just a vbs code and my PB dll.

Take a look!

download: http://www.getafile.com/cgi-bin/merlot/ ... LTEST1.zip

Call PB DLL from WSH

Posted: Tue Jan 17, 2006 12:03 am
by someone_else
ricardo wrote:Hi,

I have done other experiment.

Now i found a way to call a dll from within vbs!!
Then i use this method to call a dll that i code in PB, so i can interact betwen my dll and a vbs script in a clean mode.

No more VB stuff, just a vbs code and my PB dll.

Take a look!

download: http://www.getafile.com/cgi-bin/merlot/ ... LTEST1.zip

I was trying to figure out how to call a PB DLL from a WindowsScript, and I came across this post, but the file is no longer available. Can anyone help?

Posted: Tue Jan 17, 2006 12:15 am
by jack

...

Posted: Tue Jan 17, 2006 12:43 am
by someone_else
Thanks.

Posted: Tue Jan 17, 2006 3:43 am
by jack
for those that need the source code for Dynawrap.dll here's the Windows95 version and the WindowsNT version also see Born's Windows Scripting Host
and How to use function in dll from vbs?

Posted: Tue Jan 17, 2006 8:55 am
by blueznl
i'd say a parser in pb would be easy, wouldn't it? just wrap all pb commands and run them through an interpreter, what's the problem?

Posted: Tue Jan 17, 2006 1:20 pm
by utopiomania
@Jack, that parser is already translated and posted in Tips & tricks: viewtopic.php?t=15762