Ill contribute my musclecard lib build changes once I've harmonised it with the official win32
build tools, next week.
22a23
#ifndef WIN3223a25,26
24a28#endif #ifdef HAVE_DIRENT_H
#endif
28c32,35 < #include <wintypes.h> ---
36a44,55#include "wintypes.h" #ifdef SCARD_MS #include "win32_pcsclite.h" #endif
#ifndef WIN3257a77
#ifndef MSC_SVC_DROPDIR
#define MSC_SVC_DROPDIR "/usr/local/pcsc/services"
#endif
#else
#ifdef MSC_SVC_DROPDIR
#undef MSC_SVC_DROPDIR
#endif
#define MSC_SVC_DROPDIR "C:\\Program Files\\Muscle\\Services"
#endif
#ifndef WIN3259a80,85
#else
HANDLE hFind;
WIN32_FIND_DATA findData;
char findPath[200];
int find;
#endif
73a100
#ifndef WIN32
75d101 < 77a104,113
#else sprintf(findPath, "%s\\*.bundle", BUNDLE_DIR); hFind = FindFirstFile(findPath, &findData);
if (hFind == INVALID_HANDLE_VALUE)
{
printf("Cannot open PC/SC token drivers directory: %s", findPath);
return -1;
}
#endif
84c120 < ---
#ifndef WIN3289a126,132
#else
do
{
if (strstr(findData.cFileName, ".bundle") != 0)
{
printf(" %d. %s\n", i++, findData.cFileName);
#endif
92a136,140
#ifdef WIN32 /* This is part of a Do..While loop (see above) */ while (FindNextFile(hFind, &findData) != 0); #endif
108c156,158 < closedir(bundleDir); ---
#ifndef WIN32
closedir(bundleDir);
#endif
109a160
#ifndef WIN32111a163,173
114a177#else sprintf(findPath, "%s\\*.bundle", BUNDLE_DIR); hFind = FindFirstFile(findPath, &findData);
if (hFind == INVALID_HANDLE_VALUE)
{
printf("Cannot open PC/SC token drivers directory: %s", findPath);
return -1;
} else
find = 1;
#endif
#ifndef WIN32117a181,185
#else
if (find)
{
if (strstr(findData.cFileName, ".bundle") != 0)
#endif
121a190,193
#ifdef WIN32
if(userChoice)
find = (FindNextFile(hFind, &findData) != 0);
#endif
124a197,198
131a206,209
#ifndef WIN32
#else132a211
sprintf(chosenInfoPlist, "%s\\%s\\Contents\\Info.plist", BUNDLE_DIR,
findData.cFileName);
#endif
#ifndef WIN32133a213
#endif
_________________________________________________________________
Concerned that messages may bounce because your Hotmail account has exceeded its 2MB storage limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es
_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
