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


0
Da_QuiK (10)
11/11/2003 9:48:55 PM
vc.mfc 33608 articles. 0 followers. Follow

1 Replies
1202 Views

Similar Articles

[PageSpeed] 9

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 http://terrainformatica.com/htmlayout as
an alternative.

Andrew Fredoniouk.
Terra Informatica Software Design.


"Thomas" <Da_QuiK@fake.email.com> wrote in message
news:elZMi2JqDHA.2312@TK2MSFTNGP12.phx.gbl...
| 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
|
|


0
andrew6656 (27)
11/12/2003 4:01:27 AM
Reply:

Similar Artilces:

Virtual memory fragmentation
I always find this error message in my Win 2000 Server Application log; more exactly it is reported every hour: Event ID: 9582 Source MSExchangeIS Category: Performance "The virtual memory necessary to run your Exchange server is fragmented in such a way that normal operation may begin to fail. It is highly recommended that you restart all Exchange services to correct this issue." Exchenge Server 2000, Win 2000 Server, 2 x 2.4 GHz, 4GB RAM. Many user experience slow Exchange connection in Outlook. When the double click on a message it take 4-5 seconds before it is opened. Maybe t...

store.exe memory issue
Hello All! I am just wondering if anyone has the same issue with store.exe holding 70-90% of the memory. Is this normal? How to make store.exe release the memory when not using it? this is on Exchange 5.5 SP4 and Windows 2000 server with SP 4 in NT 4.0 domain. George That is normal. Exchange uses dynamic buffer allocation (DBA) which will use all available memory. The store process will consume all memory and then release it to new processes that may need it. Unless you are see other issues or suspect that its not releasing memory for other applications I wouldn't worry about it. 182...

IE 8 high cpu usage
I have noticed lately that IE8 is running with high CPU usage all the time. Not just when loading a page. It is running 50 - 100% cpu. This is not just on one machine. But have noticed it on several. All machines are running XP SP2 or 3. It is so bad I have switched to FireFox, however I would rather use IE 8 but not at this cost. Thanks, Dave Hi Dave, Dual core or single core processor? Are any 'movies' playing in other windows/applications (Media Center). There is a beta version of Adobe Flash in the pipeline coming. Do you tend to keep a lot of tabs...

How do I monitor user email usage?
Hello, I was wondering if there is any way I can montior the amount of incoming and outgoing email usage for a particular user/email address? Is there a function in Exchange Administration that would allow me to see how much email is being sent for each address on the Exchange server? Any help or tips would be greatly appreciated. Thanks! Use Promodag Reports or Quest MessageStats. URLs are included here: http://hellomate.typepad.com/exchange/2003/08/exchange_messag.html -- Neil Hobson Exchange MVP For Exchange news, links and tips, check: http://www.msexchangeblog.com "Kyle&q...

CDHtmlDialog
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! � www.microsoft.com/security This posting is provided "AS IS" with no warranties,and confers no rights. -------------------...

Store.exe is taking up all the memory and it freezing the server
We are using Exchange 2K SP3 I have notice that store.exe is running and it is taking up all the memory and it is causing the exchange server to freeze and I have to reboot. This is becoming a problem, I have to reboot the machine 2X a day. I have to reboot first thing in the morning around 8:00 then again at around 4:30pm Do any one know why Store.exe take up so much memory? How can I fix this problem where store.exe will not take up so much memory and cause the server to freeze? Thanks for your help, What errors are you getting in your event logs? Are you running standar server or...

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()"...

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: ....in.rc2 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 ...

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 http://terrainformatica.com/htmlayout as an alternative. Andrew Fredoniouk. Terra Informatica Software Design. "Thomas" <Da_QuiK@fake.email.com> wrote in...

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 <energymo...@gmail.com> wrote: > Hi, > > In my htm file using CDHtm...

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...

Sumproduct usage?
My brain's on overload at the moment, so I'm turning to you guys for help. I need help w/ a formula that will count the number of sales that someone had based on a certain date...I thought I could use sumproduct, but I'm beginning to wonder if I was wrong about that. The relavant columns are D & M. Col D Col M 12/24/2009 Andy 12/24/2009 Charles 12/24/2009 Andy 12/25/2009 Charles You had the right function in mind. Try something like this... Use cells to hold the criteria: A1 = some date B1 = some name =SUMP...

The size store.exe grows continuously up to more than the physical memory
Any body know how to solve this problem? Thanks. How much memory is in the machine any how many mailboxes are being accessed? Exchange is specifically set to use all available resources and give up resources when they're required by another process. What problem are you having due to the amount of memory use, i.e. does the machine "Blue Screen"? Patrick Rouse Microsoft MVP - Terminal Server >-----Original Message----- >Any body know how to solve this problem? >Thanks. > > >. > ...

CDHtmlDialog #3
I'm developing an app in C++ using Visual Studio.net. 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...

