RE: Altering incoming text
In both cases you will be getting a copy of the original. Presumable for c, patchou copies it into a new variable before passing it into the function or whatever. In VB it is defined as a copy
hence you CANNOT change the original text
and anyways, the original text gets dumped into msgplus independantly from the notification plugin call. The first 6 chars are stripped and then the sText gets dumped to messenger and separately the notifcation code is executed. (the order is irrelevant)
ps, choli
Actually is a const char*
this means the compiler wont let you change it unless you cast it to (char*) and if you do a cast, it will cause a runtime error, so no, you cannot change it in c at all
(so it doent have to be copied at all actually, cos theres no write access to it)
This post was edited on 04-24-2004 at 12:55 PM by optimism_.
HTTP 404 - Signature Not Found
|