I am a 3rd party developer using ipworks (http://www.nsoftware.com/ipworks/)
TCP/IP Delphi component to connect to IQFeed 4.8 ( using sockets on localhost (127.0.0.1)
I am making a request for history to the IQFeed client (HD,... ) and once the history is received, I disconnect the socket and free the socket connection.
PROBLEM: After I free the socket (IPWorks Socket) in our program, IQFeed outputs the following in the outputdebug log.
HEAP: Free Heap block 1da81da0 modified at 1da81e2c after it was freed
Ignoring Non-user Breakpoint at $76FD04E5.
If I do not free the socket (and cause a memory leak) the error does not occur.
It appears that IQFeed is modifying some memory after its been free'd.
Any thoughts ?
p.s. When this error occurs we sometime get random memory problems in the program as the memory that is over written is sometimes being used by something else.