Skip to content

Opening project on Windows 10 with WinDevLib in use, errors in wdAPI.twin #41

@jdelano0310

Description

@jdelano0310

I'm working on some DPI handling, one test I have is Windows 10 VM 1920x1080, I copied my project to this VM and opened the project file. There are 5 errors displayed that are not when using Windows 11:

twinBASIC (twinBASIC IDE BETA 783) compilation error report:
{ERROR} /tBHelper/Packages/WinDevLib/Sources/wdAPI.twin [2468,149]: TB5152ParamArray datatype must be an array of Variant
{ERROR} /tBHelper/Packages/WinDevLib/Sources/wdAPI.twin [2470,172]: TB5152ParamArray datatype must be an array of Variant
{ERROR} /tBHelper/Packages/WinDevLib/Sources/wdAPI.twin [5619,120]: TB5152ParamArray datatype must be an array of Variant
{ERROR} /tBHelper/Packages/WinDevLib/Sources/wdAPI.twin [5620,126]: TB5152ParamArray datatype must be an array of Variant
{ERROR} /tBHelper/Packages/WinDevLib/Sources/wdAPI.twin [5621,142]: TB5152ParamArray datatype must be an array of Variant

I have the latest WinDevLib referenced. These don't stop the project from running in the IDE so it isn't anything pressing just a note

Here are the versions of stdole.tlb
Windows 10: System32\stdole2: dated 12/7/2019 4:08:05 am
Windows 10: SysWow64\stdole2: dated 12/7/2019 4:09:11 am

Windows 11: System32\stdole2: dated 4/1/2024 3:22:04 am
Windows 11: SysWow64\stdole2: dated 4/1/2024 3:22:12 am

Edition Windows 10 Pro
Version 22H2
Installed on ‎9/‎18/‎2021
OS Build 19045.6332

Edition Windows 11 Pro
Version 25H2
Installed on ‎9/‎23/‎2025
OS build 26200.6584
Experience Windows Feature Experience Pack 1000.26100.234.0

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions