Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
42 user(s) are online (28 user(s) are browsing Forums)

Members: 2
Guests: 40

terminills, beworld, more...

Support us!

Headlines

Report message:*
 

Re: How to allocate TimeRequest

Subject: Re: How to allocate TimeRequest
by billyfish on 2020/5/17 19:00:07

@LiveForIt

Sorry, when i pasted ito my post I accidentally added the ASIOR bit. I've edited the post to remove that. It compiles fine, but the timerequest allocation fails and I get the printf statement confirming it.

If I switch to allocating it with

struct TimeRequest *tr IExec->AllocVecTags(sizeof(struct TimeRequest),
    
AVT_ClearWithValue0,
    
TAG_END);


and

IExec->FreeVec (tr);


it works fine. Anyone have any idea what I'm doing wrong with the AllocSysObjectTags() version?

cheers

billy

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project