Solved

Debug assertion in occsite.cpp

Posted on 1998-03-05
2
1,113 Views
Last Modified: 2013-11-20
Hi
I have a dialog based application. It works on my computer fine. I copied the source file to another computer, compile and link the files, but when I tried to execute the application it fails. After

CteleDlg dlg;

m_pMainWnd = &dlg;

AfxEnableControlContainer();

int nResponse = dlg.DoModal();

I get assertion failed in occsite.cpp, line 652. By the way the p_object value is null.
Can someone had such a problem, by the way both computers' OS is NT4 WS, running oracle.

Thanks
Alon
0
Comment
Question by:oak022097
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 70 total points
ID: 1316770
Does the dialog control OCXes? If so, are the required OCXes installed on the other machine? And are they registered? Look for regsvr32.exe and register your required OCXes.


0
 

Author Comment

by:oak022097
ID: 1316771
thanks,
It solve the problem
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
maven archtype selection in eclipse 1 58
child constructor and parent constructor, overriding and overloading 6 92
EvenOdd challenge 10 142
Path of Workbook 3 86
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 …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.

679 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