Page 2 of 2

Re: asl/getfile requester

Posted: Tue Sep 17, 2013 2:07 pm
by mcleppa
Thanx for reply,
@salass00

Yes 'Error: 01000009' is the alert I get, I still have asl.library V53.46. I'll try to install the new one and give it some more testing.

Happy to hear you are going to look into this.

Re: asl/getfile requester

Posted: Tue Sep 17, 2013 2:31 pm
by thomasrapp
mcleppa wrote:Here is the sourcecode: http://home.lyse.net/arildaarbakk/programs/asl.c

Off topic, but this part of your program does not work as expected:

Code: Select all

           if (window = IIntuition->OpenWindowTags(NULL,
                   WA_PubScreen, screen,
                   WA_Title, "Demo Customscreen, File Pattern, Multi-select",
                   WA_DepthGadget,
		   WA_DragBar,
   		   WA_Width, 300,
		   WA_Height, 300,		 
                   TAG_END))

Tag items are always pairs of ti_Tag and ti_Data. Therefore the WA_DragBar you coded acts as ti_Data for WA_DepthGadget. Because it is non-zero it functions like TRUE and you get a depth gadget. But you don't get a drag bar because WA_DragBar is never seen as a tag.

To work correctly the program would have to look like this:

Code: Select all

	...
	WA_DepthGadget, TRUE,
	WA_DragBar, TRUE,
	...

Re: asl/getfile requester

Posted: Tue Sep 17, 2013 4:56 pm
by salass00
@mcleppa

The FreeAslRequest() crash should be fixed in asl.library V53.49 which I've just submitted for beta testing.

Re: asl/getfile requester

Posted: Tue Sep 17, 2013 6:29 pm
by mcleppa
@Salass00
Great news and that fix was fast!!

@thomasrapp
Thanx, was a little too fast and clumsy with the code!

Re: asl/getfile requester

Posted: Tue Sep 17, 2013 11:29 pm
by nbache
mcleppa wrote:I still have asl.library V53.46. I'll try to install the new one and give it some more testing.
As far as I know, 53.46 is already the latest publically released version of asl.library.

Best regards,

Niels

Re: asl/getfile requester

Posted: Thu Oct 03, 2013 5:54 pm
by mcleppa
@salass00
Thanx for asl.library update!! Works like a charm :D