|
Hello Team,
I want to load a dll functions into script (both vbscript and 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 vbscript and javascript
My first doubt is can we load the dll (kernel32 or so) into vbscript and javascript embeded within an html page.
and make use of its routine?
Or it is possible only into vbscript and not in javascript??
The functions in my vb projects are something like
OriginalErrorValue = SetErrorMode(SEM_NOOPENFILEERRORBOX Or SEM_FAILCRITICALERRORS)
hInst = LoadLibrary(DllName$)
OriginalErrorValue = SetErrorMode(OriginalErrorValue)
|