comp.lang.ada
 help / color / mirror / Atom feed
From: luis_polasek@my-deja.com
Subject: How to handle Bitmaps in Gnat Ada95.
Date: 1999/09/14
Date: 1999-09-14T00:00:00+00:00	[thread overview]
Message-ID: <7rlr17$ni6$1@nnrp1.deja.com> (raw)

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 <windows.h> 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 <windows.h> (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.




             reply	other threads:[~1999-09-14  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-14  0:00 luis_polasek [this message]
1999-09-14  0:00 ` How to handle Bitmaps in Gnat Ada95 tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox