#include <stdio.h> #include <iostream> #include "winplatform.h" #include <windef.h> #include "pkcs11.h" #include "basetsd.h"
#include "DKP12Api.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // CLogin.h : header file // int main(){ printf("hello\n"); CK_RV rtn; CK_SLOT_ID_PTR pSlotList = 0; CK_VERSION version; ULONG Count = 20; CK_SLOT_ID slot; pSlotList = new CK_SLOT_ID[20]; rtn = C_Initialize(0); } This message posted from opensolaris.org