device eth1 has different mac address than expect ignoring

展开阅读全文

头疼问题:Calling assembly has different key than this assembly.

01-10

服务器换IP后就这样了。。。 rnrnrnrnrnrnCalling assembly has different key than this assembly. rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Exception: Calling assembly has different key than this assembly.rnrn源错误: rnrnrn行 170: rn行 171: rn行 172: rn行 173: rn行 174: rn rnrnrn堆栈跟踪: rnrnrn[Exception: Calling assembly has different key than this assembly.]rn myZsf.myOptions..cctor() +58rnrn[TypeInitializationException: “myZsf.myOptions”的类型初始值设定项引发异常。]rn myZsf.myOptions.test() +0rn myZsf.modName..cctor() +5rnrn[TypeInitializationException: “myZsf.modName”的类型初始值设定项引发异常。]rn myZsf.OLEDBClass..ctor(String ConnectionString) +35rn WebApplication1.myUserControl..ctor() +73rn WebApplication1.adrotatorP..ctor() +49rn ASP.adrotatorp_ascx..ctor() +25rn ASP.index_aspx.__BuildControlAdrotatorP1() in D:\website\00000IUF^&76UT\chuanyi.cn-f34bcfd\index.aspx:172rn ASP.index_aspx.__BuildControlform1() in D:\website\00000IUF^&76UT\chuanyi.cn-f34bcfd\index.aspx:116rn ASP.index_aspx.__BuildControlTree(index_aspx __ctrl) in D:\website\00000IUF^&76UT\chuanyi.cn-f34bcfd\index.aspx:1rn ASP.index_aspx.FrameworkInitialize() +69rn System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +38rn System.Web.UI.Page.ProcessRequest() +86rn System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18rn System.Web.UI.Page.ProcessRequest(HttpContext context) +49rn ASP.index_aspx.ProcessRequest(HttpContext context) +29rn System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358rn System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64rnrn rn 论坛

ignoring a call with SMS

12-26

