DllManagerout.cpp
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:1k
- #include "stdafx.h"
- #include "windows.h"
- #define MYLIBAPI extern "C" __declspec(dllexport)
- #include "DllManager.h"
- extern DllManager ChLib;//定义在主DLL中
- MYLIBAPI BOOL insertNewWord(char *En,char *chi)
- {
-
- return ChLib.insertNewWord(En,chi);
- }
- MYLIBAPI BOOL ChissToCodeC(char *MainCodeLibName,char *chiss,char *codess)
- {
- return ChLib.ChissToCodeC(MainCodeLibName,chiss,codess);
- }
- MYLIBAPI BOOL DLLstart(int update)
- {
- return ChLib.DLLstart(update);
- }
- MYLIBAPI BOOL keyprogress(int wparam,char*ss,char *SendENbuf, char* SendCH,char *Midtems,char* Control) //int wparam
- {
- return ChLib.keyprogress(wparam,ss,SendENbuf, SendCH,Midtems, Control);
- }
- MYLIBAPI BOOL getnextpage(char *Midtems,int torword)
- {
- return ChLib.getnextpage(Midtems,torword);
- }
- MYLIBAPI BOOL myclearbuf()
- {
- return ChLib.myclearbuf();
- }
- ///////////////////////////////////////////////////
- MYLIBAPI BOOL creatNotest(char *CodeSource,char *userdefine,char *ExCodeSource,char *Code,long base, long goldeNum, long goldeLen)
- {
- return ChLib.creatNotest(CodeSource,userdefine,ExCodeSource,Code, base, goldeNum, goldeLen);
- }
- MYLIBAPI BOOL creat (char *CodeSource,char *userdefine,char *ExCodeSource,char *Code,long base, long goldeNum, long goldeLen)
- {
- return ChLib.creat(CodeSource,userdefine,ExCodeSource,Code,base, goldeNum, goldeLen);
- }