asl/getfile requester ( Solved )

This forum is for general developer support questions.
mcleppa
Posts: 27
Joined: Sun Sep 04, 2011 5:00 pm
Contact:

Re: asl/getfile requester

Post 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.
thomasrapp
Posts: 320
Joined: Sun Jun 19, 2011 12:22 am

Re: asl/getfile requester

Post 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,
	...
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 534
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland
Contact:

Re: asl/getfile requester

Post by salass00 »

@mcleppa

The FreeAslRequest() crash should be fixed in asl.library V53.49 which I've just submitted for beta testing.
mcleppa
Posts: 27
Joined: Sun Sep 04, 2011 5:00 pm
Contact:

Re: asl/getfile requester

Post by mcleppa »

@Salass00
Great news and that fix was fast!!

@thomasrapp
Thanx, was a little too fast and clumsy with the code!
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1769
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: asl/getfile requester

Post 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
mcleppa
Posts: 27
Joined: Sun Sep 04, 2011 5:00 pm
Contact:

Re: asl/getfile requester

Post by mcleppa »

@salass00
Thanx for asl.library update!! Works like a charm :D
Post Reply