CDHtmlDialog Exception

Any idea why I'm getting this exception the second time that I show a
modal dialog with a CDHtmlDialog control on it? Thanks.

0:015> !analyze -v
*                        Exception Analysis

76b5e134 832300          and     dword ptr [ebx],0

EXCEPTION_RECORD:  ffffffff -- (.exr ffffffffffffffff)
ExceptionAddress: 76b5e134
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000001
   Parameter[1]: 00000409
Attempt to write to address 00000409


PROCESS_NAME:  NetClient.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx
referenced memory at 0x%08lx. The memory could not be %s.

WRITE_ADDRESS:  00000409



LAST_CONTROL_TRANSFER:  from 76b62e59 to 76b5e134

05fbf608 76b62e59 05ad03f8 00000001 00000409
05fbf61c 70c474d9 05ad0444 00000001 00000409
05fbf640 70c47491 00000001 05fbf874 00000000
05fbf658 76ae6dfe 05ae1290 00000202 02b4d3d0
05fbf670 76b603ef 70c46c3f 05fbf878 00000001 RPCRT4!Invoke+0x2a
05fbfa9c 76b5fa8c 02b4c940 02a584c8 02b4d3d0 RPCRT4!NdrStubCall2+0x27b
05fbfaec 76de92a0 02b4c940 02b4d3d0 02a584c8
05fbfb34 76de923a 02b4d3d0 02b4bfac 002d2de0 ole32!SyncStubInvoke+0x3c
05fbfb80 76d125c2 02b4d3d0 02aa3ca0 02b4c940 ole32!StubInvoke+0xb9
05fbfc5c 76d124d3 02a584c8 00000000 02b4c940
05fbfc78 76d13403 02b4d3d0 00000001 02b4c940 ole32!MTAInvoke+0x1a
05fbfca4 76de9162 02b4d3d0 00000001 02b4c940 ole32!STAInvoke+0x46
05fbfcd8 76de8fdf d0908070 02a584c8 02b4c940 ole32!AppInvoke+0xaa
05fbfdb4 76de9696 02b4d378 05aeebd8 00000000
05fbfddc 76d132d9 02b4d378 00000400 02a9a348 ole32!ComInvoke+0xc5
05fbfdf0 76d1339e 02b4d378 05fbfe84 00000400 ole32!ThreadDispatch+0x23
05fbfe08 76c41a10 02acd850 00000400 0000babe ole32!ThreadWndProc+0xf5
05fbfe34 76c41ae8 76d13314 00050392 00000400
05fbfeac 76c42a47 00235394 76d13314 00050392
05fbff10 76c42a98 76d13314 00000000 05fbff54
05fbff20 76d08192 05fbff38 00000000 76df0bb0
05fbff54 76d0258c 00007530 767a7750 02a7a140
05fbff70 76d024ce 05fbff94 76cffc0d 76df0bb0
05fbff78 76cffc0d 76df0bb0 00000000 02a7a140
05fbff94 76cffc73 00000000 05fbffac 767a3833
05fbffa0 767a3833 02a7a140 05fbffec 7721a9bd
05fbffac 7721a9bd 02a7a140 05fb2f25 00000000
05fbffec 00000000 76cffc53 02a7a140 00000000

70c474d9 838e1801000010  or      dword ptr [esi+118h],10h


SYMBOL_NAME:  ieframe!CDocObjectHost::DestroyHostWindow+22

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: ieframe

IMAGE_NAME:  ieframe.dll


STACK_COMMAND:  ~15s ; kb



Followup: MachineOwner

ExceptionAddress: 76b5e134
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000001
   Parameter[1]: 00000409
Attempt to write to address 00000409
ExceptionAddress: 76b5e134
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000001
   Parameter[1]: 00000409
Attempt to write to address 00000409

shawnberg (52)
11/21/2006 3:41:10 PM
vc.mfc 33608 articles. 0 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 37


Similar Artilces:

I've built the DHtmlExplore Sample from Visual C++ MFC Samples but it doesn't run at all. It fails on DoModal(). Hi Ram, Thanks for you posting in this group! I have built and runned the DHtmlExplore Sample in VS.NET 2003, it works fine. Would you please post some more detail error messages with your situation if possible, with that maybe I can do some help on your problem. Best regards! Gary Chang Microsoft Online Partner Support Get Secure! � This posting is provided "AS IS" with no warranties,and confers no rights. -------------------...