Template sought -need to create Memorial brochure for funeral svc
Dear friend passed away this week, I want to create a Memorial brochure (a personal tribute?) for distribution at her funeral - maybe this is just a Southern tradition? Because I can't find any such Template, anywhere. Her funeral is Sat June 19. Help me please, y'all... I just did a Google search for "memorial brochure". Apparently it's not just s Southern thing. What kind of brochure do you want to create? Just a small tri-fold or a booklet? What do you expect from a template? -- JoAnn Paules MVP Microsoft [Publisher] "Atlanta Redhead Misses Friend"...

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 ...

Exchange Memory Settings
Last night I added the /3GB and /Userva=3030 switches to the boot.ini file, however when I went to go set the HeapDeCommitFreeBlockThreshold according to the directions found in the link below I found that the key was already created and had a value of 0. The directions say this key must be created so before I create a new key or modify one that already exists I wanted to check and see if this was normal. Are the directions below outdated? Should the HeapDeCommitFreeBlockThreshold key already be in HKLM\System\CurrentControlSet\Control\Session Manager before I create it? Thanks, WjcO...

H4Sample and memory config.
Hi all, I am trying to use the H4Sample BSP on a SDP 2420 board that i have in hand. However, I am not able to get going at all even with the bootloader. At the very top level, can somebody answer these: - Does the sample BSP provided assume the Combo DDR+NAND configuration? After struggling for a while I realized that my board has a memory expansion board connected through J5,J6 and J7 interface ports on the Processor Daughter board and that this is *probably* not the combo memory configuration as referred to some TI documentation. Can somebody who has...

Suspicion of CListCtrl memory leak, Help !
I have a testing MFC DialogBase project which has only one control -- ListCtrl. When the app exit , i found that the memory is not free by the system by watch the System Performance dialog page. All that i do is within CListCDlg::OnTimer() func, show as bellow: < code snippet> void CListCDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CListCDlg) DDX_Control(pDX, IDC_LIST1, m_MyList); //}}AFX_DATA_MAP } void CListCDlg::OnTimer(UINT nIDEvent) { TCHAR sContent[ 128 ]; //I have not alloc any data from heap, all the data added to CListCtl is ...

Can I force the system move memory to virtual memory ?
Hi, As all we have noticed, when an application is minimized, the system will move the phical memory it used to virtual memory. Is there a API or function call that will allow me to do it programingly, so I can make it happen without have to minimize my program ? Thanks in advance Jeff JeffChen wrote: > Hi, > > As all we have noticed, when an application is minimized, the system will > move the phical memory it used to virtual memory. Is there a API or function > call that will allow me to do > it programingly, so I can make it happen without have to minimize my progr...

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...

Resource usage view as a Web report
I would like to save the project with a custom view similar to Resource Usgage view with Resources in a Row, and columns showing the Work / week. (PS: I am familiar wtih time phased view, which can be exported to Excel, -- is this the only way to show this in Excel or Is there a way to save as Web Page) -- Thanks, Jay Project 2007 no longer has the web page output (as 2003 had). So the way you have found is the provided way. What I've done in past is use Project's VBA to create the HTML reporting files straight from Project ... for automating the publishing of reports...

entity unicode in memory ?
I have turned 'see display unicode string option on under tools/options/debug' and while the enity I am hoping to see is only represented in the regular debugger as a ? followed by a space, I now SEE SOMETHING very different in the memory view. ( This is the memory when this legacy code pulls the outer HTML from an XML with imbedded XSL. It displays in the webcontrol the small delta represented by &#916; in the XML Can you help me understand what I am seeing after the > and before the A2630AA 4F 00 44 00 59 00 3E 00 94 03 20 00 3C 00 2F 00 42 00 O.D.Y.>.”. .<./.B 3E ...

onenote 2007 problem
hi from brazil. i have a hard problem with onenote. i can start and use it, but when i close the program the process continues endless, days and days on. it was working correctly, but two week ago the error started. i've tried google it, but it was useless. tried to wait days with the notebook turned on and the process running... useless too. tried to delete the onenote cache... didn't work too. tried to unistall and install again... the problem remains. besides the endless process, that i can finish from process manager ( but it once i use onenote and close, it comes b...

moto Mobile PSP Game & memory card
(paypal payment)(www.king-trade.cn ) Electronics Vertu Mobile New iphone Mobile Nokia Mobile moto Mobile PSP Game & memory card Sony Mobile Samsung (paypal payment)(www.king-trade.cn ) Mobile Ipod nano Sony PS3 Laptops IBM laptops DELL laptops Sony laptops ASUS laptops (paypal payment)(www.king-trade.cn ) (paypal payment)(www.king-trade.cn ) Electronics Vertu Mobile New iphone Mobile Nokia Mobile moto Mobile PSP Game & memory card Sony Mobile Samsung (paypal payment)(www.king-trade.cn ) Mobile Ipod nano Sony PS3 Laptops IBM laptops DELL laptops Sony laptop...