Solved

URGENT Assertion error while closing Activex component

Posted on 2002-04-04
5
521 Views
Last Modified: 2013-11-20
Hi

I have created Active-X component using MFC , i have tested it using vb-6 and vc-6 its working fine , BUT when i am using my control in vb-6 and press stop button during
design time i receive the following error

"Debug Assertion FAILED!"
File: cmdtarg.cpp
Line: 52

while terminating the vb client application(client.exe)i don't get any such assertion errors.

how to solve this error.
0
Comment
Question by:vcppmfc
5 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 100 total points
ID: 6917718
MSDN Says

BEHAVIOR: ASSERT in Cmdtarg.cpp, line 52 (destructor for CCmdTarget), but OK if ignored
REASON: Ref count is off by one
HANDLING: None--this is a flaky problem that shouldn't be handled.
AFFECTED CONTROLS: Common Dialogs Control, Crystal Report Control, Grid Control, PICS Date Edit Control
Additional notes: Only seen if a previously added control caused problems-- hard to reproduce.

Roshmon
0
 

Author Comment

by:vcppmfc
ID: 6933498
Yeh i searched for some of the error handling documents.Atlast i found a document saying that its an microsoft bug and we need to add service pack for Visual studio.Thanks for trying.
0
 

Expert Comment

by:JOHNTHEISS
ID: 10814135
I am getting the same thing, and the company will freak in putting upgrades in.  Can you tell me where you saw that this is a bug and what the fix is?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl Awk Need Help 3 116
Separate files macro - Errors on larger data set 18 69
Hibernate methods 2 71
fizzArray2 challenge 1 78
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

808 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