# IROEventWriter deprecated

**URL:** https://talk.remobjects.com/t/iroeventwriter-deprecated/5026
**Category:** Remoting SDK
**Created:** [September 22, 2014, 1:05pm UTC](https://talk.remobjects.com/t/iroeventwriter-deprecated/5026 "2014-09-22T13:05:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bnx2012](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@bnx2012](https://talk.remobjects.com/u/bnx2012)
#### Post date: [September 22, 2014, 1:05pm UTC](https://talk.remobjects.com/t/iroeventwriter-deprecated/5026/1 "2014-09-22T13:05:15Z")

</div>

I have some code which uses an interface derived from IROEventWriter, generated by the older RemObjects SDK. In checking out why it doesn’t compile in the new version (8.0.81) I see that IROEventWriter is deprecated from Delphi10 up. I cannot though find any reference to this in the change log or the documentation.

Could someone point me at the relevant change please, and tell me what my code should be now?

```
xEvents := (BS2Client.ROEventRepository as IClientToServerEvents_Writer);
xEvents.ExcludeSessionList := False;
xEvents.SessionList.Clear;
xEvents.SessionList.Add(xSessionList[nLoop]);
xEvents.OptionChanged(EmptyGUID, nOption, szValue);

```

Thanks, Matthew

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [September 22, 2014, 1:52pm UTC](https://talk.remobjects.com/t/iroeventwriter-deprecated/5026/2 "2014-09-22T13:52:30Z")

</div>

```auto
I*_Writer interfaces were moved from *_intf.pas to *_invk.pas because they are required only for server so you need to include your _invk into uses section.

```

---

<div class="post-metadata">

### Author: ![bnx2012](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@bnx2012](https://talk.remobjects.com/u/bnx2012)
#### Post date: [September 22, 2014, 2:07pm UTC](https://talk.remobjects.com/t/iroeventwriter-deprecated/5026/3 "2014-09-22T14:07:46Z")

</div>

Excellent - easy and sensible solution. I was worried I’d have to change my code!

Many thanks.
