Solved

URGENT Assertion error while closing Activex component

Posted on 2002-04-04
5
514 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This video discusses moving either the default database or any database to a new volume.

763 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

9 Experts available now in Live!

Get 1:1 Help Now