Problem
#1

I want to create a DLL that asks program for info and sends it to somewhere else. But when I call (static cell AMX_NATIVE_CALL) function, then it won't work anymore, because it cannot read or write protected memory. How to get rid of that?

Code:
char * Info;

static cell AMX_NATIVE_CALL n_SendServerInfo( AMX* amx, cell* params )
{
  char *szInfo;
  amx_StrParam(amx, params[1], szInfo);
  Info = szInfo;
  return true;
}
Reply


Messages In This Thread
Problem - by Blefish - 20.02.2010, 11:45
Re: Problem - by toby` - 21.02.2010, 13:52
Re: Problem - by toby` - 21.02.2010, 13:55
Re: Problem - by toby` - 21.02.2010, 13:56
Re: Problem - by Blefish - 23.02.2010, 12:08

Forum Jump:


Users browsing this thread: 1 Guest(s)