If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Aladdin Etoken Pro
OS : Windows XP Professional
Environment : MS Visual Studio 2005 Language : C# Hi, I am trying to write a windows application using C# that accesses the Aladdin Etoken Pro USB device. (www.aladdin.com) I am using [DllImport("eToken.dll")] to import functions but i am not sure about the following things : 1, Can i just only import 1 function at a time ? 2, What happens when the unmanaged function in the dll that i am importing has data types that do not exist in the class under C# ? Do i use the MarshallbyAttribute function or how does it work ? 3, Does someone have a c# sample about importing unmanaged functions via dll ? Any help welcome ! I spend my whole day on this so i want to get going. Seems like that there aren't a lot of people out there whom want to program the etoken in C#. Zoltan. |
Ads |
Thread Tools | |
Display Modes | |
|
|