Windows Develop Bookmark and Share   
 index > Windows Forms Designer > API vs DLL
 

API vs DLL

Hi, may i know what is the difference between API and .dll?

Thanks..

~ WonderfulSTar~
wonderfulStar  Tuesday, June 16, 2009 7:52 AM
Hi wonderfulStar,

An application programming interface (API) is a set of routines, data structures, object classes and/or protocols provided by libraries and/or operating system services in order to support the building of applications.
http://en.wikipedia.org/wiki/API

Dynamic-link library (also written without the hyphen), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems. These libraries usually have the file extension DLL, OCX (for libraries containing ActiveX controls), or DRV (for legacy system drivers). The file formats for DLLs are the same as for Windows EXE files �that is, Portable Executable (PE) for 32-bit and 64-bit Windows, and New Executable (NE) for 16-bit Windows. As with EXEs, DLLs can contain code, data, and resources, in any combination.
http://en.wikipedia.org/wiki/Dynamic-link_library

Dll is assembly file which hold data structures, object classes. API is the located in Dll also.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, June 18, 2009 6:37 AM
Hi wonderfulStar,

An application programming interface (API) is a set of routines, data structures, object classes and/or protocols provided by libraries and/or operating system services in order to support the building of applications.
http://en.wikipedia.org/wiki/API

Dynamic-link library (also written without the hyphen), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems. These libraries usually have the file extension DLL, OCX (for libraries containing ActiveX controls), or DRV (for legacy system drivers). The file formats for DLLs are the same as for Windows EXE files �that is, Portable Executable (PE) for 32-bit and 64-bit Windows, and New Executable (NE) for 16-bit Windows. As with EXEs, DLLs can contain code, data, and resources, in any combination.
http://en.wikipedia.org/wiki/Dynamic-link_library

Dll is assembly file which hold data structures, object classes. API is the located in Dll also.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, June 18, 2009 6:37 AM

You can use google to search for other answers

Custom Search

More Threads

• Available Colors Property in Designer
• mouse enter event Problem
• Problem with Windows Forms designer when assembly loads another assembly using reflection
• Asking for GUI design tips
• Apply DesignTimeVisible Attribute Dynamically By Condition
• Adjusting Panel position and its members creates flashing effect
• Change Font Color While Typing
• child controls of custom control disappear at run-time
• Problem with solution folders and custom controls
• Strange Errors in VS.NET