From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3a435580b33a60dd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!skynet.be!newspost001!tjb!not-for-mail Date: Sun, 24 Apr 2005 16:09:11 +0200 From: Adrien Plisson Reply-To: aplisson-news@stochastique.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: help in task, what is wrong? References: <1114347735.376048.213420@o13g2000cwo.googlegroups.com> In-Reply-To: <1114347735.376048.213420@o13g2000cwo.googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <426ba7fb$0$30477$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: de0e8512.news.skynet.be X-Trace: 1114351611 news.skynet.be 30477 217.136.141.176:11040 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:10668 Date: 2005-04-24T16:09:11+02:00 List-Id: mferracini wrote: > task type Schedulatore is you declared Schedulatore as a task TYPE, but did not declare any object of this type to use for AddTask. either it should ba a simple task (not a task type), or you should declare an object of type Schedulatore. > schedulatore.Addtask(Task_X); give me this error: > invalid use of subtype mark. btw, this error does not say that the problem is in passing the pointer: it says you misused the name of a type, in this case Schedulatore. -- rien