Category : ada

I have compiled a simple Ada application which uses the Win32Ada library. I’m compiling the application on Windows using: gnatmake C:GNAT20binsrcmain.adb -I"C:GNAT20libwin32ada" -largs -lwin32ada. The application works as expected on the compilation machine and when executing main.exe a MessageBox is executed. However, when attempting to execute the application on another Windows system which doesn’t have ..

Read more

Happy case Using Mingw I have successfully compiled a minimal hello world windows DLL in Ada and used it over the FFI interface: package body MY_FFI is procedure Hello_World is begin Ada.Text_IO.Put_Line("Hello world!"); end Send_Request; end MY_FFI; #[link(name = "my_ffi")] extern "C" { #[link_name = "hello_world"] fn ada_hello_world(); fn my_ffiinit(); // same as adainit just ..

Read more