473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

From COM Server(VC++) Can we call functions in the Activex Control (OCX file).

In my COM Server i have added Dialog Box. i have registered OCX file
and added that Activex Control to my Project also. It has created 1
header file and 1 source file.

After that i have created an instance(object) of that ActiveX control
and trying to call functions, But its giving run time error.

Debug Assertion Filed!
File: winocc.cpp
Line: 345

Please help me

Mar 8 '06 #1
2 2406
ka****@gmail.com wrote:
In my COM Server i have added Dialog Box. i have registered OCX file
and added that Activex Control to my Project also. It has created 1
header file and 1 source file.

After that i have created an instance(object) of that ActiveX control
and trying to call functions, But its giving run time error.

Debug Assertion Filed!
File: winocc.cpp
Line: 345

Please help me


How are we supposed to help you?

You're in the wrong group and you're not posting enough code.

The problem is in the code you wrote. Somewhere.

Ben Pope
--
I'm not just a number. To many, I'm known as a string...
Mar 8 '06 #2
ka****@gmail.com wrote:
In my COM Server i have added Dialog Box. i have registered OCX file
and added that Activex Control to my Project also. It has created 1
header file and 1 source file.

After that i have created an instance(object) of that ActiveX control
and trying to call functions, But its giving run time error.

Debug Assertion Filed!
File: winocc.cpp
Line: 345

Please help me


ActiveX, COM and Dialog Boxes are OT here. Please ask in a MS specific
newsgroup.

Mar 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: wallflowers | last post by:
Hi, I would like to know , how do I compile an oracle stored procedure or trigger from Visual C++ environment. I entered the sqlplus username/password@dbstring @filename command in the Custom...
3
by: Matik | last post by:
Hello everyone, I was wondering. Is it possible, to recive an event from ActiveX into database? I was looking alredy with notification services, but I think that's the wrong way. Lets say,...
1
by: Kueishiong Tu | last post by:
How do I call Java routines from VC++ .NET?
2
by: darkhonor | last post by:
I'm very new to Windows development, all of my background is in Linux, so please bear with me. I am working on a class project and just for fun I'm building a frontend using VC++ 2003. The...
0
by: Form Sheetal Joshi. | last post by:
I am trying to call java script function from ActiveX (Not ActiveX from javascript) or if we can send an html file to browser from ActiveX will also do the job. Reply me ASAP if it is...
0
by: Perdo | last post by:
I still haven't seen any solution to or alternate for copying files to/from server drive using web form button server control The FileCopy() doesn't seem to work for me. There is Login error or...
4
by: DKode | last post by:
I have developed a custom server control that displays a login page that authenticates against AD. The server control works fine, but now I am trying to figure out the best way to output custom...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
17
by: Alan Silver | last post by:
Hello, I have a page which I am converting to use themes. The page has an HTML <input type="image"> element that is used to post to another page. I would like to replace this with a server...
4
by: =?Utf-8?B?QXJqdW4=?= | last post by:
Hi, After migrating my application from VC++ 6.0 to VC++ 2005, I receive the error C2593 'operator +=' is ambiguous. It refers to the following line: Name += pManager->GetAgentName(); ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.