c++ user control in ie browser

  • Thread starter Thread starter George Economos
  • Start date Start date
G

George Economos

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
 
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
 
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
 
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
 
Thanks.

George Economos

Ronald Laeremans said:
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
 
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
 
I have read and reread the documentation. I have checked the permissions
using the configuration wizard. Even though is says my assembly has
"unrestricted" access I am still encountering problems. Maybe it is time
that I try that contact of yours...

Thanks,
George Economos
 
Back
Top