Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2004

Tip: Looking for answers? Try searching our database.

c++ user control in ie browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George Economos - 16 Jun 2004 18:44 GMT
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
Ronald Laeremans [MSFT] - 16 Jun 2004 21:33 GMT
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

>I am trying to display a user control contained within an c++ assembly in
> internet explorer.
[quoted text clipped - 11 lines]
> Thanks,
> George Economos
George Economos - 17 Jun 2004 14:48 GMT
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

> Given the right security context, given that you have no unmanaged
> dependencies or that they have already been deployed correctly, this should
[quoted text clipped - 18 lines]
> > Thanks,
> > George Economos
Ronald Laeremans [MSFT] - 18 Jun 2004 18:55 GMT
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

> On the web page I see a rectangle where the control should be. I am
> figuring
[quoted text clipped - 52 lines]
>> > Thanks,
>> > George Economos
George Economos - 18 Jun 2004 19:44 GMT
Thanks.

George Economos

> Hi George,
>
[quoted text clipped - 59 lines]
> >> > Thanks,
> >> > George Economos
Ronald Laeremans [MSFT] - 21 Jun 2004 18:15 GMT
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

> Thanks.
>
[quoted text clipped - 77 lines]
>> >> > Thanks,
>> >> > George Economos
George Economos - 22 Jun 2004 21:33 GMT
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

> Hi George,
>
[quoted text clipped - 91 lines]
> >> >> > Thanks,
> >> >> > George Economos

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.