[12 Sep 2007] Problems with StringRequest()

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[12 Sep 2007] Problems with StringRequest()

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 12 Sep 2007 22:18:25 -0000

Does anyone else have problems using StringRequest() in Hollywood 2.5? When I try to use this function, I get an error message that says: "Cannot open reqtools.library"

I do have reqtools.library (v. 39.3) installed in Sys:Libs but there is obviously a problem.
User avatar
lazi
Posts: 650
Joined: Thu Feb 24, 2011 11:08 pm

[13 Sep 2007] Re: Problems with StringRequest()

Post by lazi »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 13 Sep 2007 11:20:14 +0100

Hello rev

It seems that the OS4 version should use other way for this. It should work on OS3.x.
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[13 Sep 2007] Re: Re: Problems with StringRequest()

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 13 Sep 2007 14:24:37 -0700 (PDT)

So is the problem with OS4 or with the OS4 version of Hollywood?
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

[14 Sep 2007] Re: Problems with StringRequest()

Post by SamuraiCrow »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 14 Sep 2007 16:12:27 -0000

The problem is that you need a wrapper for any 68k library to be accessed by a PPC program. I'm not sure what the proper command to do this is in the AmigaOS 4 SDK is though. Theoretically, the OS4 version of ASL.library should be used instead of ReqTools.library anyway.
I'm on registered MorphOS using FlowStudio.
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[14 Sep 2007] Re: Re: Problems with StringRequest()

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 14 Sep 2007 14:33:58 -0700 (PDT)

That's interesting. So is there a possibility of a work around from my end, or is this something that Andreas will have to implement?
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

[14 Sep 2007] Re: Re: Problems with StringRequest()

Post by SamuraiCrow »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 14 Sep 2007 18:19:58 -0700 (PDT)

If you have the OS4 software developer kit from Hyperion, there should be documentation on how to build a wrapper for a 68k library so it can be accessed by a PPC native application. This should get your presentation up and running under OS4.

In the meantime, if Andreas rewrote the sections of Hollywood that depended on Reqtools.library so that they used AmigaOS's equivalent functions using ReAct, ASL.library, and GadTools.library, then you wouldn't have to go through the whole song and dance of creating a wrapper for ReqTools.library.

Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
I'm on registered MorphOS using FlowStudio.
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[14 Sep 2007] Re: Re: Problems with StringRequest()

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 14 Sep 2007 19:45:22 -0700 (PDT)

I suppose, then, that this is the appropriate time to address a humble plea to Andreas for a mini upgrade/fix for the OS4 version.

"Please, please, please."

Thank you for your consideration.
User avatar
airsoftsoftwair
Posts: 5914
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[04 Oct 2007] Re: Re: Problems with StringRequest()

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 04 Oct 2007 21:56:09 +0200
I suppose, then, that this is the appropriate time to address a humble plea to Andreas for a mini upgrade/fix for the OS4 version.

"Please, please, please."

Thank you for your consideration.
Sorry for the delays. I spent some weeks away from home, i.e. holiday :-)

The problem with StringRequest() under OS4 is that the function uses reqtools.library. Reqtools.library, however, is only available as a 68k binary. Thus, glue code is needed if PPC code (i.e. Hollywood) attempts to call functions of 68k libraries.

The solution is simple: Drop reqtools.l.main into LIBS: and it will work. I've prepared everything necessary in the following archive: http://www.airsoftsoftwair.de/binary/reqtools_OS4.lha

Download it and copy reqtools.library and reqtools.l.main to LIBS:

In the future I will let the Hollywood installer take care of this automatically.
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[04 Oct 2007] Re: Re: Problems with StringRequest()

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 4 Oct 2007 15:10:54 -0700 (PDT)

Hi Andreas,

Thank you for making a fix. But I still am having the same problem as before.

Does this work for anyone else (with OS4)?

Also, if I can get this fix to work for me, would other people be able to run the compiled program without having these new reqtools in LIBS, or would I need to include them in any archive that I might publish?

Thanks,
User avatar
airsoftsoftwair
Posts: 5914
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[05 Oct 2007] Re: Re: Problems with StringRequest()

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 05 Oct 2007 00:23:40 +0200
Hi Andreas,

Thank you for making a fix. But I still am having the same problem as before.
You need to reboot after copying the files to LIBS: Then it should work, really.
Does this work for anyone else (with OS4)?

Also, if I can get this fix to work for me, would other people be able to run the compiled program without having these new reqtools in LIBS, or would I need to include them in any archive that I might publish?
No, you have to include them in your archive.
Locked