Solved

Stability of DLLs using controls

Posted on 2003-12-04
4
256 Views
Last Modified: 2013-11-13
Hi all,

   I understand that if I were to call an OCX component from a ActiveX DLL, it will be unstable. Is it true? The DLL will be written by me.

thanks
tg
0
Comment
Question by:chngtg
4 Comments
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 50 total points
ID: 9874348
chngtg,
    I have writen a ActiveX DLL writen in VB6 that contains a Winsock control. It is used on a number of servers by VB6 apps and on one of our web servers by ASP. I have not encountered any problems in the year and a half it has been in use.

Dang123


0
 
LVL 48

Assisted Solution

by:AlexFM
AlexFM earned 25 total points
ID: 9874406
All VB is about calling COM components from various Dll. Don't care, it will be OK.
This adds additional dependency to your project and you need to distribute both exe and ActiveX Dll.
0
 
LVL 13

Expert Comment

by:crazyman
ID: 9874564
who ever told you this is lying, using this method should introduce no more instability.
0
 
LVL 4

Accepted Solution

by:
PBuck earned 50 total points
ID: 9875065
Just another sample of using ActiveX DLL with ocx controls.  We use ActiveX DLLs for each of our 80+ screens, display them all within an MDI form.  Each screen DLL using many many labels, textboxes, listviews, combos, etc and we have no stability issues.  

The only concern we have is memory usage when displaying many DLLs in a sorta workbook mode.  But with proper clean up and optimization - no problems have occurred with GPF's or lock ups.  

Hope this helps.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now