|
|
Intel BlogsWhitepapers
|
WinFX: the new Windows API in LonghornWinFX Longhorn API Tutorial: WinFX, the Longhorn API, is the API for Windows in Longhorn. While the WinFX API in its first release within Longhorn is actually a peer to the Win32 API; it will eventually supersede the Win32 API. There is strong support for migration and interoperability scenarios between WinFX and the Win32 API, as well as between and managed code and COM components. This .NET/C++ Win32 API tutorial covers the WinFX managed classes and managed code in general, key differences between Win32 and WinFX, the software development kit (SDK), and interoperability with unmanaged code. Get the WinFX tutorial download here.
from Intel Corp. The introduction of WinFX API in Longhorn has some developers wondering if this is really out with the old (the Win32 API) and in with the new. The answer is that for the time being, at least, both APIs will coexist. WinFX, the Longhorn API, is the API for Windows in Longhorn. While WinFX in its first release within Longhorn is actually a peer to the Win32 API; it will eventually supersede the Win32 API. There is strong support for migration and interoperability scenarios between WinFX and the Win32 API, as well as between and managed code and COM components. This article covers the WinFX managed classes and managed code in general, key differences between Win32 and WinFX, the Software Development Kit (SDK), and interoperability with unmanaged code.
The .NET Framework Provides the Basis for WinFX The CLR manages running code (hence the term "managed code"), verifies type safety, and provides garbage collection, error handling, and security. It also provides access to system resources via native APIs such as Win32 and COM interoperability. The .NET Framework BCL is a comprehensive and unified object-oriented collection of reusable classes. Developers using the BCL can build applications that range from the traditional command-line or Graphical User Interface (GUI) Windows applications to applications based on the latest Web and Web services technologies. WinFX now joins this unified set of classes. When combined, the BCL and the CLR offer a productive environment for writing code and developing applications. The CLR facilitates the creation of managed code during initial compile when it translates .NET code into Intermediate Language (IL) and later at runtime when the CLR compiles the IL and executes it using the Just-In-Time (JIT) compiler. The IL compilation phase results in an .EXE or .DLL file. The benefit of the .NET compilation model is that everything is turned into native code which yields a fast application
Subscribers who liked this article also read:
If you're interested in this topic, these articles may be helpful:
Related Jobs: |
|
|