Home All Groups Group Topic Archive Search About

Calling user control from VBScript (managed and un-managed)

Author
16 Nov 2004 12:58 PM
b.bardugo
Hi all,
I have a C# user control (a little app I made to display video). In
this code I am using a third party .dll, which is written in C++
(un-managed). I am tring to put this control on a web page and somehow
the managed code is working OK but when it arrives the part of the
code where it is calling the un-managed .dll it gets an exception (it
can't find the dll).
Is it a security problem? if it is what do I do to solve it?
Is it a code problem should I write something special for that?

10x in advance
Bardugo

Author
16 Nov 2004 8:44 PM
Joel Martinez
I'm pretty sure that the framework will only download managed
assemblies.  If you're trying to use unmanaged code, the dll will have
to exist on the client's machine (let alone getting the code access
security to allow something like that).

unfortunately, I don't have more info than that ... if someone else
has a more complete story I'd love to get the details.

Hope that helps,
Joel Martinez
Orlando .NET User Group
http://www.onetug.org
http://www.codecube.net

Show quote
b.bard***@gmail.com (b.bardugo) wrote in message news:<7cfe031.0411160458.6d995c4@posting.google.com>...
> Hi all,
> I have a C# user control (a little app I made to display video). In
> this code I am using a third party .dll, which is written in C++
> (un-managed). I am tring to put this control on a web page and somehow
> the managed code is working OK but when it arrives the part of the
> code where it is calling the un-managed .dll it gets an exception (it
> can't find the dll).
> Is it a security problem? if it is what do I do to solve it?
> Is it a code problem should I write something special for that?
>
> 10x in advance
> Bardugo

AddThis Social Bookmark Button