OnWorks favicon

widl - Online in the Cloud

Run widl in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command widl that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



widl - Wine Interface Definition Language (IDL) compiler


widl [options] IDL_file
widl [options] --dlldata-only name1 [name2...]


When no options are used the program will generate a header file, and possibly client and
server stubs, proxy and dlldata files, a typelib, and a UUID file, depending on the
contents of the IDL file. If any of the options -c, -h, -p, -s, -t, -u or --local-stubs
is given, widl will only generate the requested files, and no others. When run with
--dlldata-only, widl will only generate a dlldata file, and it will contain a list of the
names passed as arguments. Usually the way this file is updated is that each time widl is
run, it reads any existing dlldata file, and if necessary regenerates it with the same
list of names, but with the present proxy file included.

When run without any arguments, widl will print a help message.


General options:

-V Print version number and exit.

-o, --output=name
Set the name of the output file. When generating multiple output files, this sets
only the base name of the file; the respective output files are then named name.h,
name_p.c, etc.

-b cpu-manufacturer[-kernel]-os
Set the target architecture when cross-compiling. The target specification is in
the standard autoconf format as returned by config.sub.

Header options:

-h Generate header files. The default output filename is infile.h.

Use old naming conventions.

Type library options:

-t Generate a type library. The default output filename is infile.tlb. If the output
file name ends in .res, a binary resource file containing the type library is
generated instead.

-m32, -m64
Generate a Win32 or Win64 type library respectively.

UUID file options:

-u Generate a UUID file. The default output filename is infile_i.c.

Proxy/stub generation options:

-c Generate a client stub file. The default output filename is infile_c.c.

-Os Generate inline stubs.

-Oi Generate old-style interpreted stubs.

-Oif, -Oic, -Oicf
Generate new-style fully interpreted stubs.

-p Generate a proxy. The default output filename is infile_p.c.

Prefix to put on the name of both client and server stubs.

Prefix to put on the name of client stubs.

Prefix to put on the name of server stubs.

-s Generate a server stub file. The default output filename is infile_s.c.

--win32, --win64
Only generate 32-bit or 64-bit code respectively (the default is to generate both
32-bit and 64-bit versions into the same destination file).

Registration script options:

-r Generate a registration script. The default output filename is infile_r.rgs. If the
output file name ends in .res, a binary resource file containing the script is
generated instead.

Dlldata file options:

--dlldata-only name1 [name2...]
Regenerate the dlldata file from scratch using the specified proxy names. The
default output filename is dlldata.c.

Preprocessor options:

-I path
Add a header search directory to path. Multiple search directories are allowed.

-D id[=val]
Define preprocessor macro id with value val.

-E Preprocess only.

-N Do not preprocess input.

Debug options:

-W Enable pedantic warnings.

-d n Set debug level to the non negative integer n. If prefixed with 0x, it will be
interpreted as an hexadecimal number. For the meaning of values, see the DEBUG

Miscellaneous options:

Ignored, present for midl compatibility.

Generate empty stubs for call_as/local methods in an object interface and write
them to file.


Debug level n is a bitmask with the following meaning:
* 0x01 Tell which resource is parsed (verbose mode)
* 0x02 Dump internal structures
* 0x04 Create a parser trace (yydebug=1)
* 0x08 Preprocessor messages
* 0x10 Preprocessor lex messages
* 0x20 Preprocessor yacc trace

Use widl online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • 2
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    Download SWIG
  • 3
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 4
    Package repo for ArchLabs This is an
    application that can also be fetched
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 5
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 6
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • More »

Linux commands