{"id":13411150,"url":"https://github.com/Alex-Gamper/Ada-WinRT","last_synced_at":"2025-03-14T16:34:06.340Z","repository":{"id":190911446,"uuid":"127380830","full_name":"Alex-Gamper/Ada-WinRT","owner":"Alex-Gamper","description":"Ada bindings for the Microsft WinRT Api","archived":false,"fork":false,"pushed_at":"2020-06-06T00:35:14.000Z","size":8586,"stargazers_count":12,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-31T20:45:02.908Z","etag":null,"topics":["ada","ada-winrt","gcc","gnat","winrt"],"latest_commit_sha":null,"homepage":"","language":"Ada","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alex-Gamper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-03-30T04:18:34.000Z","updated_at":"2024-03-25T04:16:10.000Z","dependencies_parsed_at":"2023-08-27T03:54:57.507Z","dependency_job_id":null,"html_url":"https://github.com/Alex-Gamper/Ada-WinRT","commit_stats":null,"previous_names":["alex-gamper/ada-winrt"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Gamper%2FAda-WinRT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Gamper%2FAda-WinRT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Gamper%2FAda-WinRT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Gamper%2FAda-WinRT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alex-Gamper","download_url":"https://codeload.github.com/Alex-Gamper/Ada-WinRT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243610892,"owners_count":20319047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ada","ada-winrt","gcc","gnat","winrt"],"created_at":"2024-07-30T20:01:11.748Z","updated_at":"2025-03-14T16:34:05.269Z","avatar_url":"https://github.com/Alex-Gamper.png","language":"Ada","funding_links":[],"categories":["Libraries"],"sub_categories":["Windows and .NET"],"readme":"## Ada-WinRT\n\nThis project provides a set of Ada bindings (aka language projection) to the Microsoft Windows WinRT API\nand is targeted at two distinct use cases\n\n- Windows **Store** applications\n- Windows native **Desktop** applications\n\nThese bindings have been generated from the metadata describing the WinRT api provided in the\nMicrosoft Windows 10 SDK *20H1 (build 10.0.19041)*\n\n### Project Status\n\nv 1.0 Released\n\n### Prerequisites\n\nYou will need a working gcc/gnat **x64** Windows build environment. This release has **NOT** yet been\ntested against 32 bit environments. You may need to build gcc/gnat **x64** from source if required.\nDetails/scripts on how to do this can be found on the mingw64 website, alternatively install using MSYS2\n\n### Project Dependencies\n\n**Winrt** is dependent upon **Winrt_Runtime** project. Please clone and build/install this project before attempting\nto use this project.\n\n### Configuration Instructions\n\nThe Winrt.gpr needs to know where to install the project files/artifacts, this is specified by the\nvariable named Base_Installation_Dir within the gpr file. You will need to change this value to suit your\nenvironment.\n\nFor example\n\n* MSYS2 (gcc version 8.3) - Base_Installation_Dir := \"lib\\gcc\\x86_64-w64-mingw32\\8.3.1/\";\n* MSYS2 (gcc version 9.1) - Base_Installation_Dir := \"lib\\gcc\\x86_64-w64-mingw32\\9.1.1/\";\n* AdaCore CE 2018 (gcc version 7.3) - Base_Installation_Dir := \"lib\\gcc\\x86_64-pc-mingw32\\7.3.1/\";\n* AdaCore CE 2019 (gcc version ?.?) - Base_Installation_Dir := \"lib\\gcc\\x86_64-pc-mingw32\\\\?.?.?/\";\n\n### Build instructions\n\nFrom a command prompt that has your gcc/gnat x64 distribution/build environments bin directory in its path,\nsimply run the following commands.\n\n* .\\gprbuild -p -P Winrt.gpr\n* .\\gprinstall -f -p -P Winrt.gpr\n\nAlternatively, their is a build.cmd script as part of the distribution that runs the above two commands.\n\n### Notes\n\nIf you have previously built this runtime for a different target/version. Then please clean your previous env\nby executing the following command\n\n* .\\gprclean -P Winnrt.gpr\n\n### Examples\n\nPlease see the appropriate readme within the appropiate directory. The following samples are provided\n\n* Desktop Examples\n\n  * Ocr - demonstrates how to use the Optical Character Recognition API (via the Storage/Streams/Bitmap API's) Also demonstrates a possible approach to handling **async** functions/procedures from within Ada (aka C#'s async/await) The other alternative approach is to use delegates/callbacks, which is demonstrated in the **Network** example.\n  \n  * Network - demonstrates the use of the tcp/ip Steam socket to connect to a server\n\n* Store Examples\n\n  tba\n\n### Feedback\n\nWelcome\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlex-Gamper%2FAda-WinRT","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlex-Gamper%2FAda-WinRT","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlex-Gamper%2FAda-WinRT/lists"}