Solved

Debug assertion in occsite.cpp

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to calculate times for developing software? 8 67
Complete beginner needs help making a cron job 9 116
either24  challenge 19 96
how to split multiple lines delimiter : 8 97
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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…
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 a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

808 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