Commit 3115db20 by 李定达

1.统一spn和res导出函数

parent 672d92cc
...@@ -2,3 +2,4 @@ Debug/ ...@@ -2,3 +2,4 @@ Debug/
Release/ Release/
*.ipch *.ipch
*.sdf *.sdf
*.opensdf
...@@ -111,19 +111,19 @@ void DoCopyFile(const char *dir) ...@@ -111,19 +111,19 @@ void DoCopyFile(const char *dir)
extern "C"{ extern "C"{
// __declspec(dllexport) int _stdcall GetValue(char *indata, char *outdata) __declspec(dllexport) int _stdcall GetValue(char *indata, char *outdata)
//{ {
// HMODULE hMod = GetInstance(); HMODULE hMod = GetInstance();
// if (hMod) { if (hMod) {
// PFN_GETVALUE pfn_GetValue = (PFN_GETVALUE)GetProcAddress(hMod, "_GetValue@8"); PFN_GETVALUE pfn_GetValue = (PFN_GETVALUE)GetProcAddress(hMod, "_GetValue@8");
// if (pfn_GetValue) { if (pfn_GetValue) {
// return pfn_GetValue(indata, outdata); return pfn_GetValue(indata, outdata);
// } }
// FreeLibrary(hMod); FreeLibrary(hMod);
// } }
// return -1; return -1;
// } }
__declspec(dllexport) int _stdcall RESGetValue(char *indata, char *outdata) __declspec(dllexport) int _stdcall RESGetValue(char *indata, char *outdata)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment