delphi-2007
gethostbyaddr too slow
I use the following code, results are correct, but gethostbyaddr takes around 30 seconds. function IPAddrToName(IPAddr: string): string;[详细]
2023-01-11 09:18 分类:问答How can I avoid refresh with TWebBrowser
I have a TWebBrowser component that show a Google maps page. The problem is that when user press F5 the page refresh and page reloads. This cause javascript variables to reinitialize and get out of sy[详细]
2023-01-11 08:58 分类:问答How to return an error code with Halt(n) from an Exception block with D2007?
Update: It seems to be specific to D2007. It works in D开发者_如何学运维2010 like it worked in older version.[详细]
2023-01-10 18:30 分类:问答How to deal with TcxCustomGrid-TcxCustomGrid Drag and Drop when I drag an object to the outside of the window?
I have a TcxGridDBTableView in a window, and dragmode is set to dmAutomatic. When I drag and drop a row above another, it works fine. But when i drag and drop a row to the outside of the window, I\'m[详细]
2023-01-10 10:55 分类:问答tIdHttpServer - EidConnClosed before sending a reply to POST
I am having trouble implementing a HTTP server with indy 10 in delphi 2007. I have set up a simple event handler for the CommandGet event.[详细]
2023-01-10 07:18 分类:问答What can cause SysFreeString to hit an Int 3 breakpoint?
I\'ve got some code that worked fine under Delphi 2007 but breaks under D2010.It involves passing in a string, converting it to a PWideChar (sp开发者_StackOverflowecifically, a WideString pointer, not[详细]
2023-01-10 06:48 分类:问答Can I pass an interface (IInterface) to a DLL?
I have got a DLL and a program, both written with Delphi 2007. The program passes an interface, which descends from IInterface and does not have a GUID (so no COM here) to the DLL which stores it for[详细]
2023-01-10 06:08 分类:问答Deadlock on tidtcpserver.active = false (Delphi2007/indy10)
I am having a problem with some code that was written by a developer that has now left our company, the code implements a tcpserver that responds to an XML based protocol. This appears to be working a[详细]
2023-01-09 11:49 分类:问答Acquire PDF returned after Posting to a web site using TWebBrowser
I am using Delphi 2007.I can succes开发者_开发百科sfully Post data to a web site using WebBrowser.Navigate, but afterwards, when that site returns a PDF, while it appears on the screen of the Browser,[详细]
2023-01-09 01:00 分类:问答Stringlist with delimiter as a string?
I have an attribute called HistoryText in a object that is stored as a string. I want to show all rows in a grid. I should be able to delete and edit rows in the grid.[详细]
2023-01-08 18:12 分类:问答