Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
35 user(s) are online (27 user(s) are browsing Forums)

Members: 0
Guests: 35

more...

Support us!

Headlines

 
  Register To Post  

[Solved] ASL is not my friend
Supreme Council
Supreme Council


See User information
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
Go to top
Re: ASL is not my friend
Not too shy to talk
Not too shy to talk


See User information
@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

Go to top
Re: ASL is not my friend
Supreme Council
Supreme Council


See User information
@thomas

> Or win does not contain a valid window pointer.

Thanks, that was it.

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project