From c812d35cdfe6ff9d0b9660683057691ea978406e Mon Sep 17 00:00:00 2001 From: Yaroslav Kibysh Date: Sun, 7 Apr 2024 05:33:13 +0300 Subject: [PATCH] Use actions instead of appveyor --- .github/workflows/build.yml | 50 ++++++++++++++++++++++++++++++++++++ COREDLL/Exports.def | 4 +-- README.md | 25 +++++++++++------- WinCeCompatLayer.sln | 15 ++++------- logo.png | Bin 0 -> 1249 bytes 5 files changed, 73 insertions(+), 21 deletions(-) create mode 100644 .github/workflows/build.yml create mode 100644 logo.png diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..57551b6 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,50 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: build + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +env: + # Path to the solution file relative to the root of the project. + SOLUTION_FILE_PATH: . + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + + strategy: + matrix: + configuration: [Release, Debug] + platform: [x86, ARM] + + steps: + - uses: actions/checkout@v3 + + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Restore NuGet packages + working-directory: ${{env.GITHUB_WORKSPACE}} + run: nuget restore ${{env.SOLUTION_FILE_PATH}} + + - name: Build + working-directory: ${{env.GITHUB_WORKSPACE}} + # Add additional options to the MSBuild command line here (like platform or verbosity level). + # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference + run: msbuild /m /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.SOLUTION_FILE_PATH}} + + - name: Upload Artifcats + uses: actions/upload-artifact@v4 + with: + name: wcecl-build-${{matrix.configuration}}-${{matrix.platform}} + path: ${{env.SOLUTION_FILE_PATH}}/build/ diff --git a/COREDLL/Exports.def b/COREDLL/Exports.def index 5ce0b4e..84dc2c9 100644 --- a/COREDLL/Exports.def +++ b/COREDLL/Exports.def @@ -48,7 +48,7 @@ EXPORTS _CxxThrowException @1551 type_info @1580 ShellExecuteEx=ShellExecuteEx_WCECL @480 - _vsnwprintf @1132 + ; _vsnwprintf @1132 CeLogSetZones @1452 CeLogReSync @1467 terminate=terminate_WCECL @1556 @@ -57,7 +57,7 @@ EXPORTS TlsCall=TlsCall_WCECL @520 longjmp @1036 _allmul=_allmul_WCECL @2002 - vswprintf @1099 + ; vswprintf @1099 wcsrchr @69 _alloca_probe @2010 wcscpy @61 diff --git a/README.md b/README.md index e5fe1f6..3e5e2aa 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,20 @@ -# Windows CE Compatibility Layer [![Build status](https://ci.appveyor.com/api/projects/status/93fytq537hcb2nw9?svg=true)](https://ci.appveyor.com/project/dz333n/wcecl) -### WinCE API Wrapper +# Windows CE Compatibility Layer (WCECL) -[Watch YouTube video](https://youtu.be/igz8mekvr8A) +![Improvised Logo](logo.png) -# What is this? -This library is designed to wrap Windows CE API using Win32 functions. This allows to run Windows CE executables in Win32 environment. Visit our [wiki](https://github.com/feel-the-dz3n/wcecl/wiki) for details. +Use WCECL to run original Windows CE applications on desktop Windows. -# Credits - - Created by [Yaroslav Kibysh / Dz3n](https://github.com/feel-the-dz3n) - - [Nikita Ivanov / osdever](https://github.com/osdeverr) - - Special thanks to [Stanislav Motylkov / Stas'M](https://github.com/binarymaster), who inspired me to make this. +## This project includes +- **COREDLL**: a library that wraps Windows CE APIs and redirects calls to desktop Win32 APIs +- **SubsystemTool**: a program that allows you to modify subsystem attributes in portable executables (.EXEs) + +⚠️ The project is at an early stage of development. Only one application has been confirmed to work so far. + +Visit project [wiki](https://github.com/dz333n/wcecl/wiki) for details. + +## Downloads + +Open workflow status link below and download the artifacts from the "Upload Artifacts" section for your desired configuration and platform. + +[![build](https://github.com/dz333n/wcecl/actions/workflows/build.yml/badge.svg)](https://github.com/dz333n/wcecl/actions/workflows/build.yml) diff --git a/WinCeCompatLayer.sln b/WinCeCompatLayer.sln index 70697a3..3916f7c 100644 --- a/WinCeCompatLayer.sln +++ b/WinCeCompatLayer.sln @@ -1,11 +1,14 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.329 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34723.18 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "COREDLL", "COREDLL\COREDLL.vcxproj", "{7AC1A661-7B3C-4C08-B41E-FE26C13AEC8B}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CoredllTest", "CoredllTest\CoredllTest.vcxproj", "{DE9AEC50-51BF-4229-AA7E-16DB683B84B5}" + ProjectSection(ProjectDependencies) = postProject + {7AC1A661-7B3C-4C08-B41E-FE26C13AEC8B} = {7AC1A661-7B3C-4C08-B41E-FE26C13AEC8B} + EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SubsystemTool", "SubsystemTool\SubsystemTool.vcxproj", "{FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}" EndProject @@ -41,14 +44,6 @@ Global {FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}.Release|ARM.Build.0 = Release|ARM {FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}.Release|x86.ActiveCfg = Release|Win32 {FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}.Release|x86.Build.0 = Release|Win32 - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|ARM.ActiveCfg = Debug|Any CPU - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|ARM.Build.0 = Debug|Any CPU - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|x86.ActiveCfg = Debug|Any CPU - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|x86.Build.0 = Debug|Any CPU - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|ARM.ActiveCfg = Release|Any CPU - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|ARM.Build.0 = Release|Any CPU - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|x86.ActiveCfg = Release|Any CPU - {8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/logo.png b/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..521a8c463a7d2bbf498dc5df5a24127cd2c18eb0 GIT binary patch literal 1249 zcmV<71Rnc|P)Qh3feR$);#8Y1o(j5{YRf>mRm@)yrlCzJS3=sPBUMa+G<2pS z4Z^axYOdcfI&P~Wj^Se5+ee?3?d(Y$E1O~7y%cMgMbA zJJRViwzsz-n{Ky@R;$IQZL)nb2NHNwfU2sP7lvWz=jZ3uhlhtRblJd+B(Y!$g#un) zUi7Q0EARUH+M_NTGq7+0nx^$njk~)$JU>6XbnYT1Qw7+zjkB{e$mI0&R2(-pHjqpv zjYgxvidGSmcSnHzp;#%|j!8Qnw#KpyhC-ry|=6WvhFJP{lcn|pk_~t`Sm3?Y1HI3Ro)R;qRO}8l`{l^GsG{jVi zf}znY2FB2|hO)Yfl%|Tg{w5u&Mm-Hi z&OjLC3*a>_Ep{&Z*W?q5U&}zD{$7eRD_y52e4hnSs~8o8L4FuD3@A4@CkN}Gg;d1%_ijqdH=GQWs_Pf}iGK?C9Q(nk;;6bIGbpfw=Jg$9=@FRvP z0>G90tE@)10@(d9i5HD3uVGsRHU;8;rmkuVMXS5*%$Rl~>5%y-aM8B?gW5 z?xQWY=FCsOFBB^i4<@@s!2dUi$O1-_-69#?7mbTa_WFTl4&KcFs1M(cb&G!W00000 LNkvXXu0mjfzv@SR literal 0 HcmV?d00001