|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Calling user control from VBScript (managed and un-managed)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 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
Other interesting topics
Article : Soapsuds.exe (.Net Framework tools series)
UIP, how to combine the wizard + userControls navigator Article : Security Tools Part -- 2 (.Net FrameWork Tools Series) Article: What is Isolated Storage ? (.Net FrameWork Tools Series) Article : Security Tools Part -- 1 (.Net FrameWork Tools Series) |
|||||||||||||||||||||||