Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Debug assertion in occsite.cpp

Posted on 1998-03-05
2
Medium Priority
?
1,144 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 210 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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: 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…
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…
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

715 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