# Remoting SDK

**URL:** https://talk.remobjects.com/c/ro/4.md?page=3

[Latest](https://talk.remobjects.com/latest.md) · [Categories](https://talk.remobjects.com/categories.md) · [Tags](https://talk.remobjects.com/tags.md)

**Page:** 4

---

## [Issue with slow memory leak - Fixed - \[STAThread\]](https://talk.remobjects.com/t/issue-with-slow-memory-leak-fixed-stathread/31322)

<div class="topic-metadata">

**Author:** [@fvancrae](https://talk.remobjects.com/u/fvancrae)\
**Replies:** 3\
**Last updated:** [January 22, 2025, 3:46pm UTC](https://talk.remobjects.com/t/issue-with-slow-memory-leak-fixed-stathread/31322 "2025-01-22T15:46:57Z")

</div>

Last week I noticed one of our RO services (which is a Windows service) leaked memory. More specifically thread handles kept getting created (not threads, just the handles) After a few months a million handles which th…

---

## [Creating RO intf file for both code first as RODL based services](https://talk.remobjects.com/t/creating-ro-intf-file-for-both-code-first-as-rodl-based-services/31296)

<div class="topic-metadata">

**Author:** [@fvancrae](https://talk.remobjects.com/u/fvancrae)\
**Replies:** 2\
**Last updated:** [January 15, 2025, 11:33am UTC](https://talk.remobjects.com/t/creating-ro-intf-file-for-both-code-first-as-rodl-based-services/31296 "2025-01-15T11:33:00Z")

</div>

We have a RO server that now contains both RODL based services and code first based services. We create intf files via a .remoteRODL file. However we notice the .RODL based services are not included. These intf classe…

---

## [RO server in a .NET standard DLL](https://talk.remobjects.com/t/ro-server-in-a-net-standard-dll/31277)

<div class="topic-metadata">

**Author:** [@BernhardFischer](https://talk.remobjects.com/u/BernhardFischer)\
**Replies:** 8\
**Last updated:** [January 14, 2025, 12:11pm UTC](https://talk.remobjects.com/t/ro-server-in-a-net-standard-dll/31277 "2025-01-14T12:11:05Z")

</div>

Hey, are there any known limitations to creating an RO server in a class library (.NET standard)? I created a RO client in a .NET standard class library and am testing it (successfully) in Unity3D with a standalone ROD…

---

## [Could Not Load File or Assembly 'RemObjects.SDK.MSBuild...'](https://talk.remobjects.com/t/could-not-load-file-or-assembly-remobjects-sdk-msbuild/16728)

<div class="topic-metadata">

**Author:** [@tazdeveloper](https://talk.remobjects.com/u/tazdeveloper)\
**Replies:** 14\
**Last updated:** [January 8, 2025, 5:18am UTC](https://talk.remobjects.com/t/could-not-load-file-or-assembly-remobjects-sdk-msbuild/16728 "2025-01-08T05:18:58Z")

</div>

We just had need to update applications that were originally developed with RemObjects 6. We currently use RemObjects 8. My new laptop never had RemObjects 6 loaded and only has Visual Studio 2015 and 2017. On any of …

---

## [How to send log events to client (delphi) example](https://talk.remobjects.com/t/how-to-send-log-events-to-client-delphi-example/30942)

<div class="topic-metadata">

**Author:** [@Marcos\_Cunha\_Lima](https://talk.remobjects.com/u/Marcos_Cunha_Lima)\
**Replies:** 23\
**Last updated:** [December 27, 2024, 7:59pm UTC](https://talk.remobjects.com/t/how-to-send-log-events-to-client-delphi-example/30942 "2024-12-27T19:59:03Z")

</div>

Hi I am trying to create a log visualizer in the client to see events of the server. I’m using Delphi and Remoting SDK. What I am struggling now is in how to send real time data to client. Is there any example of how …

---

## [License](https://talk.remobjects.com/t/license/31239)

<div class="topic-metadata">

**Author:** [@vlr](https://talk.remobjects.com/u/vlr)\
**Replies:** 1\
**Last updated:** [December 24, 2024, 11:38am UTC](https://talk.remobjects.com/t/license/31239 "2024-12-24T11:38:17Z")

</div>

I would like to purchase a license, however, I have not received a response to my email to the Sales department. Could you please assist me with this matter? Thank you.

---

## [How to open file using TROBinaryMemoryStream just to read something?](https://talk.remobjects.com/t/how-to-open-file-using-trobinarymemorystream-just-to-read-something/31227)

<div class="topic-metadata">

**Author:** [@Marcos\_Cunha\_Lima](https://talk.remobjects.com/u/Marcos_Cunha_Lima)\
**Replies:** 1\
**Last updated:** [December 19, 2024, 1:56pm UTC](https://talk.remobjects.com/t/how-to-open-file-using-trobinarymemorystream-just-to-read-something/31227 "2024-12-19T13:56:08Z")

</div>

Hi I am trying to transfer a log file from server to client using TRoBinaryMemoryStream. The problem I am having is that the log system is using the file to write and it prevents me from opening the file if I use the f…

---

## [CodeGen: latests verions (1601 and 1603) generate comments from service methods incorrectly on C++Builder/Delphi](https://talk.remobjects.com/t/codegen-latests-verions-1601-and-1603-generate-comments-from-service-methods-incorrectly-on-c-builder-delphi/31214)

<div class="topic-metadata">

**Author:** [@rgomezc](https://talk.remobjects.com/u/rgomezc)\
**Replies:** 4\
**Last updated:** [December 18, 2024, 3:49pm UTC](https://talk.remobjects.com/t/codegen-latests-verions-1601-and-1603-generate-comments-from-service-methods-incorrectly-on-c-builder-delphi/31214 "2024-12-18T15:49:38Z")

</div>

Hello. I have some methods were we have put some comments on ServiceBuilder, using “Document this Operation”. Some of those comments are multiline comments. Before, generating the \_Intf files created, for instance: …

---

## [How to send an array of string?](https://talk.remobjects.com/t/how-to-send-an-array-of-string/31210)

<div class="topic-metadata">

**Author:** [@Marcos\_Cunha\_Lima](https://talk.remobjects.com/u/Marcos_Cunha_Lima)\
**Replies:** 3\
**Last updated:** [December 17, 2024, 1:09pm UTC](https://talk.remobjects.com/t/how-to-send-an-array-of-string/31210 "2024-12-17T13:09:29Z")

</div>

Hi Another small question. This is my implementation method at server: \[ROService(\_\_ServiceName, \_\_ServiceID)\] TautenticacaoService = class(TRORemoteDataModule) public \[ROServiceMethod\] function Login…

---

## [Should I have to thread-protect an event sink method?](https://talk.remobjects.com/t/should-i-have-to-thread-protect-an-event-sink-method/31209)

<div class="topic-metadata">

**Author:** [@Marcos\_Cunha\_Lima](https://talk.remobjects.com/u/Marcos_Cunha_Lima)\
**Replies:** 1\
**Last updated:** [December 17, 2024, 6:03am UTC](https://talk.remobjects.com/t/should-i-have-to-thread-protect-an-event-sink-method/31209 "2024-12-17T06:03:05Z")

</div>

Hi I am using this code to send client a message (it is called whenever a log line is added at server): ev := (getServer.EventRepository.GetWriter\<IHTTPLogEvents\>(EmptyGUID)); ev.Event.OnSendLog(FormatLog(aLogItem));…

---

## [Long (longer than the timeout) running methods: how to deal with them?](https://talk.remobjects.com/t/long-longer-than-the-timeout-running-methods-how-to-deal-with-them/28691)

<div class="topic-metadata">

**Author:** [@rgomezc](https://talk.remobjects.com/u/rgomezc)\
**Replies:** 11\
**Last updated:** [December 13, 2024, 6:02pm UTC](https://talk.remobjects.com/t/long-longer-than-the-timeout-running-methods-how-to-deal-with-them/28691 "2024-12-13T18:02:12Z")

</div>

Hello, I am implementing a web client for my app and one of the methods from the Server is the one that generates reports and returns the result (usually on PDF). Some of the reports are going to be generated fast, but…

---

## [TROCodegen4 + AsyncSupport Property = '0' seems not to work](https://talk.remobjects.com/t/trocodegen4-asyncsupport-property-0-seems-not-to-work/31112)

<div class="topic-metadata">

**Author:** [@gschoch](https://talk.remobjects.com/u/gschoch)\
**Replies:** 11\
**Last updated:** [December 9, 2024, 1:54pm UTC](https://talk.remobjects.com/t/trocodegen4-asyncsupport-property-0-seems-not-to-work/31112 "2024-12-09T13:54:54Z")

</div>

Hi I tried to disable the AsyncSupport for the TROCodegen4 Generate methods. (background: for large projects, the Async section does only overfill the INTF files and we have not implemented the RO Async Logic in the ba…

---

## [How to select the method (MethodName) used by the LINQ LinqRemoteDataAdater GetTable function](https://talk.remobjects.com/t/how-to-select-the-method-methodname-used-by-the-linq-linqremotedataadater-gettable-function/31148)

<div class="topic-metadata">

**Author:** [@fvancrae](https://talk.remobjects.com/u/fvancrae)\
**Replies:** 2\
**Last updated:** [December 4, 2024, 8:51am UTC](https://talk.remobjects.com/t/how-to-select-the-method-methodname-used-by-the-linq-linqremotedataadater-gettable-function/31148 "2024-12-04T08:51:15Z")

</div>

How do I select a custom GetData request call in C# .NET? I tried simply setting the MethodName remoteDataAdapter\_.DataRequestCall.MethodName = “MyGetData”; but this yields an error Probably the (different) request…

---

## [Implement a session keep alive in TROInMemorySessionManager](https://talk.remobjects.com/t/implement-a-session-keep-alive-in-troinmemorysessionmanager/31048)

<div class="topic-metadata">

**Author:** [@obones](https://talk.remobjects.com/u/obones)\
**Replies:** 3\
**Last updated:** [December 3, 2024, 3:18pm UTC](https://talk.remobjects.com/t/implement-a-session-keep-alive-in-troinmemorysessionmanager/31048 "2024-12-03T15:18:38Z")

</div>

Hello, I have a situation here where (bogus) clients use multiple channels to start/end sessions in parallel which leads to the following situation: Thread1: CreateSession Thread2: CreateSession Thread2: EndSession …

---

## [Is there any problem with UTF8 encoding in C# generated files on latest versions of RO?](https://talk.remobjects.com/t/is-there-any-problem-with-utf8-encoding-in-c-generated-files-on-latest-versions-of-ro/31114)

<div class="topic-metadata">

**Author:** [@rgomezc](https://talk.remobjects.com/u/rgomezc)\
**Replies:** 7\
**Last updated:** [December 2, 2024, 5:06am UTC](https://talk.remobjects.com/t/is-there-any-problem-with-utf8-encoding-in-c-generated-files-on-latest-versions-of-ro/31114 "2024-12-02T05:06:15Z")

</div>

Hello, I have noted in version 1597 and 1599 that the C# generated files (the \_Intf at least) from ServiceBuilder apparently set the BOM incorrectly. To begin with, I am not sure why the comment at the top is in spanish…

---

## [uROSocket.pas - failed to initialize SSL socket](https://talk.remobjects.com/t/urosocket-pas-failed-to-initialize-ssl-socket/31075)

<div class="topic-metadata">

**Author:** [@develop](https://talk.remobjects.com/u/develop)\
**Replies:** 4\
**Last updated:** [November 28, 2024, 9:34am UTC](https://talk.remobjects.com/t/urosocket-pas-failed-to-initialize-ssl-socket/31075 "2024-11-28T09:34:48Z")

</div>

Hello, I think I found a bug in the uROSocket.pas unit, here: procedure TROSocketOpenSSL.LoadCertificate; begin InternalLoadCertificate(fCertFile, fCertFile); end; In this form, an error EROOpenSSLApi occurs in the …

---

## [HostApplicationBuilder Support](https://talk.remobjects.com/t/hostapplicationbuilder-support/31013)

<div class="topic-metadata">

**Author:** [@jgyenese](https://talk.remobjects.com/u/jgyenese)\
**Replies:** 6\
**Last updated:** [January 28, 2025, 9:51am UTC](https://talk.remobjects.com/t/hostapplicationbuilder-support/31013 "2025-01-28T09:51:54Z")

</div>

The Remoting SDK documentation includes a section on using Host.CreateDefaultBuilder() to configure an ApplicationServer. However, Microsoft has since moved on to using the newer Host.CreateApplicationBuilder() structu…

---

## [TROInMemorySessionManager.DoGetAllSessions / DoGetAllSessionsIDs does not return all sessions as expected](https://talk.remobjects.com/t/troinmemorysessionmanager-dogetallsessions-dogetallsessionsids-does-not-return-all-sessions-as-expected/31047)

<div class="topic-metadata">

**Author:** [@obones](https://talk.remobjects.com/u/obones)\
**Replies:** 10\
**Last updated:** [November 26, 2024, 9:42am UTC](https://talk.remobjects.com/t/troinmemorysessionmanager-dogetallsessions-dogetallsessionsids-does-not-return-all-sessions-as-expected/31047 "2024-11-26T09:42:13Z")

</div>

Hello, Inside TROInMemorySessionManager.Destroy there is a call to ClearSessions(False) so that all current session objects are destroyed, with the intent on not leaking memory. However, when there are expired sessions…

---

## [Using/installing RO-SDK on XCode](https://talk.remobjects.com/t/using-installing-ro-sdk-on-xcode/31032)

<div class="topic-metadata">

**Author:** [@rgomezc](https://talk.remobjects.com/u/rgomezc)\
**Replies:** 1\
**Last updated:** [November 23, 2024, 12:49pm UTC](https://talk.remobjects.com/t/using-installing-ro-sdk-on-xcode/31032 "2024-11-23T12:49:51Z")

</div>

Hello, It’s been a while since I tried anything on XCode. I am under the impression that the last time I tried, there was an installer or something like that for RO-SDK for the Apple ecosystem, specifically for working …

---

## [Delphi 12.2 Stream Error](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011)

<div class="topic-metadata">

**Author:** [@allinco1](https://talk.remobjects.com/u/allinco1)\
**Replies:** 6\
**Last updated:** [November 19, 2024, 8:00am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011 "2024-11-19T08:00:01Z")

</div>

Hi, I just installed Delphi 12.2 with Remobjects SDK 10.0.0.1589 My fmx app on Android gives a Stream error. Both 32/64 bits. Not all calls, before I get to this call some other calls are executed and those are succes…

---

## [Grijjy Foundation version is outdated](https://talk.remobjects.com/t/grijjy-foundation-version-is-outdated/30923)

<div class="topic-metadata">

**Author:** [@bobokonijn](https://talk.remobjects.com/u/bobokonijn)\
**Replies:** 5\
**Last updated:** [November 6, 2024, 3:18pm UTC](https://talk.remobjects.com/t/grijjy-foundation-version-is-outdated/30923 "2024-11-06T15:18:57Z")

</div>

The version of the open-source Grijjy Foundation library that comes with Remobjects for Delphi is older than the current release on GitHub. One of my projects uses both Grijjy and Remobjects and there is a parameter con…

---

## [Madatory SOAPAction attribute missing for SOAP 1.1](https://talk.remobjects.com/t/madatory-soapaction-attribute-missing-for-soap-1-1/30951)

<div class="topic-metadata">

**Author:** [@gschoch](https://talk.remobjects.com/u/gschoch)\
**Replies:** 2\
**Last updated:** [November 7, 2024, 2:08pm UTC](https://talk.remobjects.com/t/madatory-soapaction-attribute-missing-for-soap-1-1/30951 "2024-11-07T14:08:37Z")

</div>

Hi I switched from Version 10.0.0.1521 to Version 10.0.0.1595 of the RemObjects SDK. Since then, the SOAP calls to SalesForce backend got refused with the error “Missing SOAPAction”. All the additional details are desc…

---

## [.NET core RO client for .NET FW RO server - unexpected EOF or 0 bytes](https://talk.remobjects.com/t/net-core-ro-client-for-net-fw-ro-server-unexpected-eof-or-0-bytes/30930)

<div class="topic-metadata">

**Author:** [@fvancrae](https://talk.remobjects.com/u/fvancrae)\
**Replies:** 9\
**Last updated:** [October 28, 2024, 12:26pm UTC](https://talk.remobjects.com/t/net-core-ro-client-for-net-fw-ro-server-unexpected-eof-or-0-bytes/30930 "2024-10-28T12:26:49Z")

</div>

I have a .NET FW 4.7.2 code base but I wanted to make a .NET core 8 client There is an issue when calling the RO server functions. I assume making a connection from .NET core to .NET FW should work This is the error I…

---

## [Access Violation in SetAckDetails() if SkipAck = True](https://talk.remobjects.com/t/access-violation-in-setackdetails-if-skipack-true/30895)

<div class="topic-metadata">

**Author:** [@oleksandr.skliar](https://talk.remobjects.com/u/oleksandr.skliar)\
**Replies:** 4\
**Last updated:** [October 14, 2024, 9:32am UTC](https://talk.remobjects.com/t/access-violation-in-setackdetails-if-skipack-true/30895 "2024-10-14T09:32:02Z")

</div>

There are two problems actually: Access Violation in SetAckDetails(). If SkipAck = True, the Event object will not assigned, and this method will raise AV in some High Load scenarios. Possible race condition, there…

---

## [Genericarray option in rodl2code](https://talk.remobjects.com/t/genericarray-option-in-rodl2code/30886)

<div class="topic-metadata">

**Author:** [@impet](https://talk.remobjects.com/u/impet)\
**Replies:** 3\
**Last updated:** [October 10, 2024, 7:45am UTC](https://talk.remobjects.com/t/genericarray-option-in-rodl2code/30886 "2024-10-10T07:45:01Z")

</div>

It seems that the additional option --genericarray:on in command line tool rodl2code only works if the --codefirst option is present. Is this a bug? Or does the utility work as designed?

---

## [Allow specific IP access to server, rejecting all others](https://talk.remobjects.com/t/allow-specific-ip-access-to-server-rejecting-all-others/30841)

<div class="topic-metadata">

**Author:** [@Rory\_Wright1](https://talk.remobjects.com/u/Rory_Wright1)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 2:31pm UTC](https://talk.remobjects.com/t/allow-specific-ip-access-to-server-rejecting-all-others/30841 "2024-09-25T14:31:32Z")

</div>

We have a situation where bots or hackers are trying to access our RO servers from an unused IP, but the RO server(s) is not releasing the connections. Eventually, those connections build up and the server hangs. I am …

---

## [ApplicationServer unit test](https://talk.remobjects.com/t/applicationserver-unit-test/30814)

<div class="topic-metadata">

**Author:** [@techprogeticait](https://talk.remobjects.com/u/techprogeticait)\
**Replies:** 1\
**Last updated:** [September 17, 2024, 2:44pm UTC](https://talk.remobjects.com/t/applicationserver-unit-test/30814 "2024-09-17T14:44:18Z")

</div>

Hi, I’m setting up EUnit test for ApplicationServer. I’d need to start and stop server in Setup, TearDown methods. Is it possible to programmatically do that? Thank you, Giovanni

---

## [ApiMethodException content-type result](https://talk.remobjects.com/t/apimethodexception-content-type-result/30801)

<div class="topic-metadata">

**Author:** [@techprogeticait](https://talk.remobjects.com/u/techprogeticait)\
**Replies:** 5\
**Last updated:** [September 17, 2024, 2:31pm UTC](https://talk.remobjects.com/t/apimethodexception-content-type-result/30801 "2024-09-17T14:31:28Z")

</div>

Hello, I need to return a json structure instead of a plain text raising ApiMethodException (using message parameter o something else extending the exception). Is it possible to change this specific response content-ty…

---

## [Returning a complex type](https://talk.remobjects.com/t/returning-a-complex-type/30791)

<div class="topic-metadata">

**Author:** [@Jorge\_Ortiz\_Zurita](https://talk.remobjects.com/u/Jorge_Ortiz_Zurita)\
**Replies:** 2\
**Last updated:** [September 16, 2024, 11:01pm UTC](https://talk.remobjects.com/t/returning-a-complex-type/30791 "2024-09-16T23:01:31Z")

</div>

Hello, I have a question. It is correct this implementation for a complex type named tcliente I am doing some testing with complex types, and I want to understand it all before doing it in production. I have this type…

---

## [Disconnect when getting calls from specific IPS](https://talk.remobjects.com/t/disconnect-when-getting-calls-from-specific-ips/30711)

<div class="topic-metadata">

**Author:** [@Jorge\_Ortiz\_Zurita](https://talk.remobjects.com/u/Jorge_Ortiz_Zurita)\
**Replies:** 8\
**Last updated:** [September 3, 2024, 5:32pm UTC](https://talk.remobjects.com/t/disconnect-when-getting-calls-from-specific-ips/30711 "2024-09-03T17:32:16Z")

</div>

Hello, we have a database with the range IPS for our country. We only want to allow connections from ips in those ranges. Also, we have blacklisted IPS that tried all the time to connect illegally to our server. Where…

[Previous page](https://talk.remobjects.com/c/ro/4.md?page=2)

[Next page](https://talk.remobjects.com/c/ro/4.md?page=4)
