trichview.com

trichview.support




Re: AddNLTag


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/31/2002 23:48:01


No, this code is not correct, and the most probably will cause a crush

(if rvoTagsArePChars in Options, on closing/clearing component will attempt

to free memory under sting referenced by tag (and program will crush);

otherwise, soon or later a contents of editor will be modified, and a link

to string referenced by the tag will point to nothing).


I'll create a program that do that you need tomorrow.



>

> I tried with the AddNLTag method like this

>

> Here's what i have :

>

> MyP : ^string;

> tst : string;

>

> MyP := @tst;

> tst := 'hi';

> RVE.AddNLTag(tst,3, 1, Integer(@tst));

>

> I'm not sure that the AddNLTag will do what i want it to do...any clue ?





Powered by ABC Amber Outlook Express Converter