• TWAPI on Windows Arm64

    From Michael Niehren@michael@niehren.de to comp.lang.tcl on Tue Dec 17 12:36:35 2024
    From Newsgroup: comp.lang.tcl

    Hi,

    is anybody using the twapi-Module on an Arm64-Windows ?

    If i try to load it, i got the the following error:
    () 1 % package require twapi
    couldn't load
    library "C:/Users/aschm/AppData/Local/Temp/TCL00004688/twapi_base64.dll": invalid argument

    Do we need a special Version of the Module for Arm64-Windows ?

    The module has version V4.7.2

    best regards
    Michael

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Ashok@apnmbx-public@yahoo.com to comp.lang.tcl on Mon Dec 23 21:20:12 2024
    From Newsgroup: comp.lang.tcl

    Sorry, I do not have an ARM system, twapi is only built for x86/x64.

    On 12/17/2024 5:06 PM, Michael Niehren wrote:
    Hi,

    is anybody using the twapi-Module on an Arm64-Windows ?

    If i try to load it, i got the the following error:
    () 1 % package require twapi
    couldn't load
    library "C:/Users/aschm/AppData/Local/Temp/TCL00004688/twapi_base64.dll": invalid argument

    Do we need a special Version of the Module for Arm64-Windows ?

    The module has version V4.7.2

    best regards
    Michael


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Michael Niehren@michael@niehren.de to comp.lang.tcl on Tue Dec 24 15:51:57 2024
    From Newsgroup: comp.lang.tcl

    I also have no ARM system here.

    I am wondering that other modules compiled for x86/x64 are running fine only TWAPI not. I cross-compile the other modules under Linux with mingw and use your binary, all of them are x86/x64 compiled, so it seem's that Windows/ARM use an x86 emulator.

    Do you think it would be possible to cross compile TWAPI under Linux with
    mingw too and would that help for using it under Windows/ARM ?

    Michael

    Sorry, I do not have an ARM system, twapi is only built for x86/x64.

    On 12/17/2024 5:06 PM, Michael Niehren wrote:
    Hi,

    is anybody using the twapi-Module on an Arm64-Windows ?

    If i try to load it, i got the the following error:
    () 1 % package require twapi
    couldn't load
    library "C:/Users/aschm/AppData/Local/Temp/TCL00004688/twapi_base64.dll":
    invalid argument

    Do we need a special Version of the Module for Arm64-Windows ?

    The module has version V4.7.2

    best regards
    Michael


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Ashok@apnmbx-public@yahoo.com to comp.lang.tcl on Sat Dec 28 11:07:45 2024
    From Newsgroup: comp.lang.tcl

    I have really no idea. I was not even aware that ARM64 could run x64
    binaries so that tells you the level of my knowledge :-)

    Apparently, there is the Microsoft Compatibility Toolkit you can run on
    ARM64 that will tell you whether a binary is compatible and the reason
    why it is not. You need a ARM64 to run in though.

    If you do find out, I'd be interested in knowing the answer.

    There are a few API's that twapi uses that are not Win32, they are
    direct ntdll calls. It is possible the emulator does not support these.
    But that is only a wild guess.

    /Ashok

    On 12/24/2024 8:21 PM, Michael Niehren wrote:
    I also have no ARM system here.

    I am wondering that other modules compiled for x86/x64 are running fine only TWAPI not. I cross-compile the other modules under Linux with mingw and use your binary, all of them are x86/x64 compiled, so it seem's that Windows/ARM use an x86 emulator.

    Do you think it would be possible to cross compile TWAPI under Linux with mingw too and would that help for using it under Windows/ARM ?

    Michael

    --- Synchronet 3.20a-Linux NewsLink 1.114