Run time error 3: Stack/heap collision (insufficient stack size)
#1

Can somebody offer me some advice on why this code is throwing the Run time error 3?
I've printed out the result of the concatenated string and it is as I expected.

The full URL that I am trying to read XML data from is this
http://query.yahooapis.com/v1/public...Falltables.env

Код:
new query[300] = "query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance%0A.quotes%20where%20symbol%20in%20(%22";
strcat(query, ticker);
strcat(query, "%22)%0A%09%09&diagnostics=true&env=http%3A%2F%2Fdatatables.org%2Falltables.env");
HTTP(SessionIndex, HTTP_GET, query, "", "OnSearchResponse");
When it gets to the HTTP method, the error below is thrown and OnSearchResponse isn't called.
Код:
[14:09:22] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[14:09:22] [debug]  Stack pointer (STK) is 0x3A6F80C, heap pointer (HEA) is 0x3A710B8
[14:09:22] [debug] AMX backtrace:
Reply
#2

Bump
Reply
#3

Anyone?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)