{"id":183660,"date":"2026-10-06T22:54:06","date_gmt":"2026-10-06T20:54:07","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/predstavlena-biblioteka-wincore-dlya-raboty-win32-programm-v-linux-i-macos"},"modified":"2026-10-06T22:54:12","modified_gmt":"2026-10-06T20:54:12","slug":"wincore-library-introduced-for-running-win32-programs-on-linux-and-macos","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/news\/wincore-library-introduced-for-running-win32-programs-on-linux-and-macos","title":{"rendered":"La biblioth\u00e8que WinCore pour ex\u00e9cuter des programmes Win32 sous Linux et macOS a \u00e9t\u00e9 pr\u00e9sent\u00e9e.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Le projet WinCore d\u00e9veloppe une couche de compatibilit\u00e9 avec Win32\/WGL, permettant de compiler du code d'applications Windows \u00e9crit en C\/C++ en utilisant l'API Win32 classique, afin de l'ex\u00e9cuter sur Linux et macOS. WinCore intercepte les gestionnaires classiques Win32 et utilise des backends multiplateformes pour le rendu via SDL3 ou SDL2. Le code est \u00e9crit en C++ et est distribu\u00e9 sous la licence LGPLv3.    <\/p>\n<p>Le projet est le r\u00e9sultat d'une r\u00e9\u00e9valuation de la biblioth\u00e8que LDL, du m\u00eame auteur, qui en est venu \u00e0 la conclusion qu'au lieu de concevoir une nouvelle API, il est plus logique de prendre l'interface proc\u00e9durale \u00e9prouv\u00e9e par le temps de l'API Win32 et de la rendre portable sur diff\u00e9rents syst\u00e8mes d'exploitation et appareils. L'id\u00e9e est que le code est \u00e9crit selon les r\u00e8gles de Win32, mais est compil\u00e9 nativement et fonctionne sous Windows, Linux et macOS.     <\/p>\n<p>La biblioth\u00e8que est \u00e9crite en C++98 strict pour une portabilit\u00e9 maximale, mais elle exporte des fichiers d'en-t\u00eate C89, garantissant ainsi la compatibilit\u00e9 ascendante et permettant de faire des liaisons faciles avec Rust, Zig, Python et d'autres langages via C FFI. \u00c0 l'heure actuelle, deux backends ont \u00e9t\u00e9 ajout\u00e9s \u2014 SDL2 et SDL3. \u00c0 l'avenir, des backends pour XLib et Wayland sont pr\u00e9vus.    <\/p>\n<p>L'auteur ne vise pas \u00e0 \u00e9muler toutes les fonctionnalit\u00e9s de Windows et se concentre uniquement sur les sous-syst\u00e8mes pour le multim\u00e9dia et les moteurs. Actuellement, 5 fonctions de Kernel32.dll (gestion des modules, temps syst\u00e8me et d\u00e9lais), 25 fonctions de User32.dll (cr\u00e9ation de fen\u00eatres, boucles de messages, position du curseur et traitement des entr\u00e9es), 5 fonctions de Gdi32.dll (s\u00e9lection de format pixel, affichage de bitmaps et commutation de buffers) et 4 fonctions de Opengl32.dll (cr\u00e9ation, suppression et activation des contextes WGL) sont impl\u00e9ment\u00e9es.    <center><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/10\/f8f4ced89c6b832ec2be3d5f2a59a7a2.png\" style=\"display:block;margin: 0 auto;\" \/><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/10\/8282e3819d4884257aa6bac81a848e71.png\" style=\"display:block;margin: 0 auto;\" \/><\/center><br \/>\n<br \/>Source : <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66412\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0435\u043a\u0442 WinCore \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0441\u043b\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Win32\/WGL, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 Windows-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 C\/C++ \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e API Win32, \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432 Linux \u0438 macOS. WinCore \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Win32 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0435 \u0431\u044d\u043a\u0435\u043d\u0434\u044b \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 SDL3 \u0438\u043b\u0438 SDL2. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 C++ \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 LGPLv3. \u041f\u0440\u043e\u0435\u043a\u0442 \u0441\u0442\u0430\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 LDL, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-183660","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u043e\u0435\u043a\u0442 WinCore \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0441\u043b\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Win32\/WGL, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 Windows-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 C\/C++ \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e API Win32, \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432 Linux \u0438 macOS.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/news\/wincore-library-introduced-for-running-win32-programs-on-linux-and-macos\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 WinCore \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b Win32-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0432 Linux \u0438 macOS | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u043e\u0435\u043a\u0442 WinCore \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0441\u043b\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Win32\/WGL, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 Windows-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 C\/C++ \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e API Win32, \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432 Linux \u0438 macOS.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/news\/wincore-library-introduced-for-running-win32-programs-on-linux-and-macos\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-06T20:54:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-06T20:54:12+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Biblioth\u00e8que WinCore pr\u00e9sent\u00e9e pour faire fonctionner des programmes Win32 sur Linux et macOS | ProHoster","description":"Le projet WinCore d\u00e9veloppe une couche de compatibilit\u00e9 avec Win32\/WGL, permettant de compiler du code d'applications Windows \u00e9crit en C\/C++ en utilisant l'API Win32 classique, afin de l'ex\u00e9cuter sur Linux et macOS.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/news\/wincore-library-introduced-for-running-win32-programs-on-linux-and-macos","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 WinCore \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b Win32-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0432 Linux \u0438 macOS | ProHoster","og:description":"\u041f\u0440\u043e\u0435\u043a\u0442 WinCore \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0441\u043b\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Win32\/WGL, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 Windows-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 C\/C++ \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e API Win32, \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432 Linux \u0438 macOS.","og:url":"https:\/\/prohoster.info\/fr\/blog\/news\/wincore-library-introduced-for-running-win32-programs-on-linux-and-macos","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-10-06T20:54:07+00:00","article:modified_time":"2026-10-06T20:54:12+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/183660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=183660"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/183660\/revisions"}],"predecessor-version":[{"id":183661,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/183660\/revisions\/183661"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=183660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=183660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=183660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}