Skip to content

ConsolePaint.au3 - "Console.au3" (2594) : ==> Variable must be of type "Object".: #9

@mlipok

Description

@mlipok

in this following functions:
_Console_GetScreenBufferMaxSize
and
_Console_GetScreenBufferPos

This snippet not always fire @error
Local $tConsoleScreenBufferInfo = _Console_GetScreenBufferInfo($hConsoleOutput, $hDll) If @error Then Return SetError(@error, @extended, 0)

and something like this :
If Not IsObj($tConsoleScreenBufferInfo) Then Return SetError(111, @extended, 0)

should be added

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