New SDK CreatePort & DeleteMsgPort deprecated

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
JosDuchIt
Posts: 291
Joined: Sun Jun 26, 2011 6:47 pm
Contact:

New SDK CreatePort & DeleteMsgPort deprecated

Post by JosDuchIt »

I get the message that CreatePort and DeleteMsgPort are deprecated.
I don't find a hint what to use instead (not metioned as deprecated in the exec.doc autodoc.
Is there an other place whrere to look for hints ?
User avatar
javierdlr
Beta Tester
Beta Tester
Posts: 389
Joined: Sun Jun 19, 2011 11:13 pm
Location: Donostia (GUIPUZCOA) - Spain
Contact:

Re: New SDK CreatePort & DeleteMsgPort deprecated

Post by javierdlr »

User avatar
trixie
Posts: 411
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: New SDK CreatePort & DeleteMsgPort deprecated

Post by trixie »

@JosDuchIt

Those functions were in fact deprecated years ago; I'm quite sure it was noted in the Autodocs. AllocSysObject() and FreeSysObject() are the answer to your question.
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Post Reply