I have tried to use you dll in Visual Basic 2008:
Imports Cryptware.NCryptoki
'This is the line I write in a button
Dim Crypto as New Cryptoki("aetpkss1.dll")
I get an error "Object reference not stablished as object Instance"
The dll name is correct because it works in Visual Basic 6.
In Solutions Explorer I have stablished the Reference to NCryptoki.dll
What´s wrong?
Thank you very much in advanced.
Hi fcifera,
you have to add a reference to NCryptokiMngd.dll too, unless you register it in the global assemlby cache with gacutil.
Regards,
Ugo Chirico http://www.ugosweb.com
Thank you very much, Ugo.