插件测试

#include "stdafx.h"
#include <stdio.h>
#include "lkcdll.h"

int _tmain(int argc, _TCHAR* argv[])
{
	char szBuf[100] = {0};
	char *pErr;
	int nn = DLLLKCGetExpirationDate("KSFTBANKPROXY");
	int n = DLLLKCGetItem("KSFTBANKPROXY","ICBC",szBuf,100,"");
	if(n <= 0)
	{
		pErr = DLLLKCGetLastErrorMessage();
		printf("%s",pErr);
	}
	else
	{
		printf("%s",szBuf);
	}
	return 0;
}

posted on 2011-07-29 13:25  yuewuzhang  阅读(151)  评论(0编辑  收藏  举报

导航