Click here to Skip to main content
15,905,967 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

1 solution

OCX is pretty much obsolete stuff. You will find the overview of related topics here:[^].

It's all fundamentally based on COM, which makes more sense to learn well:[^],[^],[^].

And DLL is a very general thing, a dynamic-link library, a PE file used as a library,[^],[^].

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.

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