Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

URGENT Assertion error while closing Activex component

Posted on 2002-04-04
5
Medium Priority
?
542 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 400 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

721 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