Search found 46 matches
- Wed Jul 06, 2016 4:13 pm
- Forum: General Developer Support
- Topic: [_impl_KMemCacheFree] *** Warning: Freeing buffer to foreign
- Replies: 4
- Views: 3248
Re: [_impl_KMemCacheFree] *** Warning: Freeing buffer to for
Mr. Frieden said the kernel doesn't have such problems so the problem must be on an application side. Your code in the first post looks good. Are you sure that code part generates those error messages and it's not some other part of the code causing it ?
- Sun Jul 03, 2016 9:44 pm
- Forum: General Developer Support
- Topic: [_impl_KMemCacheFree] *** Warning: Freeing buffer to foreign
- Replies: 4
- Views: 3248
Re: [_impl_KMemCacheFree] *** Warning: Freeing buffer to for
I asked the kernel guy what such error message from another software means and he said it's usually a buffer overrun/underrun.
- Tue Jun 07, 2016 2:15 am
- Forum: General Developer Support
- Topic: Solved: Gadget class and help bubble how to do ?
- Replies: 7
- Views: 7769
Solved: Re: Gadget class and help bubble how to do ?
I got help from another coder so this works ok now.
- Thu Mar 17, 2016 6:15 pm
- Forum: General Developer Support
- Topic: Solved: Gadget class and help bubble how to do ?
- Replies: 7
- Views: 7769
Re: Gadget class and help bubble how to do ?
Now I get the help bubbles. But Query is made to the first gadget still no matter which gadget mouse is over. Being experienced coder of several decades I thought I understand C pointers well nowadays. But it seems, it is still not clear always. Sometimes you have to provide a pointer, sometimes sys...
- Wed Mar 16, 2016 3:13 pm
- Forum: General Developer Support
- Topic: Solved: Gadget class and help bubble how to do ?
- Replies: 7
- Views: 7769
Re: Gadget class and help bubble how to do ?
In GM_QUERY, who ever calls the dispatcher function, returns instance data of the first gadget in a layout/window no matter which one of the many gadgets mouse is over. How do I tell GM_QUERY which gadget it is ? I don't get anything displayed no matter if I'll remove those SuperMethod calls or use ...
- Tue Mar 15, 2016 8:53 pm
- Forum: General Developer Support
- Topic: Solved: Gadget class and help bubble how to do ?
- Replies: 7
- Views: 7769
Re: Gadget class and help bubble how to do ?
case GM_HELPTEST: id=INST_DATA(cl,o); ret=IIntuition->IDoSuperMethodA(cl,o,msg); ret=GMR_HELPHIT; break; case GM_QUERY: id=INST_DATA(cl,o); if (((struct gpQuery *)msg)->gpq_Type==GMQ_HINTINFO) { ((struct gpQuery *)msg)->gpq_Data=(int32 *)id->HintInfo; } ret=IIntuition->IDoSuperMethodA(cl,o,msg); re...
- Mon Mar 14, 2016 11:41 pm
- Forum: General Developer Support
- Topic: Solved: Gadget class and help bubble how to do ?
- Replies: 7
- Views: 7769
Solved: Gadget class and help bubble how to do ?
I'm developing a gadget class. How do I add HintInfo/Help bubble support into it ? Amiga Wiki tells when receiving GM_HELPTEST message then I should return GMR_HELPHIT as a return value. Or should I open a window myself and draw the help text into it or should Intuition do it for me ?
- Fri Feb 12, 2016 5:10 pm
- Forum: General Developer Support
- Topic: (Solved) Message structure of GM_HANDLESCROLL ?
- Replies: 6
- Views: 6782
Re: Message structure of GM_HANDLESCROLL ?
@broadblues, tonyw
I got it working. I forgot I had the related code in my input handler already.
Thanks both of you !
I got it working. I forgot I had the related code in my input handler already.
Thanks both of you !
- Thu Feb 11, 2016 8:38 pm
- Forum: General Developer Support
- Topic: (Solved) Message structure of GM_HANDLESCROLL ?
- Replies: 6
- Views: 6782
Re: Message structure of GM_HANDLESCROLL ?
So it's struct gpInput. But how do I get how much wheel was rotated and to which direction ?
- Thu Feb 11, 2016 5:52 pm
- Forum: General Developer Support
- Topic: (Solved) Message structure of GM_HANDLESCROLL ?
- Replies: 6
- Views: 6782
(Solved) Message structure of GM_HANDLESCROLL ?
What is the message structure GM_HANDLESCROLL receives in a BOOPSI class dispatcher ?