|
-
Sep 20th, 2001, 11:44 AM
#1
Thread Starter
Fanatic Member
ActiveX or UserControl
What is the difference between creating an ActiveX DLL/EXE or creating a User Control?
Thanks,
Jeff
-
Sep 25th, 2001, 07:36 AM
#2
Fanatic Member
The Differences
The differences between the types of ActiveX components you can create are slight.
DLL's and OCX's (User controls) are in-process where as EXE's are out of process.
DLL's are faster than EXE's (because their in-process) but if they crash, your calling app will also crash.
EXE's are slower than DLL's but an EXE crashing will not effect your calling app.
The only difference between an ActiveX EXE and a standard EXE is that an ActiveX EXE exposes public classes to client projects (that reference it) thus allowing them to instantiate these public classes.
An OCX is like a DLL but it doesn't (generally) expose instantiatable classes. An instance is created by dropping it on a form. Therefore it may have a visual interface that is contained in a form (and must respond to user interaction).
Need to know anymore?
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
Sep 25th, 2001, 11:23 PM
#3
Thread Starter
Fanatic Member
Thanks Simonm....that helps alot!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|