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

C

c guan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top