using a dll to read an smart card
-
hello every body i have some dlls writen to communicate with a smart card reader. there is a problem when i want to add this dlls as a refrence to vb.net. but with vb6 it could be imported an i saw there functions.unfortunately when i call this functions an error pups up "there is no entery point" i tried to use dllexport app to read out some data about it. Function Name : DllCanUnloadNow Filename : SmartRD.dll Type : Exported Function ================================================== Function Name : DllGetClassObject Type : Exported Function ================================================== Function Name : DllRegisterServer Type : Exported Function ================================================== Function Name : IAcs38RD::SCConnect Type : COM Method ================================================== Function Name : IAcs38RD::SCDisconnect Type : COM Method ================================================== as you see some functions are exported functions an some com objects.what should i do to define an entery point for using this functions? thanks
-
hello every body i have some dlls writen to communicate with a smart card reader. there is a problem when i want to add this dlls as a refrence to vb.net. but with vb6 it could be imported an i saw there functions.unfortunately when i call this functions an error pups up "there is no entery point" i tried to use dllexport app to read out some data about it. Function Name : DllCanUnloadNow Filename : SmartRD.dll Type : Exported Function ================================================== Function Name : DllGetClassObject Type : Exported Function ================================================== Function Name : DllRegisterServer Type : Exported Function ================================================== Function Name : IAcs38RD::SCConnect Type : COM Method ================================================== Function Name : IAcs38RD::SCDisconnect Type : COM Method ================================================== as you see some functions are exported functions an some com objects.what should i do to define an entery point for using this functions? thanks
I found the solution. sometimes some dlls can not be added as a refrence in a .net language but for another is possible.suppose we have a dll that written in vb6.its possible to add it as a refrence in c#.net but there is no way to add it in vb.net. the solution is that we add dll as a refrence in C#,define a class to determine first dll functions,subs and arguments. now we have a exported dll that is useable in any .net language. I can read from smart card but it seems strings was combined with some salt.how can i pull out the pure string from a solution?
-
hello every body i have some dlls writen to communicate with a smart card reader. there is a problem when i want to add this dlls as a refrence to vb.net. but with vb6 it could be imported an i saw there functions.unfortunately when i call this functions an error pups up "there is no entery point" i tried to use dllexport app to read out some data about it. Function Name : DllCanUnloadNow Filename : SmartRD.dll Type : Exported Function ================================================== Function Name : DllGetClassObject Type : Exported Function ================================================== Function Name : DllRegisterServer Type : Exported Function ================================================== Function Name : IAcs38RD::SCConnect Type : COM Method ================================================== Function Name : IAcs38RD::SCDisconnect Type : COM Method ================================================== as you see some functions are exported functions an some com objects.what should i do to define an entery point for using this functions? thanks
You may need to create and use a system driver, since you are trying to access hardware. Just throwing out a suggestion, that you may need to do.
Simple Thanks and Regards, Brandon T. H. Programming in C and C++ now, now developing applications, services and drivers (and maybe some kernel modules...psst kernel-mode drivers...psst). Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison