DLL中可以调用DLL吗
#include "stdafx.h"
#include <math.h>
#include <stdlib.h>
#include <string>
using namespace std;
//在此处加入如入代码;
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
//这个函数是导出函数,请记住 extern "C" __declspec(dllexport) 这部分一点都不能少
extern "C" __declspec(dllexport) string Add(string xlh)
{
return xlh;
}
__________________-----
要在上面调用一个DLL 如 AS.DLL 其中有一个string的输出值,怎么操作