Create CDHtmlDialog in statically linked MFC DLL failed
Hi, My project need use a exe(statically linked MFC) load a dll(staticall linked MFC), and create a CDHtmlDialog in the dll. I add a CDHtmlDialog to the DLL, "class DHtmlDialogTest : publi CDHtmlDialog" and create dialog at DLL's export function, "DHtmlDialogTest.Create(IDD_DHtmlDialogTest CWnd::GetDesktopWindow());" But when excute DHtmlDialogTest.Create(IDD_DHtmlDialogTest CWnd::GetDesktopWindow()); then it'll enter "dlgdhtml.cpp"'s functio "CDHtmlDialog::OnInitDialog()" at following code inside "CDHtmlDialog::OnInitDialog()"...

CDHtmlDialog: Memory usage... :-/
Hi, I made a test app using CDHtmlDialog and all it does is display the dialog containing a html page. When i check the memory usage it uses 10,240 kb, is this normal? Is there a way to decrease the memory usage in html dialogs? Thx in advance, Thomas Hi, Thomas. CDHtmlDialog is using IE rendering engine which is good for Internet browsing tasks. And not supposed to be lightweight. I would recommend you to visit ours as an alternative. Andrew Fredoniouk. Terra Informatica Software Design. "Thomas" <> wrote in...

strings and CDHtmlDialog
Hi, I'm working on application where visual representation is done by using CDHtmlDialog. All .htm files are linked as resources, same for images. We use images like this: file we define it as images/res.jpg HTML "images/res.jpg" ....and then use it in .htm file as <img src="images/res.jpg"> It works fine. Is there a way to include text from STRINGTABLE in .htm file? Thanks in advance, Primoz ...

LINQ Except function
In the following function, when the two xml strings passed in are identical, I get all of the "File" nodes from docRight. I was expecting zero file nodes. I must be using Except() wrong -- can anyone see what I'm doing wrong? public static string FindUniqueOnRight(string xmlLeft, string xmlRight) { XDocument docLeft = XDocument.Parse(xmlLeft); XDocument docRight = XDocument.Parse(xmlRight); var docAddFromRight = from r in docRight.Descendants ("File").Except( from l in docLeft.Descen...

iframe in CDHtmlDialog
Hi, In my htm file using CDHtmlDialog class there's a iframe. Example, <html> <body id=CCompEditNavigation bgcolor=white> .... some text ... <iframe src="140" id="myiframe"></iframe> </body> </html> Notice the src="140" The 140 is a resource ID to an htm file. Is there a way of working with file names rather than resource ID numbers? I would like to use names such as src="myiframe.htm". Thanks, Paul On Sep 1, 11:36=A0am, Paul <> wrote: > Hi, > > In my htm file using CDHtm...

Unhandled Script Exception #3
I have a worker out in the field who uses VPN to log into our network and when he starts up Great Plains, the log-in screens come up normal (after clicking OK on the last "attempting to log into company" screen). After a delay, a message pops up saying "error registering table [ not found ]", and where the version number usually shows up, the message: "message # 18057 missing" appears. After clicking OK, the error: "unhandled script exception - illegal address for field 'company ID' in script 'SQL PATH'. script terminated" comes u...

action Microsoft.Crm.Setup.Client.InstallAbpAction failed:exception from HRESULT: 0xFFFFFFFFF
Hi, I installed Windows 2003 SP1, SQL 2005, Exchange 2003 and CRM 3.0 on a Virtual PC, the client (offline-enabled) should be a Laptop with Office 2003 sp3 but alltime I try to install, the setup abord because he don't find the MAPISVC.INF file unter C:\WINDOWS\SYSTEM32 ( !!! ), This File is unter COMMON FILE and not unter SYSTEM32 (!!), any idea ? Thanks ok, I found the Problem, never mix Language Version ! with Office English it 's work ! Thanks "MV" <MV@MV.MV> schrieb im Newsbeitrag news:%23rAeT1rIGHA.500@TK2MSFTNGP15.phx.gbl... > Hi, I installed Windows...

