Solved

Debug assertion in occsite.cpp

Posted on 1998-03-05
2
1,112 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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: 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…
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 shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 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