Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
55 user(s) are online (40 user(s) are browsing Forums)

Members: 0
Guests: 55

more...

Headlines






[Solved] ASL is not my friend
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3227
OKey I'm all out of having fun doing crash-reboots.

What's wrong here?:

struct FontRequester *req = IAsl->AllocAslRequestTags(ASL_FontRequest,
ASLFO_Window, win,
ASLFO_PrivateIDCMP, TRUE,
ASLFO_SleepWindow, TRUE,
ASLFO_TitleText, (STRPTR)"Select Font",
TAG_DONE );

if(req!=NULL)
{
IAsl->AslRequest(req,NULL);

IAsl->FreeAslRequest(req);
}


Edited by orgin on 2009/4/9 19:23:26
_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: ASL is not my friend
Not too shy to talk
Joined:
2006/11/26 17:45
Posts: 279
@orgin

There is nothing wrong with *this* code. You should post the complete program. Or at least a complete example which crashes, too.

Probably IAsl ist not initialized correctly. Or win does not contain a valid window pointer.

Bye,
Thomas

   Report Go to top

Re: ASL is not my friend
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3227
@thomas

> Or win does not contain a valid window pointer.

Thanks, that was it.

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top





[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project