Exception Error
I am reciveing the following error form my mobile device (IPAQ 6315). Any ideas? CRMMobile.exe SqlCeException MbsMoException::Throw+0x25 AbruptStop::TerminateApplication+0x87 CRMAppShell::Main+0xaa Hi I received the same problem on my mobile device. The reason I found was that for some reason, the SQL CE database on the PDA is not completely installed. I've noticed that while registering the device, the Device Registration Service on the CRM server falls over (stops for some reason). Restarting the service doesn't help either. Please let me know if you find a solution. ...

catch multiple exceptions
instead of try { // <operation> } catch( CMemoryException* e) { trace("%s", e->GetErrorMessage()); e->Delete(); closefile(); return FALSE; } catch( CDBException* e) { trace("%s", e->GetErrorMessage()); e->Delete(); closefile(); return FALSE; } catch(...) { return FALSE; } is there another way so I don't have to repeat the same block of error report and cleanup that is almost entirely similar to all the other catch blocks? check out either the CATCH_ALL macro if you want to catch all possible exceptions at on...

How to use relative file:// protocol in html resource used by CDHTMLDialog?
Howdy, I'm writing a C++ CDHTMLDialog based application in VS .net. Of course I have an HTML resource that contains the html code for display by CDHTMLDialog (which wraps the Webrowser control). I understand how to reference program resources in my HTML using the res: protocol, but I'm having trouble getting the file: protocol to work with relative references. For example, if my embedded HTML resource includes this absolute path in my htmlcode it works fine: < IMG src="file:///C:\Documents and Settings\jim\My Documents\temp\CHtmlApp\Debug\ugly2.bmp" > But if I pu...

Unhandled Exception
I have distributed my program to users around the world but occasionally it crashes with an unhandled exception. I would like to find out why. I can use set_terminate to route the termination process through my own function and I would like that function to dump useful data (in particular the address where the exception arose) but I cannot find any reference to any system functions/macros/facilities to allow me to access such information. Can anyone help? Alan On Aug 8, 2:30 pm, Alan Williams-Key <> wrote: > I have distributed my program ...

CDHtmlDialog #3
I'm developing an app in C++ using Visual I just created a dialog box resource of IDD_COMPANY_TYPE using the Dialog Editor and a class of CDlgChartOfAccounts using the MFC Class Wizard. In the .h file there was an enum variable created as follows: enum { IDD = IDD_COMPANY_TYPE, IDH = IDR_HTML_DLGCHARTOFACCOUNTS }; Both IDD_COMPANY_TYPE and IDR_HTML_DLGCHARTOFACCOUNTS are in the Resource.h file. The problem is that the compiler says that both IDD_COMPANY_TYPE and IDR_HTML_DLGCHARTOFACCOUNTS are undeclared identifiers. Why doesn't the compiler recoginze these resou...

unhandled exception c0000005
I keep getting this error in Win XP SP3: unhandled exception c0000005 at address 01261040 Please advise. I read an M/S support bulletin on the exception, but it was at a different address. I don't have the program that was addressed in that bulletin. Thank you -- Bill 43 In, Bill 43 <> typed: > I keep getting this error in Win XP SP3: unhandled exception c0000005 > at address 01261040. Please advise. Is the address 01261040 always the same? The machine may have some fai...

Is it a bug in CDhtmlDialog?
I made a CHtmlDialog based program. The program loads an HTML page and adds extra HTML code including an Input box (<input type="text" name="T1" size="20">) The problem: most of the times clipboard shortcut keys (CTRL-C, CTRL-V, etc.) don't work. Rarely and randomly they work without changing the program. Do you guys have any idea how to fix this problem? Thanks Tim ...

Need Help on Http Header to add my own User-Agent with CDHTMLDialog
I use CDHTMLDialog to program a simple web browser, and I had a trobule on Http Header modify. I want add my own "User-Agent" when client use my application to browse web. //------------------------------------------------------------------------------------------------ #define WM_NVTO (WM_USER+1000) class NvToParam { public: CString URL; DWORD Flags; CString TargetFrameName; CByteArray PostedData; CString Headers; DWORD dwPostDataLen; }; //------------------------------------------------------------------------------------------------ LRESULT Ccdhtml...

For.. Next with exception
hello, Any body would know how to do this? For i=1 to 123 blablabla next But without doing certain values of i (lets say 50,60,70) I could write For i = 1 to 49 blablabla next for i=51 to 59 blablabla next but is there a more elegant way? thanks -- caroline You could do it two ways. 1.) You could use an If...Then statement inside your loop. Dim i As Long For i = 1 To 123 If i = 50 Or i = 60 Or i = 70 Then ' do something End If Next i 2.) You could list the i's you want to loop through. Dim MyArray As ...