BOOL IncomingBarPWndProc (HWND hwnd, UINT uimessage, WPARAM wParam, LPARAM lParam) rnrn BOOL bResult = FALSE;rnrn LPCTSTR lpStr;rn MAILCOMPOSEFIELDS fields;rn SHMENUBARINFO mbi;rnrn DBG_MSG(MSG_TRK, L"WM_PH_PAINTCHILDBACKGROUND dddddddd msg loop is %d uimessage is %d",GetDlgCtrlID((HWND)wParam),uimessage);rnrn switch(uimessage)rn rn case WM_PH_PAINTCHILDBACKGROUND:rn rn switch(GetDlgCtrlID((HWND)wParam))rn rn // TWN Operatorrn case IDC_BRANDING:rn rn DBG_MSG(MSG_INFO, L"WM_PH_PAINTCHILDBACKGROUND PORTRAIT Mode ");rnrn WCHAR szText[MAX_LOADSTRING];rn INT dpi;rn dpi = GetDpi();rnrn //Set IDC_LINEUI Posrn SetWindowPos(GetDlgItem(hwnd, IDC_LINEUI), rn HWND_TOP, rn (0 *2)/dpi, rn (24 *2)/dpi, rn (240*2)/dpi, rn (1 *2)/dpi, rn SWP_SHOWWINDOW);rnrn //Define INCOMING CALL TEXTrn if (VOICE_CALL == g_iIncomMode)rn rn LoadString(g_hInstDll, IDS_IN_VOICE, szText, sizeof(szText));rn SetWindowText(GetDlgItem(hwnd, IDC_INCOMINGCALL_TEXT), szText);rn rn else if (VIDEO_CALL == g_iIncomMode)rn rn LoadString(g_hInstDll, IDS_IN_VIDEO, szText, sizeof(szText));rn SetWindowText(GetDlgItem(hwnd, IDC_INCOMINGCALL_TEXT), szText);rn rnrn //[Feasibility] ignoring a call with SMS ++rn //g_bIsCreateMenuBar is a flag to check that we only create one menu bar herern //if (!g_bIsCreateMenuBar)rn rn g_bIsCreateMenuBar = TRUE;rnrn // destroy menu bar of last incoming call rn /*if(m_hWndMenuBar)rn rn CommandBar_Destroy(m_hWndMenuBar);rn m_hWndMenuBar = 0;rn */rnrn [color=#FF0000] ZeroMemory(&mbi, sizeof(mbi));rnrn mbi.cbSize = sizeof(SHMENUBARINFO);rn mbi.hwndParent = hwnd;rn mbi.nToolBarId = IDR_MENU_INCOMINGCALL;rn mbi.hInstRes = g_hInstDll;rn mbi.dwFlags = SHCMBF_HMENU;rnrn // create a new menubar for this incoming callrn if (!SHCreateMenuBar(&mbi)) rn rn m_hWndMenuBar = NULL;rn DBG_MSG(MSG_ERR, L"CMAppWin::DoRefreshToolBarID - SHCreateMenuBar FAIL %d", GetLastError());rn rn elsern rn m_hWndMenuBar = mbi.hwndMB;rn [/color]rn rnrn break;rn //[Feasibility] ignoring a call with SMS --rn rn break;rn case IDC_LINEUI:rn rn break;rn default:rn break;rn rn rn break;rnrn case WM_COMMAND:rn rn //Click Accept of Incoming Bubblern if (ID_ANSWER == wParam)rn rn g_bIsCreateMenuBar = FALSE;rn [color=#FF0000]PHDoVerb(PH_VERB_ACCEPT_INCOMING, FALSE, NULL);[/color] rn //Click IGNORE of Incoming Bubblern else if (ID_MENU_IGNORE == wParam)rn rn g_bIsCreateMenuBar = FALSE;rn [color=#FF0000]PHDoVerb(PH_VERB_REJECT_INCOMING, FALSE, NULL);[/color] //PostMessage(HWND_BROADCAST, WM_LBUTTONDOWN, 0, MAKELONG(1000, 1000)); rn rn //[Feasibility] ignoring a call with SMS ++rn //Click IGNORE with text message of Incoming Bubblern else if (ID_MENU_IGNORE_SMS == wParam)rn rn g_bIsCreateMenuBar = FALSE;rn [color=#FF0000]PHDoVerb(PH_VERB_REJECT_INCOMING, FALSE, NULL); [/color]rn DBG_MSG(MSG_TRK, L"VTAPP : user tap PH_VERB_REJECT_INCOMING"); rnrn // Launch SMS editorrn lpStr = L"";rnrn wprintf(lpStr, L"\"%s\"<%s>", L"Aries",L"huang.l9898@msa.hinet.net");rnrn memset(&fields, 0, sizeof(MAILCOMPOSEFIELDS));rnrn fields.cbSize = sizeof(MAILCOMPOSEFIELDS);rn fields.dwFlags = MCF_ACCOUNT_IS_NAME;rn fields.pszAccount = L"SMS"; rn fields.pszMsgClass = lpStr; rn MailComposeMessage(&fields); rn //PostMessage(HWND_BROADCAST, WM_LBUTTONDOWN, 0, MAKELONG(1000, 1000)); rnrn rn //[Feasibility] ignoring a call with SMS --rn rn break;rn case WM_KILLFOCUS:rn g_bIsCreateMenuBar = FALSE;rn break;rnrn case WM_DESTROY:rn DestroyWindow(m_hWndMenuBar);rn break;rnrn default:rn break;rn rn rn return bResult;rnrnrn在incoming bubble的hook函数里面创建一个tool bar, 开始的时候, 一切正常, 但一段时间之后, WM_COMAND里面PHDoVerb(PH_VERB_REJECT_INCOMING, FALSE, NULL);就不起作用了.rn只有这样的情况一出现, 就接不了电话, 拒绝不了电话, 但是MailComposeMessage打开SMS编辑器却能成功.rnSHCreateMenuBar 这个函数用错了还是其它原因呢, 各位高手, 帮帮忙啊! 论坛

没有更多推荐了,返回首页