dialog中执行ajax,关于在CDhtmldialog中ajax跨域的问题!!!

我把我微软的secumgr的例子修改了一下,我没找到如何上传附件。我上传到了http://211.157.108.107/ajax/secumgr.rar上,大家看看有什么问题?看了蒋老大的给的提帖子。但是不行不知道为什么。

HRESULT  FAR EXPORT CCustomControlSite::XInternetSecurityManager

::GetSecurityId(LPCWSTR pwszUrl,

BYTE *pbSecurityId,

DWORD *pcbSecurityId,

DWORD dwReserved)

{

METHOD_PROLOGUE(CCustomControlSite, InternetSecurityManager)

//return INET_E_DEFAULT_ACTION;

if(!pwszUrl || !pbSecurityId || !pcbSecurityId)

return E_INVALIDARG;

//static const BYTE wszSecurityId[]={'f','i','l','e',':',3,0,0,0};

//static const BYTE wszSecurityId[] = {'f','i','l','e',':',0,0,0,0};

static const BYTE wszSecurityId[] = {'h','t','t','p',':','w','w','w','.','1','6','3','.','c','o','m',':',3,0,0,0};

//static const BYTE wszSecurityId[] = {'o','s','h',':',3,0,0,0};

if (*pcbSecurityId

{

return ERROR_INSUFFICIENT_BUFFER;

}

memcpy(pbSecurityId,wszSecurityId,sizeof(wszSecurityId));

*pcbSecurityId=sizeof(wszSecurityId);

return S_OK;

}

不知道问题在哪里,请大家赐教。最好能具体一点,谢谢大家了。勇敢的人