xsharp.eu • VO Application ported to X# - Page 4
Page 4 of 5

VO Application ported to X#

Posted: Wed Jul 26, 2017 8:23 am
by wriedmann
Hi Juraj,

I don't think this error comes from these lines, but a line or more before.

So please show us the code or better attach one of the PRG files here.

Wolfgang

VO Application ported to X#

Posted: Wed Jul 26, 2017 8:43 am
by Juraj
Hi Wolfgang

after delete "_field->" from line < lOk:=oZoz:CreateOrder("ZOZICO",WorkDir()+"ZOZICO","ICO",{||_field->ICO}) >
most errors have been removed.Super.
Other errors associated with use bBrowser. I use in this code bBrowser 3.0.10 for VO 2.6. How to import bBrowser into X# app?

Juraj

VO Application ported to X#

Posted: Wed Jul 26, 2017 8:47 am
by wriedmann
Hi Juraj,

I have tried to move the VO version of bBrowser to X#, but is using too much low-level code.

You should buy the upgrade to the bBrowser.NET, and use the Vulcan version, or if you like, recompile it in X#.

Wolfgang

VO Application ported to X#

Posted: Wed Jul 26, 2017 2:02 pm
by Chris
Hi Juraj,

the "_field->" part in your code should not be a problem at all, there is something else that was causing the error message. Could you please post that .prg to have a look?

For bBrowser, as Wolfgang said, you need the .Net version that Joachim has created. Currently there's a vulcan version only, but it is very easy to recompile it also with X# if you want.

Chris

VO Application ported to X#

Posted: Wed Jul 26, 2017 2:12 pm
by Chris
Hi Markus,

Can you please send me the .aef to try to port it here through the debugger?
Should be something in the .aef that was unexpected by Fabrice's library which reads the file, but I am sure it will not be difficult to find and fix. But generally yes, we should support any version >= 2.5.

Also guys remember that in Vulcan it was a prerequisite to use VO28 for Transporter to work, but a) Transporter was reading data directly from the repo and b) Vulcan was not as compatible with VO in general as X# is. So with X# it is not that much of a problem if you port directly from VO 2.6/2.7 or even 2.5, although it is indeed easier if the app compiles in 2.8.

Chris

VO Application ported to X#

Posted: Wed Jul 26, 2017 4:35 pm
by markus.lorenzi@dvbern.ch
Hi Chris

here ist the 2.7b-1 (2773) version of my test program which generates the error message.

HTH Markus

FeWiExplorer.zip
(100.53 KiB) Downloaded 74 times

VO Application ported to X#

Posted: Wed Jul 26, 2017 10:16 pm
by Chris
Hi Markus,

Thanks, the problem was that there were 3 unterminated strings (without a zero at the end) in the .aef and that was causing an exception. I have added a check for this case and now VOXporter works properly also with that file. Thanks again for reporting!

Chris

VO Application ported to X#

Posted: Thu Jul 27, 2017 6:59 am
by markus.lorenzi@dvbern.ch
Hi Chris

Thanks for your quick fix. That will save me a lot of time.

Markus

VO Application ported to X#

Posted: Thu Jul 27, 2017 1:22 pm
by Chris
Hi Markus,

Do you mean that you get that error also with other .aef files?
If you do, I will send you a quick fix.

Chris

VO Application ported to X#

Posted: Thu Jul 27, 2017 1:23 pm
by markus.lorenzi@dvbern.ch
Hi Chris

yes I get this meassage with all my 2773 AEFs.

Markus