On Fri, 9 Jul 1999, Stuart Norton wrote:
> Am I right in saying that putting
>  FrmCustomAlert(CustomAlert,"Sending R...","","");
> means that you're not actually sending pointers, but data which the function
> is taking as being an address to some other string. I tried this, and it
> printed gobbledeegook.

  put this:

   FrmCustomAlert(CustomAlert,"Sending R...", NULL, NULL)

  it will solve your problems.

  maybe "" is interpreted as an empty string, and hence it may
  have a pointer.. and since in C, pointers are terminated with
  NULL "\0" characters, it has a pointer, which points to some
  "strange" memory location.

  when you draw it draws everything it can see until the '\0'
  character (HEX 0x00).

  this would explain your garbage.
 
az. 
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11

Reply via email to