• 0

JavaScript Calling Method From DLL


Question

If I call a method from dll like this, does the C# DLL work or does it need to be a ActiveX DLL?


var ObjFromDll = new ActiveXObject("DllRegisteredName");

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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#.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.