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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cadcb8a76199b049,start X-Google-Attributes: gid103376,public From: luis_polasek@my-deja.com Subject: How to handle Bitmaps in Gnat Ada95. Date: 1999/09/14 Message-ID: <7rlr17$ni6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 524966907 X-Http-Proxy: 1.1 x37.deja.com:80 (Squid/1.1.22) for client 163.10.5.33 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue Sep 14 15:53:15 1999 GMT X-MyDeja-Info: XMYDJUIDluis_polasek Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) Date: 1999-09-14T00:00:00+00:00 List-Id: Hi... I'm building an Ada package to handle BMPs graphics under Windows32. What I'm trying to do is to open a window under Windows and draw the read BMP in this window pixel by pixel. For doing this I'm trying to interface Ada with the C language, using the library. The problem arises when I try to link the object file, with the following error code: "undefined reference to someFunction@20" (where "someFunction" is an example name). The weird thing is that it is looking for a function concatenated to "@20", and y don't know what this means. If somebody can tell me how to solve this "undefined reference to ..." error, I would appreciate. Ps: another question, anybody knows how to create a window in Windows for handling pixels, using the library (the Win32 API). Or another way to handle bitmaps in Gnat Ada95. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.