Stef, You might try editing the OCFPCSC wrapper code and do a grep for SCardListReaders. Make sure that the first call sends a NULL for mszReaders and passes the dwReadersLength correctly. Set it to zero the first time you call it.
The function should then return the actual size of the reader list. Then it is called again with dwReadersLength the correct size and mszReaders allocated instead of NULL. If this is a problem, it should be pretty easy to fix .... Dave _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
