Karsten,
I altered the libmuscle makefile so that muscletest.c was made too.
Though, I commented 3 lines on it´s code because I could not find a
definition for:
SCARD_F_WAITED_TOO_MSCLong32
in
case SCARD_F_WAITED_TOO_MSCLong32:
strlcpy(strError, "Waited too long.", sizeof(strError));
break;
After re-compiling muscletest with the code you have just updated (T=1
protocol), I still receive the same error:
EstablishConn returns : Internal Error
After re-compiling all libmuscle and MCardPlugin with fresh files. I tried
muscleTool again, but I still receive the EstablishConnection failure.
Current card I´m trying has been formated. It´s a JavaCard from AXALTO
(CyberFlex 64k).
The install.w32 could mention MCARDPLUGIN_DEBUG=1 makefile option.
Also, I think it does not mention about copying the include files.
copy libmusclecard\src\PCSC\*.* "C:\Program Files\Muscle\Includes" /s
In one specific makefile, the required include files were not separated as
PCSC_INC and MUSCLECARD_INC, so I had to join them:
copy "C:\Program Files\Muscle\Includes\win32\PCSC*.h" "C:\Program
Files\Muscle\Includes"
For BundleTool to work, I also had to copy some MCardPlugin files:
copy MCardPlugin\src\mscMuscleCard.bundle\Contents\*.* "C:\Program
Files\Muscle\Services\mscMuscleCard.bundle\Contents" /s
Which is not mentioned in install.w32 from MCardApplet:
4. Copy the mscMuscleCard library from the Release or Debug
directory to
the location
C:\Program
Files\Muscle\Services\mscMuscleCard.bundle\Contents\Win32.
5. Insert the ATR of you card in the file
C:\Program Files\Muscle\Services\mscMuscleCard.bundle\Contents\
after <key>spAtrValue</key>. You can also use the program
bundleTool
included in
libmusclecard to do this.
I did not have to copy msvcrt.dll into the lib dir of Win 2003 Platform SDK.
Probably the VS Studio 2003 lib was used. It could be found at:
C:\Program Files\Microsoft Platform SDK\Lib\AMD64\msvcrt.lib
C:\Program Files\Microsoft Platform SDK\Lib\IA64\msvcrt.lib
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib
Yes, I´m asking David and Identify Alliance about the source, what would be
usefull in fact.
Also, I have received an email from other company who made CSPs with card
drivers for cards which are common in our marked.
Thanks
--------------
Murilo Perrone
CertiSign
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle