Sign in to follow this  
Followers 0

3 posts in this topic

Posted

If I call a method from dll like this, does the C# DLL work or does it need to be a ActiveX DLL?
[CODE]
var ObjFromDll = new ActiveXObject("DllRegisteredName");

var anyResult = ObjFromDll.MyMethod()
[/CODE]

Share this post


Link to post
Share on other sites

Posted

C# can be used to create ActiveX dlls, but if it's just a "plain" .NET assembly, then you certainly can't call it like that.

Share this post


Link to post
Share on other sites

Posted

Yay, I got it working. JavaScript HTML now access to the com dll. It has one problem though, every time I ran it, it gives a security warning on IE or WMC that ActiveX-component might not be safe. How do I mark my dll object safe in? I found some examples but none on C#.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.