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!
using Windows Script Host from PureBasic
-
- User
- Posts: 50
- Joined: Fri Apr 25, 2003 7:21 pm
- Location: The World is my country, all mankind are my brethren, and to do good is my religion.
- Contact:
Spider Monkey
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
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
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 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
ARGENTINA WORLD CHAMPION
-
- New User
- Posts: 4
- Joined: Sun Jan 15, 2006 11:23 pm
Call PB DLL from WSH
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?
...
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?
and How to use function in dll from vbs?
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?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
- utopiomania
- Addict
- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
@Jack, that parser is already translated and posted in Tips & tricks: viewtopic.php?t=15762