comp.lang.ada
 help / color / mirror / Atom feed
* new problems with win32ada
@ 1998-07-30  0:00 Alessandro
  1998-07-30  0:00 ` Jerry van Dijk
  0 siblings, 1 reply; 3+ messages in thread
From: Alessandro @ 1998-07-30  0:00 UTC (permalink / raw)


Help please!

I've compiled win32ada with patch and renaming win32ada.a to
libwin32ada.a,
gnatlink gives me a lot of  "undefined reference to " (examples
undefinite reference to sendmessage, invalidaterect etc.) etc.. Why?

Thanks in advance,
Alessandro Busato
busato@newtech.it
NE&T Trieste





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new problems with win32ada
  1998-07-30  0:00 new problems with win32ada Alessandro
@ 1998-07-30  0:00 ` Jerry van Dijk
  1998-08-01  0:00   ` Robert Dewar
  0 siblings, 1 reply; 3+ messages in thread
From: Jerry van Dijk @ 1998-07-30  0:00 UTC (permalink / raw)


Alessandro (busato@newtech.it) wrote:

: I've compiled win32ada with patch and renaming win32ada.a to
: libwin32ada.a, gnatlink gives me a lot of  "undefined reference 
: to " (examples undefinite reference to sendmessage, invalidaterect etc.) 
: etc.. Why?

The Windows/NT operating system is build up of DLL's. The most basic
one, kernel32.dll, is automatically linked in. Others need to be 
linked in specifically. The Win32 documentation will tell you in what
DLL a given function is located. Than you need to link with the import
library for that DLL to use it.

Note that to compile a GUI program, you also have to add specific
linker instructions.

If you download the basic Win32ada example from my homepage you
can see how this is done.

-- 
-- Jerry van Dijk  | email: jdijk@acm.org
-- Leiden, Holland | member Team-Ada
-- Ada & Win32: http://stad.dsl.nl/~jvandyk




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new problems with win32ada
  1998-07-30  0:00 ` Jerry van Dijk
@ 1998-08-01  0:00   ` Robert Dewar
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Dewar @ 1998-08-01  0:00 UTC (permalink / raw)


<<: I've compiled win32ada with patch and renaming win32ada.a to
: libwin32ada.a, gnatlink gives me a lot of  "undefined reference
: to " (examples undefinite reference to sendmessage, invalidaterect etc.)
: etc.. Why?
>>


Note that you must have a valid SDK license to legally use the Win32ada
bindings.

The SDK license should come with everythingt you need in the event it is
not already installed on your system.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-08-01  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-30  0:00 new problems with win32ada Alessandro
1998-07-30  0:00 ` Jerry van Dijk
1998-08-01  0:00   ` Robert Dewar

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