Class | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## winapi-error

This condition class is a subclass of `error`. It has one slot, `code`, with reader winapi-error-code.

A `winapi-error` is signaled on Windows when there is a Windows API error. The related `syscall-error` is signaled on UNIX/Linux systems when there is a system error and occasionally on Windows when there is a C library error.

You might see this error, for example, when there is a problem loading a DLL:

    cl-user(17): (load "foo.dll")
    ; Foreign loading foo.dll.
    Error: loading "foo.dll" resulted in error (code 193)
      "%1 is not a valid Win32 application.".
      [condition type: winapi-error]
      ...

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version