By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,089 Members | 2,069 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,089 IT Pros & Developers. It's quick & easy.

How to Load the dll into javascript?

P: 2
Hello Team,

I want to load a dll functions into script javascript for digital signature verification.
I have tried this using CAPICOM dll and it woks well.
I have a custom DLL which has got the functions which can be used for digital signature creation/verification.

For this i m referring to a vb projects(.bas )in which there are certain functions are called like
SetErrorMode and LoadLibrary ..
thses functions are from dll kernel32.dll i want to call the same functions into my javascript

My first doubt is can we load the dll (kernel32 or so) into javascript embeded within an html page.
and make use of its routine?

The functions in my vb projects are something like

Expand|Select|Wrap|Line Numbers
  2.   hInst = LoadLibrary(DllName$)
  3.   OriginalErrorValue = SetErrorMode(OriginalErrorValue)
Jan 11 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
You could probably do this via an ActiveX object, but it would only work in IE.

Is this for a web application or are you using it locally?
Jan 11 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.