Solved

Debug assertion in occsite.cpp

Posted on 1998-03-05
2
1,128 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
[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
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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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…
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.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

615 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