Solved

Stability of DLLs using controls

Posted on 2003-12-04
4
259 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

803 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