Jump to content

Recommended Posts

Posted (edited)

Hi all - 

This is an offshoot of the WinRT Project. I'm posting my progress here while I'm bumbling around with WinUI3 - just so the main project doesn't get too cluttered.
If I get things working I'll merge the two projects back together. That's the plan anyway!

ATM all I have is a blank Window (thrilling I know!), but if you wish to try it out you'll need to:

  • download and extract the example (obviously!) WindowTest.zip
  • Go here and download the latest Redistributable package of the Windows App SDK. Currently this is 1.7.3 (look in the table for the link.).
  • Once you've extracted that, go to the MSIX > win10-x64 folder
    • It seems the x86 libraries don't work at the moment.  (thanks for testing Gianni) . So ensure you're running Autiot_x64 on the autoit side! (#AutoIt3Wrapper_UseX64=Y directive in script)
  • Extract the contents of Microsoft.WindowsAppRuntime.1.7.msix. (7-Zip works fine)
  • I also installed the msix  - This is not necessary for now (thanks again Gianni). At some point we'll probably reference our dlls from the installed runtime location. 
  • Grab all the .dll files and put then in the same folder as "WindowTest.au3"
  • If you plan to make use of the Class Explorer script, grab all the .winmd files and put them in the same folder as "ClassExplorer v2.3.1.au3"
  • I also found AppxManifest.xml is handy for mapping objects to physical dll files.

Cheers,
Matt

Edited by MattyD
Posted

Hi @MattyD

16 hours ago, MattyD said:
  • I also installed the msix (this is a runtime afterall!) - I'm not sure if this step is strictly necessary for now. Maybe someone could check?

... I didn't install it, and "WindowTest.au3" works anyway ...

16 hours ago, MattyD said:
  • yes, you can probably the x86 libraries - but I haven't tested them... be sure to alter the "#AutoIt3Wrapper_UseX64" directive in WindowTest.au3 if you plan to go down that path.

... I also tried this stuff but it doesn't work ...   I get this -->  !>01:19:22 AutoIt3.exe ended.rc:-1073741819

Thanks for all this work!  👍

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted

Thanks for that Gianni :) I've amended the instructions.

Its interesting that x86 is broken, I'll have to have a look at that at some stage! 

A new test script is now up there, "WindowTest.au3" should be the only modified file.
There's just some initial attempts at handling window messages for the main window.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...