Some questions

uROComInit: Why I should include this unit to the server? Does it have to do with MSXML? If it does have to do with MSXML, how I can remove this prerequisite? I noticed in a discussion about OpenXML and looked at the source code and found the conditional define RemObjects_OpenXML, can I use that instead of the MSXML implementation? Can I also use NativeXML (maybe)?

How I can have two (or more) libraries inside the same executable? Each one will listen to different port and of course each one will not know the other.

How I can build the metadata for the library in code? Currently .rodl is linked inside the server resources (RCDATA\RODLFILE), my concert is that anyone with access to the server executable easily can extract the .rodl and recreate a server or a client.

I noticed that the .dcu for each platform do not exist therefore each time I build a project Delphi also compiles RO SDK units together with my project’s ones. Do I have to build the packages to get the .dcu files (Release and Debug) for each platform to avoid the above situation? Using RO SDK version 6.0.60.1009 .

Hello,

pdrivil said: uROComInit: Why I should include this unit to the server? Does it have to do with MSXML? If it does have to do with MSXML, how I can remove this prerequisite? I noticed in a discussion about OpenXML and looked at the source code and found the conditional define RemObjects_OpenXML, can I use that instead of the MSXML implementation? Can I also use NativeXML (maybe)?

You are right, uROComInit is used for MSXML parser. You could use OpenXML instead with appropiate define directive. You couldn’t use NativeXML parser, cause it is not implemened in RO.

pdrivil said: How I can have two (or more) libraries inside the same executable? Each one will listen to different port and of course each one will not know the other.

You could have several services in one library, but it is not possible to have several libraries in one executable.

pdrivil said: How I can build the metadata for the library in code? Currently .rodl is linked inside the server resources (RCDATA\RODLFILE), my concert is that anyone with access to the server executable easily can extract the .rodl and recreate a server or a client.

RODL describes interface only, so it is not possible to recreate server or client by it. Nevertheless, you could comment
{$R RODLFile.res}
directive in the source code of the project.

pdrivil said: I noticed that the .dcu for each platform do not exist therefore each time I build a project Delphi also compiles RO SDK units together with my project's ones. Do I have to build the packages to get the .dcu files (Release and Debug) for each platform to avoid the above situation?
. You could compile BuildPackages_DXX package in '\RemObjects Software\RemObjects SDK for Delphi\Dcu\DXX' and Dcu's will be there.

Best regards