473,772 Members | 3,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS ASPX .NET VB .NET Managed C++ and COM VB 6.0 ASP

I have a simple Managed C++ wrapper built around an *existing* C++
interactive
[GUI] application. I can access the Managed C++ application classes
from a VB .NET or C# client and the GUI part works as expected. I am
using VS .NET 2002 (.NET framework v1.0.3705) for building my Managed
C++ application on a Windows XP Professional (version 2002) SP1.

I do not have much of a choice with the way the C++ program is
designed (e.g how it displays GUI stuff to interact with the user)
except to try and build a wrapper around it and use it in the .NET
environment.

My primary goal is to access the application functionality thru an ASP
..NET webpage via a VB .NET class as below:
ASPX -> VB .NET -> my Managed C++ app

But then the GUI from my Managed CPP application does not show up when
I try to open the ASPX page and the page does not load at all.

If I disable the GUI part (of underlying C++ app) of the managed C++
app,
the ASPX page loads but then I won't have the User Interaction part.

Before trying this in the .NET environment, I used a COM wrapper
around
my C++ application and when I invoke the ASP page, the GUI part (of
underlying C++ app) of my COM wrapper comes up fine.
ASP -> VB 6.0 -> my COM wrapper around the C++ application.

As mentioned above, when I move the framework to .NET the GUI (for.
e.g
even a simple MessageBox) does not show up.

I have spent some time reading the newsgroup articles. I have enabled
the "Allow service to Interact with Desktop" in "Control Panel/Admin
tools/Services" World Wide Web Publishing service and the IIS Admin
service.

I have read in one news group that: all InetInfo managed services must
have this "allow desktop interaction ..." option turned on. Are there
any other services I am missing here? Also, are there any other things
to do to make this work?

Any helpful information will be appreciated. Thanks in advance.

CG
Nov 18 '05 #1
1 1476
Hi,
I dont see why you need to open windows as part of the server side
processing of web request. there isn;t any interaction with users in
this process ...

Any way this liknk might be helpful
:\http://support.microsoft.com/default...555134&Product
=asp

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)52-8888377
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2

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

Similar topics

22
528
by: Alper AKCAYOZ | last post by:
Hello Esteemed Developers and Experts, I have been using Microsoft Visual C++ .NET for 1 year. During this time, I have searhed some topics over internets. Most of the topics about .NET is related to C# and Visual Basic .NET. There are less documents about Visual C++ .NET or Managed C++. I wonder the reasons of below questions: 1) Is C# more powerful than Managed C++ and Visual C++ .NET? 2) Is Microsoft intending to support C# and...
3
1332
by: fdan4817 | last post by:
I read an earlier thread about a Java developer switching to .Net with much interest. It still has not resolved some questions that I am wrestling with. I am new to Windows programming (other than MS Access VBA). I have been working in C#.Net (VS 2002) for several months now, just plugging along learning a little at a time. I have two concerns after reading more about C++ versus C#.
3
1427
by: Adam | last post by:
I can't seem to find one spot on the net that specifies exactly what I need to do. Situation: Native dll needs to hold a static reference to a managed class in .net 2.0 (whidbey) which needs to hold a static reference to managed classes. 1. In 2003 I needed special initialization because of the loader lock issue. In 2005 it seems I dont need this, however I am calling into a managed dll from a native dll, and I read somewhere there can...
7
2430
by: Adam | last post by:
I have a managed cpp wrapper. Im using this in a native dll as a static variable. I need to free this library when the dll is done being used. The perfect place to do this is DllMain for DLL_PROCESS_DETACH, but I can't do this when touching managed code, even if its just calling "delete someObject;". Any recommendations on how to free this object (it needs to be freed when the dll is being unloaded from its caller). Since the CRT is...
4
1046
by: Bill Cohagan | last post by:
This is a managed MSDN newsgroup, right? I posted a question on 8/20 regarding event order, but have received no response at all. I was under the impression that such posts would be responded to within a couple of days at most. Have the rules/expectations changed? Is this in fact not a managed group? TIA, Bill
3
1993
by: Robert Hooker | last post by:
Does anyone have any information on when MDX2.0 will come out of Beta? It seems like its been in Beta for a looong time... Rob
8
8999
by: Varangian | last post by:
Hello, was wondering of how to dispose of managed resources? or referencing every member of a class to null will release resources...? http://www.marcclifton.com/tabid/79/Default.aspx http://www.codeproject.com/managedcpp/garbage_collection.asp - sources
1
1055
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Is this a managed post?
2
1026
by: =?Utf-8?B?QkJN?= | last post by:
Like WPF, WF, and WCF. I don't see them in the list?
0
9620
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10104
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9912
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8934
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.