if (!(buffertask = (MsgPort *)CreateProc(Buffertaskname, 0L, buffertaskSegList, 1000L)))
{printf("coudn't create MDBuffer/n");
unloadseg......}
.........
.......
I'm getting Error 76 identifier expected or something with VBCC..
By the way, do I really need to cast it (eg. (MsgPort *) ) ? I was getting another error before I added that. The variable holding the result (buffertask) is declared as struct MsgPort *buffertask so I can't see what was the problem.