Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

URGENT Assertion error while closing Activex component

Posted on 2002-04-04
5
Medium Priority
?
545 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
3 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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 summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

782 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