I want to do this:
While my internet explorer com object is openening a page, I start a thread that opens a connection with the server of that page on port 80. The thread will check if the page exists or if a 404 (page not found) occurs.
Why do I want to do it like this and not just read the...
I'm using a TClientSocket component. When I do a connect to an internet address (not ip), but I'm not connected to the internet I get an ESocketEror resulting in the following message: "Windows socket error: (11001), on API 'Async Lookup'.I'm trying to catch this ESocketError. But I can't...
I am aware of this. I also know that if you look at the debugger options you can disable this option. I just want to catch the exception so I can output my own error message instead of this one:
Windows socket error: (11001), on API 'Async Lookup'
I'm using a TClientSocket component. When I do a connect to an internet address (not ip), but I'm not connected to the internet I get an ESocketEror resulting in the following message: "Windows socket error: (11001), on API 'Async Lookup'.I'm trying to catch this ESocketError. But I can't...
Hi,
I have some code that at a certain points wants to kill it's own object.
A simple delete can't do the work here because the code will return to the object which by then has been destroyed. This way will automaticly generate an EAccessViolation.
I figured out how I could do this properly...
I want to be able to receive an OnClick event from any anchor (<a>) tag from a TCppWebBrowser component. Can anybody tell me how? I found some code on msdn but it didn't help me too much because they don't use a TCppWebBrowser component (ofcorz).
I want to be able to receive an OnClick event from any anchor (<a>) tag from a TCppWebBrowser component. Can anybody tell me how? I found some code on msdn but it didn't help me too much because they don't use a TCppWebBrowser component (ofcorz).
I want to know how to make my TPageControl object look like the one that builder has for their edit windows. If you look at the builder edit window, it has on the right a tab with buttons that can always accessed from any tab. I want to build something like this so that my TTabSheets can be...
I was able to make it work, so forget I ever asked it. The actual code is this:
TTabSheet *pPage = new TTabSheet(this);
pPage->PageControl = Sessions;
pPage->TabVisible = true;
pPage->Caption = "New";
noBrowsers++;
browsers[noBrowsers] = new TCppWebBrowser(MainForm)...
I'm trying to make a program that can open multiple sessions of a TCppWebBrowser component. The problem I have is that I can't seem to create it dynamicly (at runtime). I'm doing something (don't have the actual code here) like this, when opening a new session:
noSessions++...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.