I am trying to display a user control contained within an c++ assembly in
internet explorer.
When I create an equivalent user control in c#, it displays just fine.
Before I get into specifics, is it possible to do the same with a c++ user
control or is this another example of c++ being a second class citizen in
..NET?
..NET 1.1
IIS 5.1
IE 6.0
Thanks,
George Economos 6 1900
Given the right security context, given that you have no unmanaged
dependencies or that they have already been deployed correctly, this should
work. What are you seeing?
Ronald Laeremans
Visual C++ team
"George Economos" <no****@hatespa mmers.com> wrote in message
news:OW******** *****@TK2MSFTNG P10.phx.gbl... I am trying to display a user control contained within an c++ assembly in internet explorer.
When I create an equivalent user control in c#, it displays just fine.
Before I get into specifics, is it possible to do the same with a c++ user control or is this another example of c++ being a second class citizen in .NET?
.NET 1.1 IIS 5.1 IE 6.0
Thanks, George Economos
On the web page I see a rectangle where the control should be. I am figuring
it is a security issue because I get the same rectangle in the equivalent c#
user control if I override the wndproc method (this I understand is an
security issue).
The control does not call any unmanaged code, nor have a linked in any other
libraries that aren't included by default.
I also have not configured any security policies on my local machine. I am
assuming then the control is running in the context of the AppDomain that ie
creates for the control. (I'm not 100% sure of this point) However, like I
said, an equivalent c# user control loads fine.
I should add that I am trying to load the control from the intranet.
All this brings up an issue for me anyway. In the end my c++ control will
end up calling unmanaged code. I need to use DirectShow to display some
video streams and WMP will not suffice.
What would be the best way to deploy this control that is simplest for the
end user ( certificates, policies )? I'm not sure if this is in your
department or not. I know its not in mine!
George Economos
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message
news:%2******** **********@TK2M SFTNGP11.phx.gb l... Given the right security context, given that you have no unmanaged dependencies or that they have already been deployed correctly, this
should work. What are you seeing?
Ronald Laeremans Visual C++ team
"George Economos" <no****@hatespa mmers.com> wrote in message news:OW******** *****@TK2MSFTNG P10.phx.gbl...I am trying to display a user control contained within an c++ assembly in internet explorer.
When I create an equivalent user control in c#, it displays just fine.
Before I get into specifics, is it possible to do the same with a c++
user control or is this another example of c++ being a second class citizen
in .NET?
.NET 1.1 IIS 5.1 IE 6.0
Thanks, George Economos
Hi George,
I am asking someone on the team responsible for hosting the controls in the
browser about what the security configuration issues are.
Ronald
"George Economos" <no****@hatespa mmers.com> wrote in message
news:uG******** ******@TK2MSFTN GP09.phx.gbl... On the web page I see a rectangle where the control should be. I am figuring it is a security issue because I get the same rectangle in the equivalent c# user control if I override the wndproc method (this I understand is an security issue).
The control does not call any unmanaged code, nor have a linked in any other libraries that aren't included by default.
I also have not configured any security policies on my local machine. I am assuming then the control is running in the context of the AppDomain that ie creates for the control. (I'm not 100% sure of this point) However, like I said, an equivalent c# user control loads fine.
I should add that I am trying to load the control from the intranet.
All this brings up an issue for me anyway. In the end my c++ control will end up calling unmanaged code. I need to use DirectShow to display some video streams and WMP will not suffice.
What would be the best way to deploy this control that is simplest for the end user ( certificates, policies )? I'm not sure if this is in your department or not. I know its not in mine!
George Economos
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message news:%2******** **********@TK2M SFTNGP11.phx.gb l... Given the right security context, given that you have no unmanaged dependencies or that they have already been deployed correctly, this should work. What are you seeing?
Ronald Laeremans Visual C++ team
"George Economos" <no****@hatespa mmers.com> wrote in message news:OW******** *****@TK2MSFTNG P10.phx.gbl... >I am trying to display a user control contained within an c++ assembly >in > internet explorer. > > When I create an equivalent user control in c#, it displays just fine. > > Before I get into specifics, is it possible to do the same with a c++ user > control or is this another example of c++ being a second class citizen in > .NET? > > .NET 1.1 > IIS 5.1 > IE 6.0 > > Thanks, > George Economos > >
Thanks.
George Economos
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message
news:uK******** ******@TK2MSFTN GP11.phx.gbl... Hi George,
I am asking someone on the team responsible for hosting the controls in
the browser about what the security configuration issues are.
Ronald
"George Economos" <no****@hatespa mmers.com> wrote in message news:uG******** ******@TK2MSFTN GP09.phx.gbl... On the web page I see a rectangle where the control should be. I am figuring it is a security issue because I get the same rectangle in the
equivalent c# user control if I override the wndproc method (this I understand is an security issue).
The control does not call any unmanaged code, nor have a linked in any other libraries that aren't included by default.
I also have not configured any security policies on my local machine. I
am assuming then the control is running in the context of the AppDomain
that ie creates for the control. (I'm not 100% sure of this point) However,
like I said, an equivalent c# user control loads fine.
I should add that I am trying to load the control from the intranet.
All this brings up an issue for me anyway. In the end my c++ control
will end up calling unmanaged code. I need to use DirectShow to display some video streams and WMP will not suffice.
What would be the best way to deploy this control that is simplest for
the end user ( certificates, policies )? I'm not sure if this is in your department or not. I know its not in mine!
George Economos
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in
message news:%2******** **********@TK2M SFTNGP11.phx.gb l... Given the right security context, given that you have no unmanaged dependencies or that they have already been deployed correctly, this should work. What are you seeing?
Ronald Laeremans Visual C++ team
"George Economos" <no****@hatespa mmers.com> wrote in message news:OW******** *****@TK2MSFTNG P10.phx.gbl... >I am trying to display a user control contained within an c++ assembly >in > internet explorer. > > When I create an equivalent user control in c#, it displays just
fine. > > Before I get into specifics, is it possible to do the same with a c++ user > control or is this another example of c++ being a second class
citizen in > .NET? > > .NET 1.1 > IIS 5.1 > IE 6.0 > > Thanks, > George Economos > >
Hi George,
The answer I got (very succinct because we are hard at work trying to get
Beta 1 of Whidbey out of the door) is that you will need to deploy security
policy to the client and that searching our docs with these keywords should
lead you to a decent explanation.
I did get a direct contact responsible for this area, so let me know if you
can't find the documentation or have found it but are still having problems.
Thanks.
Ronald
"George Economos" <no****@hatespa mmers.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Thanks.
George Economos
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message news:uK******** ******@TK2MSFTN GP11.phx.gbl... Hi George,
I am asking someone on the team responsible for hosting the controls in the browser about what the security configuration issues are.
Ronald
"George Economos" <no****@hatespa mmers.com> wrote in message news:uG******** ******@TK2MSFTN GP09.phx.gbl... > On the web page I see a rectangle where the control should be. I am > figuring > it is a security issue because I get the same rectangle in the equivalent > c# > user control if I override the wndproc method (this I understand is an > security issue). > > The control does not call any unmanaged code, nor have a linked in any > other > libraries that aren't included by default. > > I also have not configured any security policies on my local machine. I am > assuming then the control is running in the context of the AppDomain that > ie > creates for the control. (I'm not 100% sure of this point) However, like > I > said, an equivalent c# user control loads fine. > > I should add that I am trying to load the control from the intranet. > > All this brings up an issue for me anyway. In the end my c++ control will > end up calling unmanaged code. I need to use DirectShow to display some > video streams and WMP will not suffice. > > What would be the best way to deploy this control that is simplest for the > end user ( certificates, policies )? I'm not sure if this is in your > department or not. I know its not in mine! > > George Economos > > > "Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message > news:%2******** **********@TK2M SFTNGP11.phx.gb l... >> Given the right security context, given that you have no unmanaged >> dependencies or that they have already been deployed correctly, this > should >> work. What are you seeing? >> >> Ronald Laeremans >> Visual C++ team >> >> "George Economos" <no****@hatespa mmers.com> wrote in message >> news:OW******** *****@TK2MSFTNG P10.phx.gbl... >> >I am trying to display a user control contained within an c++ >> >assembly >> >in >> > internet explorer. >> > >> > When I create an equivalent user control in c#, it displays just fine. >> > >> > Before I get into specifics, is it possible to do the same with a >> > c++ > user >> > control or is this another example of c++ being a second class citizen > in >> > .NET? >> > >> > .NET 1.1 >> > IIS 5.1 >> > IE 6.0 >> > >> > Thanks, >> > George Economos >> > >> > >> >> > >
I have read and reread the documentation. I have checked the permissions
using the configuration wizard. Even though is says my assembly has
"unrestrict ed" access I am still encountering problems. Maybe it is time
that I try that contact of yours...
Thanks,
George Economos
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message
news:OO******** ******@TK2MSFTN GP10.phx.gbl... Hi George,
The answer I got (very succinct because we are hard at work trying to get Beta 1 of Whidbey out of the door) is that you will need to deploy
security policy to the client and that searching our docs with these keywords
should lead you to a decent explanation.
I did get a direct contact responsible for this area, so let me know if
you can't find the documentation or have found it but are still having
problems. Thanks.
Ronald
"George Economos" <no****@hatespa mmers.com> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. Thanks.
George Economos
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in
message news:uK******** ******@TK2MSFTN GP11.phx.gbl... Hi George,
I am asking someone on the team responsible for hosting the controls in the browser about what the security configuration issues are.
Ronald
"George Economos" <no****@hatespa mmers.com> wrote in message news:uG******** ******@TK2MSFTN GP09.phx.gbl... > On the web page I see a rectangle where the control should be. I am > figuring > it is a security issue because I get the same rectangle in the equivalent > c# > user control if I override the wndproc method (this I understand is
an > security issue). > > The control does not call any unmanaged code, nor have a linked in
any > other > libraries that aren't included by default. > > I also have not configured any security policies on my local machine.
I am > assuming then the control is running in the context of the AppDomain that > ie > creates for the control. (I'm not 100% sure of this point) However, like > I > said, an equivalent c# user control loads fine. > > I should add that I am trying to load the control from the intranet. > > All this brings up an issue for me anyway. In the end my c++ control will > end up calling unmanaged code. I need to use DirectShow to display
some > video streams and WMP will not suffice. > > What would be the best way to deploy this control that is simplest
for the > end user ( certificates, policies )? I'm not sure if this is in your > department or not. I know its not in mine! > > George Economos > > > "Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message > news:%2******** **********@TK2M SFTNGP11.phx.gb l... >> Given the right security context, given that you have no unmanaged >> dependencies or that they have already been deployed correctly, this > should >> work. What are you seeing? >> >> Ronald Laeremans >> Visual C++ team >> >> "George Economos" <no****@hatespa mmers.com> wrote in message >> news:OW******** *****@TK2MSFTNG P10.phx.gbl... >> >I am trying to display a user control contained within an c++ >> >assembly >> >in >> > internet explorer. >> > >> > When I create an equivalent user control in c#, it displays just fine. >> > >> > Before I get into specifics, is it possible to do the same with a >> > c++ > user >> > control or is this another example of c++ being a second class citizen > in >> > .NET? >> > >> > .NET 1.1 >> > IIS 5.1 >> > IE 6.0 >> > >> > Thanks, >> > George Economos >> > >> > >> >> > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tim::.. |
last post by:
Can someone please help....
I'm having major issues with a user control I'm tring to create!
I an trying to execute a sub called UploadData() from a user control which I
managed to do but for some reason I keep getting the error:
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
|
by: Tim::.. |
last post by:
Can someone please help....
I'm having major issues with a user control I'm tring to create!
I an trying to execute a sub called UploadData() from a user control which I
managed to do but for some reason I keep getting the error:
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
|
by: Tim::.. |
last post by:
Can someone please help....
I'm having major issues with a user control I'm tring to create!
I an trying to execute a sub called UploadData() from a user control which I
managed to do but for some reason I keep getting the error:
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
|
by: Tim::.. |
last post by:
Can someone please help....
I'm having major issues with a user control I'm tring to create!
I an trying to execute a sub called UploadData() from a user control which I
managed to do but for some reason I keep getting the error:
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
|
by: guoqi zheng |
last post by:
In a regular html form, when user press "enter" key, the form will be
submitted.
However, in ASP.NET web form, a form will only be submitted (post back) when
a special button is clicked. Many user get used to click "enter" key to
submit a form. How can I use "enter" key to submit/postback in ASP.NET.
Thank,
Guoqi Zheng
| |
by: McGeeky |
last post by:
Is there a way to get a user control to remember its state across pages? I
have a standard page layout I use with a header and footer as user controls.
Each page uses the same layout by means of copy paste (I hear this will
improve in ASP.Net 2 via master pages).
When I navigate from one page to the next the header and footer user
controls lose their state because they are effectively different instances
of the user control.
Is there...
|
by: Segfahlt |
last post by:
I need a little help here please.
I have 2 win forms user controls in 2 different projects that I'm hosting in
2 different virtual directories. The controls have been test and operate okay
in both projects.
Both controls(dlls) have been signed using SN.exe and I've set up the
appropriate .Net assembly permissions using those Strong Names
The DLL's have been copied to the /bin directory in both web virtual
directories.
|
by: tshad |
last post by:
User VS 2003, I would like to use User Controls to control the page look
with 3 User Controls (...PageTop.ascx, ...NavigateTop.ascx and
PageBottom.ascx). I would put the Content User control between the
NavigateTop and PageBottom User controls.
These files be something like: sdhcPageTop.ascx, ft2PageTop.ascx,
sbPageTop.ascx, macPageTop.ascx etc. I would have the same files for the
NavigateTop.ascx and PageBottom.asc.
The ones that...
|
by: Christian Cambier |
last post by:
Hi,
I have a textbox in a web user control.
I then add the usercontrol to a web form. I also add a label in the
web form.
Now, when I press a key in the textbox, i want to display some text in
the label.
I tried by raising events as used in Winforms but it is not as easy as
|
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...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |