0

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.

To Load the functions from my custom DLL i need to use functions from kernel32.dll .The funcions are SetErrorMode and LoadLibrary.
I want to call these 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 i want to use are someting like

OriginalErrorValue = SetErrorMode(SEM_NOOPENFILEERRORBOX Or SEM_FAILCRITICALERRORS)
hInst = LoadLibrary("occlient.dll")
OriginalErrorValue = SetErrorMode(OriginalErrorValue)


Regards,
Sunita.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by arunp_eagle
0

hi!
am a cpp programmer..
iam writing a sample application in javascript..
for which i need to load a dll writteen in cpp..
can anyone pls guide me in how to load a library in javascript!


thanks,
Arun P.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.