我使用的是VC++6.0  
在调用dll时 如果库中的导出函数是_stdcall约定的时候调用总是出错
获取的函数地址总显示为0x0000000  extern "C" __declspec(dllexport) double _stdcall SquartRoot(double d)
{
if(d >= 0.0)
{
return sqrt(d);
} AfxMessageBox("Can't take square root of a negative number."); return 0.0;
}
用下列代码调用
         HINSTANCE hModual = LoadLibrary("TestDllSquart.dll");
if(hModual==NULL)
{
AfxMessageBox("Call the Dll Error~!");
return ;
}
typedef double _stdcall MyFunc(double d);
MyFunc *MySquart;
MySquart = (MyFunc *)GetProcAddress(hModual,"SquartRoot");
double d = MySquart(m_fEdit);当我不加_stdcall约定时 能成功 这是为什么呀?