Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

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

Report this thread to moderator Post Follow-up to this message
Old Post
b.bardugo
11-16-04 11:54 PM


Re: Calling user control from VBScript (managed and un-managed)
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.g
oogle.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

Report this thread to moderator Post Follow-up to this message
Old Post
Joel Martinez
11-16-04 11:54 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

C# archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:12 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.