parsecstrap
(Parsecs Trap)
October 24, 2016, 10:31am
21
But I have still a problem with the names of the units. Can you look at it? If I am executing the following code, I am getting the wrong names. I am using the beta version 9.1.100.1267
"C:\Program Files (x86)\RemObjects Software\RemObjects SDK (Common)\Bin\rodl2code.exe" http://yourserver.example.com:8099/bin --type:intf --platform:delphi --language:delphi
the generated files have in its unit-names the following text:
_Intf.pas
unit ./<name>
_ServerAccess
unit ./<name>.pas;
Hi Evgeny,
I have tried the version 9.1.100.1269. The bug is still there. Or am I using the wrong one?
Best regards!
EvgenyK
(Evgeny Karpov)
October 26, 2016, 8:16am
24
9.1.100.1269 was released Oct 19, 2016, but this issue was fixed yesterday ā¦
fix will be present in next beta build
Oh sorryā¦ when is the next build? Or what are the cycles of the builds? Thank you for your answers and sorry for the annoyed questions
EvgenyK
(Evgeny Karpov)
October 26, 2016, 8:25am
26
usually we release beta every week.
btw, you can compile rodl2code
manually from https://github.com/remobjects/ROCodeGen
Can I compile it with delphi!?
EvgenyK
(Evgeny Karpov)
October 26, 2016, 9:54am
28
no, you need to use elements for compiling rodl2code
.
you can use this version of rodl2code until we ship new beta or RTM:
rodl2code.zip (310.8 KB)
parsecstrap
(Parsecs Trap)
October 26, 2016, 10:06am
29
Great! Thank you! Unfortunately I donāt have the elements
EvgenyK
(Evgeny Karpov)
October 26, 2016, 10:13am
31
you didnāt specify what languages you are using so Iāve uploaded a set of files that generates Delphi.
Iāve attached required lib
Swift.zip (40.0 KB)
parsecstrap
(Parsecs Trap)
October 26, 2016, 10:15am
32
EvgenyK:
s you are using so Iāv
I am using Delphi. Pure Pascal
Iāve tried it! It works how expected! Thank you!
parsecstrap
(Parsecs Trap)
October 26, 2016, 10:21am
33
One more question:
Is it possible to add a feature changing the string in the _ServerAccess file?
from
const SERVER_URL = 'http://yourserver.example.com:8099/bin';
to something predefined, e.g. the servername from which the RODL comes from, e.g.
const SERVER_URL = 'http://myservername:1234/bin';
So I donāt have to change manually this stringā¦
EvgenyK
(Evgeny Karpov)
October 26, 2016, 11:31am
34
fixed.
rodl2code.zip (350.9 KB)
1 Like
parsecstrap
(Parsecs Trap)
October 26, 2016, 11:34am
35
Wow! Great! Thank you very much! It works!
mh
(marc hoffman)
October 26, 2016, 3:57pm
36
New beta build is also out now.
1 Like
Sorry, there is still a bug in generating of the _ServerAccess unit
Inside it has still the extension in the unit name, i.e.
unit <name>.pas;
Could you fix it please? Thank you!
EvgenyK
(Evgeny Karpov)
October 28, 2016, 8:47am
38
try this rodl2code.zip (350.9 KB)
So, now I have another problem
I am using the last stable release 9.0.97.1245 to create Remoting SDK services. And if I am using the rodl2code.exe from the last beta release it generates me the _Intf and _ServerAccess units which are unfortunatelly not compatible to the version 9.0.97.1245.
If itās not a big deal could you provide please a rodl2code.exe which generate these units compatible to the last stable version? It would be really great! And thank you very much in advance!!!
Best regards!