Home > Archive > C# > November 2004 > Calling user control from VBScript (managed and un-managed)
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Calling user control from VBScript (managed and un-managed)
|
|
| b.bardugo 2004-11-16, 6:54 pm |
| 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
| |
| Joel Martinez 2004-11-16, 6:54 pm |
| 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
b.bardugo@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
|
|
|
|
|