Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-11

Help Dev New Component - mozilla jscript

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Danie Brink
to Florian Klaempfl: 1.1 does support it.
Florian Klaempfl wrote 15 lines
At 18:58 09.11.2002 +0200, you wrote: > I have been working on DWScript for more than a year and have tried > to convert it to free pascal. No success it uses variants and > interfaces none of wich is supported, to my knolage, under fpc, 1.1 does support it. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Thanks, however 1.0.6 does not support it and I need it to work in the next two weeks, this is for me of cause and I don't see why DWScript could not be converted later. As I said this is for a comertial project and I do not trust ver 1.1 yet and I can't hack at fpc, no time.

Thanx

Reply by email

Tony Maro
to Florian Klaempfl: 1.1 does support it.
Danie Brink wrote
Thanks, however 1.0.6 does not support it and I need it to work in the next two weeks, this is for me of cause and I don't see why DWScript could not be converted later. As I said this is for a comertial project and I do not trust ver 1.1 yet and I can't hack at fpc, no time.

Just a warning. 1.0.6 has a serious buffer allocation bug that affects Lazarus. You'll be much happier if you use 1.0.7 (which is stable and does work properly with all the LCL unlike 1.1)

-Tony

Reply by email

Danie Brink

I have been working on DWScript for more than a year and have tried to convert it to free pascal. No success it uses variants and interfaces none of wich is supported, to my knolage, under fpc, I recently ran into mozilla javascript and it will probably run on all the platforms freepascal runs. So I decided to make a library for FreePascal, I see it working allong the same lines as dwscript eventualy. I need it for a enterprise project I am undertaking. And it would be a nice component for lazarus, yes ?

I currently need to know if someone has done this somewhere. If not, I need to know how to use h2pas properly, it results in a access violation when I use it. And I would like some guidlines as to how to make a component out of this.

Could someone give me some pointers on how to do this ?

Danie Brink.

Reply by email

Andrew Johnson

On Sat, 09 Nov 2002 18:58:01 +0200
"Danie Brink" wrote :

Well as for the variants & interfaces they are available in the unstable 1.1 tree.
But AFAIK no one has done anything like this in FreePascal or Lazarus. I know that another script library at one time was tried to be ported, but never really finished or maintained. as for h2pas.. it's use is quite simple, but if your getting AV, you might have an older version, or the header might just be too much for its limited capabilities to handle. In which case of course you will have to translate by hand. Beyond that. I don't use scripting really so I couldn't tell you how feasible or useable it would be, nor what the best way to write a component wrapper around it would be.

Andrew

Show quoted text 17 lines
I have been working on DWScript for more than a year and have tried to convert it to free pascal. No success it uses variants and interfaces none of wich is supported, to my knolage, under fpc, I recently ran into mozilla javascript and it will probably run on all the platforms freepascal runs. So I decided to make a library for FreePascal, I see it working allong the same lines as dwscript eventualy. I need it for a enterprise project I am undertaking. And it would be a nice component for lazarus, yes ? I currently need to know if someone has done this somewhere. If not, I need to know how to use h2pas properly, it results in a access violation when I use it. And I would like some guidlines as to how to make a component out of this. Could someone give me some pointers on how to do this ? Danie Brink.

_________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

Reply by email