i use VStudio 6.0
Type: Posts; User: nurulhafiz
i use VStudio 6.0
How do we write library (.lib) in C? can anybody teach me how to do this?
no..it just detect it as card reader.
if we want to read, write or other transaction to the card we have to send APDU command to that reader like writing to a port in case if we're using a serial...
for the API and VB application i will use VStudio 6.0.
yes after installing the driver XP automatically recognise it coz it is pc/sc reader..
i have managed to write the application on the card using smartdeck C.
now my task is write the Win32 API in C++ dll/C lib which will construct all the APDUs that are going to be send to the card....
-pc os win xp, card os multos
-smartdeck c compiler
-yes the card will be slot into the reader
-reader via usb/serial
and one more thing, i will be using 2 reader that is for authentication...
where can i get reference?or sample code? plus i don't know how to connect to the card.
i usually do the back end programming like handling the APDUs in the card.so i'm new in the front end side.thats why i'm searching for tutorial.so i think just assume that i know what APDUs but don't...
are there any library or tutorial on how to send APDU command to smart card using C?
ok thnx..i'll try it..
sorry if my question sound stupid..^_^
but can i copy directly using memcpy()
unsigned char check_sum[4];
unsigned long sum;
thnx again Salem
i have a 4byte unsigned char that contain "7b13059c" hex format. this is a part from a 6byte unsigned char data "99887b13059c" which is the checksum for the 2byte "9988" data.
after i generate a...
ooo..it works..thnx alot Salem..i didn't understand what u mean back then..i forgot that when ever we want to send address we should include the '&' infront of the var name..thnx again..about the...
when i compiled it, i got an error like this one:
enc1.c(157): error E8002: user type check error: found 'unsigned long', expected 'unsigned long *'
and when i convert the unsigned long sum; to...
it is for embedded smart card system..
i'm using smartdeck c compiler..
well i did some mistake at the declaration part but i have correct it this is te example for the declaration :
...
is this it?
/* SmartDeck arbitrary sized number support.
Copyright (c) 2001 Aspects Software Ltd.
*/
#ifndef __multosarith_H
#define __multosarith_H
so can u help me with the error?
oooo..ok..i'll try..
the prototype is like this
CHECKSUM(SIZE, BLOCK, SUM)
i have include the multosarith.h
the line where the error occur is like this:
CHECKSUM(CLkeysat -1, apdu_group1.keyin, apdu_group1.S);
CLkeysat-1 = length of block to be checksum
apdu_group1.keyin = pointer to the block...
i'm writing an application for smart card and when i compiled the program i got this error message:
enc1.c(147): error E8000: arguments to _code can only be locals, arguments, globals, or integer...