If I use the Delphi to generate the Intf file everything works, but If I have use VisualStudio (rigth click->Update Interface File) using the same URI I got the error:
Cannot read RODL library from source namedpipe://123456@./bin. Cannot load RODL from provided server Uri. Invalid URI: The hostname could not be parsed.
I already tried using the URI namedpipe://123456@localhost/bin but doesnt works too. I get the error:
Cannot read RODL library from source namedpipe://123456@localhost/bin. Cannot load RODL from provided server Uri. Unable to connect to pipe. Error code 5
I don’t believe the Named Pipe channel supports serving the RODL. Is this a Codefirst server or a RODL based server? in the latter case it would be simplest just use the rodl from the server to generate the Into for the client… otherwise, you might need to expose a second server channel, say HTTP, to obtain the RODL, even if you won’t use it (or even disable it) for production.
have you used the same the NetworkByteOrder value on Delphi server and .NET client (both are true or both are false)?
have you used the same user account? for example, this error can be raised if server is launched as Windows Service and Visual Studio is launched under usual user account.
You are sure. After changing NetworkByteOrder to True on my Delphi server and starting it manually (not from Delphi which runs as administrator), everything works.