WinAPI Hauptfragen



  • moin

    könnte mir einer von euch da draußen erklären, wozu bzw. was winapi darstellen soll?
    ich meine man könnte ja auch nur mit "OpenGL" coden,indem man bbei einem compiler unter Projekte ein neues OpenGL projekt startet ein fenster coden,aber worin liegt da der unterschied?
    kännte man auch mit winapi linux progr. basteln auch wenn es mit "WIN" beginnt?

    liebe grüße



  • mit OpenGL kann man keine Fenster erstellen.



  • YoungMen schrieb:

    moin

    könnte mir einer von euch da draußen erklären, wozu bzw. was winapi darstellen soll?

    http://msdn2.microsoft.com/en-us/library/aa383750.aspx

    Purpose
    The Microsoft Windows application programming interface (API) provides services used by all Windows-based applications. You can provide your application with a graphical user interface; access system resources such as memory and devices; display graphics and formatted text; incorporate audio, video, networking, or security.

    http://msdn2.microsoft.com/en-us/library/aa383750.aspx

    Overview of the Windows API

    The Microsoft Windows application programming interface (API) enables applications to exploit the power of the Windows family of operating systems. Using this API, you can develop applications that run successfully on all versions of Windows while taking advantage of the features and capabilities unique to each version. (Note that this was formerly called the Win32 API. The name Windows API more accurately reflects its roots in 16-bit Windows and its support on 64-bit Windows.)

    Differences in the implementation of the programming elements depend on the capabilities of the underlying operating system. These differences are noted in the documentation for the element.

    The Windows API consists of the following functional categories:

    * Administration and Management
    * Graphics and Multimedia
    * Networking
    * Security
    * System Services
    * User Interface



  • 1.2 What is the OpenGL Graphics System?
    OpenGL (for “Open Graphics Library”) is a software interface to graphics hardware.
    The interface consists of a set of several hundred procedures and functions
    that allow a programmer to specify the objects and operations involved in producing
    high-quality graphical images, specifically color images of three-dimensional
    objects.

    unter Projekte ein neues OpenGL projekt startet ein fenster coden,aber worin liegt da der unterschied?

    OpenGL kümmert sich nur um Grafik - hauptsächlich um 3D Rastergrafiken. WinAPI dagegen stellt keine Möglichkeit für 3D Grafiken bereit.

    kännte man auch mit winapi linux progr. basteln auch wenn es mit "WIN" beginnt?

    WinAPI wird nich von Linux unterstüzt


Anmelden zum Antworten