iesample.exe exception on wince 5.0
I use iesample.exe on wince 5.0, if the user keeps browsing for around 5-10 mins,debug serial port outputs infomation as follows: RaiseException: Thread=86efb920 Proc=82026b40 'iesample.exe' AKY=00000401 PC=03f88c24(coredll.dll+0x00018c24) RA=802c3044(NK.EXE +0x000c3044) BVA=00000000 FSR=00000000 What's the proble? I would appreciate any suggestion on this. Build a debug image of your build and see where it crashes. The debugger should break... For us it would be guessing what goes wrong here, Good luck, Erwin Zwart, Check out my blog: ...

External resources for CDHtmlDialog::LoadFromResource
Hello I am using CDHtmlDialogs, but I would like to load an external resource. I can't see a way to do it. Usually you import the HTML page you want to display in the dialog into the resources of the application. Then it's a simple call to CDHtmlDialog::LoadFromResource to load it up. I would like to load a HTML page which is either a HTML file by itself, or a HTML resource compiled into another application binary. I can load the resource from the other application with all of the following calls: hInst = LoadLibrary( "F:\\Test\\HTMLDialogUI\\Debug\\HTMLDialogUI.exe" );...

Unable to login as any users with the exception of "SA"(Enterprise #2
Hello, I cannot login as any users accept with the exception of "sa". We just installed GP 7.0 enterprise on a windows 2003 server and everything appears to be running fine. As the SA login, Im accessing all the normal GL, AP, Purchasing screens fine. I created multiplie users within GP and that worked fine as well. When I sucessfully installed the client on client PCs, I do not see the GP server under anything except for SA. I can ping it fine but cannot see the servers under any login. Please help!?! Thank you in advance. David ...

Removed Exchange account and lost all email folders except pop3
Running Outlook 2003 under Windows 2000 on laptop. Added POP3 mail accounts successfully. Then deleted the Exchange Server account. Immediately lost all original folder structure and many emails. How can I recover, if at all? I have old .ost and .pst files but can not access. By removing the Exchange account, you also removed its (cached) message store. If you were still having an active connection to the Exchange server at that time, then all your messages are still on the Exchange server. Reconnecting to the Exchange server will recache your messages. Then you can move t...

CDhtmlDialog frame?
Hi, Is there a way to have an <iframe> in a CDhtmlDialog and to get a IHTMLElement pointer to an element in the content of the frame so i can change it with the IHTMLElement methods? I cant find the solution to my problem anywhere on the web. Any help would be greatly apreciated! Thx in advance, Thomas ...

A better way to catch exceptions ???
Currently I use: catch (...) { } This is very helpful in that it always catches everything. Is there a better way that can provide me with more detailed information about the reason for the exception that will always catch every exception? Doug Harrison has some articles about catching "every" exception, and it is not easy to get it all right. Do a search of the archives of this newsgroup to find his reference. I can't seem to find my link to his site any longer. joe On Thu, 26 Apr 2007 13:20:31 -0500, "Peter Olcott" <> wrote...

Second path fragment must not be a drive or UNC name exception
Hi! On some Windows 7 machines I am getting the following error when I execute this code to enumerate all named pipes on a PC: string[] pipeNames = null; try { pipeNames = System.IO.Directory.GetFiles(@"\\.\pipe\"); } catch (Exception ex) { } ERROR: System.ArgumentException: Second path fragment must not be a drive or UNC name. Parameter name: path2 at System.IO.Path.InternalCombine(String path1, String path2) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles,...

CDHTMLDialog troubles (revised)
Sorry I screwed up the last posting so I'll start again :) ----------------------------------------------------------------- I'm just starting to use the CDHTMLDialog and need to the values of various elements on the page I am using the following code to get access an element IHTMLElement* pLinkElement = NULL; if (GetElement(_T("ctl00_ContentPlaceHolder1_tb1"), &pLinkElement) == S_OK && pLinkElement != NULL) { // element is found correctly BSTR current; pLinkElement->get_innerText(&current); // ***** this always produces current=Bad ...