Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. TOpenDialog Read-Only is buggy
    The "Open as read-only" checkbox does not work on the TOpenDialog class when more than one file is selected. More precisely, any change to the state of the checkbox is not captured. Is there a workaround for this bug?
  • 2. Unable to open file 'OXMLDOM.OBJ'
    I have the following: #include <xmlcomponent.hpp> #include <XMLDoc.hpp> #include <oxmldom.hpp> _di_IXMLDocument Doc = LoadXMLDocument(fName); if (Doc->IsEmptyDoc()){//file exists but its empty //return --- error } _di_IXMLNode Root = Doc->DocumentElement; if( Root ) { if(Root->GetNodeName().operator =("TS")) { //do sth. } //do sth. } When I compile, I get the following error, although oxmldom.hpp is in include/vcl. [Linker Fatal Error]Fatal: Unable to open file 'OXMLDOM.OBJ' How can I do to get this in order? Regards, Harp
  • 3. AnsiString::printf() method problem with CodeGuard
    Hello. My CodeGuard'ed project executable reports the following errors in the CGL file: ------------------------------------------ Error 00161. 0x130410 (r) (Thread 0x0698): Access overrun: Attempt to access 624 byte(s) at 0x013B6691, that is at offset 521 in heap block 0x013B6488 which is only 633 bytes long. vsnprintf(0x013B6691, 0x270 [624], 0x005AB44F [" Receiving (or awaiting)/processing/sending/total time: [%#.3lfs/%#.3lfs/%#.3lfs/%#.3lfs]\r\n"], 0x01E9FCA8) The call looks like this: AnsiString pfEventLog; // (here log contains some string) // the trouble call: pfEventLog.cat_printf(" " "Receiving (or awaiting)/processing/sending/total time: " "[%#.3lfs/%#.3lfs/%#.3lfs/%#.3lfs]" "\r\n", pfTCPReceivingTime, pfProcessingTime, pfTCPSendingTime, pfTCPReceivingTime + pfProcessingTime + pfTCPSendingTime); Is it safe to use AnsiString::printf or cat_printf methods? Why does it report such error? Or is it problem with CodeGuard? By the way - what is the possible best method of tracking memory leak using CodeGuard ON the machine, when program normally runs (not in my IDE environment)? -- ([-: May The Force Be With You! :-]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Shon
  • 4. undefined symbol TXMLDocument
    I'm just attempting to use TXMLDocument, I have not used it before..., just want to load an xml-file to parse it. I did the following: std::auto_ptr<TXMLDocument>MyStringList(new TXMLDocument() ); And got the following error-message "undefined symbol TXMLDocument", though I do have <vcl.h> in my header. What am I missing? The second error is: "cannot generate template specialization from auto_ptr<_Tp>". Is it an abstract class? regards, Harp

Help!! TCppWebBrowser ,popup window and Cookie

Postby Cheng » Fri, 05 Sep 2003 09:32:08 GMT

I set up a CppWebBrowser in my software. It acts as a IE and woks fine.
But If It needs to popup a new window with cookie after clicking related
button inside the CppWebBrowser. It works differently from using IE. It
seems the new popup windows's session is different from the origal

I appreciate any help!
Thanks in advance!


Similar Threads: about downloading with session and cookie support at windows application

2.Stop TCPPWebBrowser Javascript Popup

3.TCppWebBrowser Popup Menu Clipboard Copy Operation

The right-click popup menu contains Copy and Select all, which appear to be
supported in that they are enabled and disabled appropriately when text is
selected.  However, Copy does not change the contents of the Clipboard.  Any
ideas how to get this to work, or how to remove the non-functional items from
the menu?

4.Popup window (actually slide up window like AOL/Trillian)

Does anybody have any code to do the kind of status window where the window 
slides up from the bottom displays for a few seconds and then disappears?

I found it for MFC but not C#.

TIA - Jeff.

5.Popup menus and windows move behind app window in XP

All first-level popup windows, whether they be right-click menus, "What's 
this" context popups, drop-down selection boxes, are disappearing behind the 
application window or dialog box being displayed a second or two after being 
displayed.  This behavior is limited to Windows XP and never happens when out 
product is used with Windows 2000.  Sometimes the windows do not disappear.  
When they do, it is only the portion of the window that overlays our 
application window or a dialog being displaying.  It is as if the application 
window or dialog is being redrawn and the order of which window is topmost is 
changed.  Even though the window is drawn behind the frame it overlays, all 
items are still selectable so the popup itemis still on top, but its image 
has been drawn behind.

Our application presents as a floating toolbar and does have the topmost 
flag set so that it never disappears behind other applications.  (It is used 
in concert with other applications and must be visible at all times.)  It can 
also be docked as an AppBar to the top and bottom of the screen.  Docking 
does not change the aberrant behavior of the popup items.

Is anyone aware of a difference between Windows 2000 and XP that would 
explain the bad behavior under XP?  Again, we have no such problems with 
Windows 2000.  Any suggestions for the cause and especially a work-around 
would be greatly appreciated.

6. Newbie Cookie Question - Cookie Not Saved

7. Correct way to copy cookies between Indy cookie managers

8. Cookies just vanishing/dropping/resetting - help!

Return to c++ builder


Who is online

Users browsing this forum: No registered users and 48 guest