Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: n = WinSetProcessDPIAware()

  1. #11
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    58
    Posts
    8,843
    Rep Power
    10
    Ciao,

    sorry for the delay but busy at work.

    I've tested on the only one Windows 7 I have around that is a VMWare VM.
    I think, and I hope, it is because Scintilla and Lexilla DLL requires Microsoft Visual C Redistribution Runtime to work and maybe you do not have it installed in your OS.

    You can download it from Microsoft here:
    https://learn.microsoft.com/en-us/cp...-2019-and-2022

    Use x86 version

    If you can install it and let me know if this will solve the problem ...
    Otherwise I have to investigate further
    Attached Images Attached Images
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #12
    Senior Member catventure's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    643
    Rep Power
    84
    Hi Eros,

    Yes, you're right. After installing that it seemed to solve the problem.
    I didn't have much time but I ran the TAB Player text version and it seemed to work so far, but when I closed the app window it errored at the WIN_ANIMATE instruction. I'll check that in thinAir tonight when I have more time.

    Thanks,
    Phil.
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

  3. #13
    Senior Member catventure's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    643
    Rep Power
    84
    Error 18: Unknown Keyword or variable not defined
    Line 8332: WIN_ANIMATE(HWND,250,%AW_CENTER OR %AW_HIDE)
    Token found WIN_ANIMATE

    It is simply that in your beta version 1.14.0.0 for win 7 the syntax is now:
    WIN_ANIMATEWINDOW

    I change it to that and the error is gone now.

    I will continue to test the TAB program + sound and graphics now...

    Philip.
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

  4. #14
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    58
    Posts
    8,843
    Rep Power
    10
    Yes

    I changed somewhere in thinBasic evolution because I wanted to leave in all WIN_* functions the original Windows API name wrapped by thinBasic module name
    https://learn.microsoft.com/en-us/wi...-animatewindow

    Maybe there will be others.
    Last edited by ErosOlmi; 13-06-2025 at 12:34.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Page 2 of 2 FirstFirst 12

Members who have read this thread: 5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •