luca morelli

hi, i'm trying to create an internet explorer applet like in managed c++ in .net 1.1. i read that this may be achieved creating a user control and linking it inside the html page. I tried this from csharp and seems to work fine enough, but if i follow the same steps creating an empty c++ user control and try to open the applet i see only a rectangle. I think this is some kind of security issue, may be due to the fact that the c++ applet try to link to system libraries, because the same procedure works with csharp. I tried to create a user control in csharp and move some of the code in a c++ assembly that i linked to the csharp control, but when i try only to declare some of the type are in the c++ assembly, an exception is reaised telling that the assembly is not present or have not granted enough permissions to be executed.
I tried to link both the assembly with ilmerge to check if the problem is the assembly is not downloaded, but nothing changes.

Can you help me

best regards,

Luca Morelli



Re: Visual C++ General problems creating c++ browser applet

Damien Watkins - MSFT

Hello

Without seeing the code this is a little guesswork but your thoughts that it could be security related may be correct. Developing and using web controls requires that you only use verifiable IL in certain scenarios. This you get by default in C# (you have to say when you want to be unsafe) whereas developing in C++ you may incorporate ˇ°unsafeˇ± code. Did you ever resolve this issue

Thanks

Damien






Re: Visual C++ General problems creating c++ browser applet

Damien Watkins - MSFT

Hello

Re: problems creating c++ browser applet

I am going to mark this thread as answered since you have not followed up with any further information on your problem as requested - I assume you solved the problem yourself or one of the suggestions in this thread helped you solved the problem. If you have a solution you could post it so others can find it. If you do not have a solution then please submit further details and then mark the thread as unanswered.

Thanks

Damien






Re: Visual C++ General problems creating c++ browser applet

Damien Watkins - MSFT

Hello

Re: problems creating c++ browser applet

I am going to mark this thread as answered since you have not followed up with any further information on your problem as requested - I assume you solved the problem yourself or one of the suggestions in this thread helped you solved the problem. If you have a solution you could post it so others can find it. If you do not have a solution then please submit further details and then mark the thread as unanswered.

Thanks

Damien