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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,639c67044f34892c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!p79g2000cwp.googlegroups.com!not-for-mail From: gautier_niouzes@hotmail.com Newsgroups: comp.lang.ada Subject: Re: ActiveX Controls Date: 12 Jul 2006 06:48:06 -0700 Organization: http://groups.google.com Message-ID: <1152712086.532254.112480@p79g2000cwp.googlegroups.com> References: <44b3b488$1@news.uni-rostock.de> <44b4f8a3$1@news.uni-rostock.de> NNTP-Posting-Host: 206.122.158.4 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1152712091 4505 127.0.0.1 (12 Jul 2006 13:48:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 12 Jul 2006 13:48:11 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p79g2000cwp.googlegroups.com; posting-host=206.122.158.4; posting-account=CZAoAgwAAAD9ntJQ85OlWL0_Q5EFdzP_ Xref: g2news2.google.com comp.lang.ada:5641 Date: 2006-07-12T06:48:06-07:00 List-Id: Thomas Krueger schrieb: [...] > after that I recieved the following error messages > > gcc -c -x ada makefile > makefile:1:01: compilation unit expected > makefile:26:10: illegal character > makefile:33:30: illegal character > makefile:50:24: illegal character > gnatmake: "makefile" compilation error It looks like the makefile is taken as an Ada source. Did you try just "make" ? I remember doing the exercise with GNATCOM / GWindows and GNAT post-3.15p. IIRC the main gotcha is the disappearance of use of registry (GNATReg) after 3.15p; you have put the GNATCOM and other such sources in the library tree and go with .gpr files for referencing subdirs, sources etc; the best is to mimic the Win32 bindings (again, IIRC). HTH, Gautier ______________________________________________________________ Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!