Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to create OCX file and what is difference between dll and ocx file and give proper example
Posted

1 solution

OCX is pretty much obsolete stuff. You will find the overview of related topics here: http://en.wikipedia.org/wiki/Object_Linking_and_Embedding[^].

It's all fundamentally based on COM, which makes more sense to learn well:
http://en.wikipedia.org/wiki/Component_Object_Model[^],
http://www.microsoft.com/com/default.mspx[^],
http://www.polberger.se/components/read/com.html[^].

And DLL is a very general thing, a dynamic-link library, a PE file used as a library,
http://en.wikipedia.org/wiki/Dynamic-link_library[^],
http://en.wikipedia.org/wiki/PE_executable[^].

Basically, all the code comes in executable file, EXE or DLL, first are used as applications (contain entry point), second ones as library, but, strictly speaking the difference between them is somewhat fuzzy. COM components can be implemented in both. This is not a topic to cover in a Quick Answer. You can master COM if you read a book on it, or some mass of documentation, but hardly one article.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900