VO Application ported to X#

This forum is meant for anything you would like to share with other visitors
User avatar
wriedmann
Posts: 3757
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

VO Application ported to X#

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

VO Application ported to X#

Post 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
User avatar
wriedmann
Posts: 3757
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

VO Application ported to X#

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

VO Application ported to X#

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

VO Application ported to X#

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
markus.lorenzi@dvbern.ch
Posts: 114
Joined: Mon May 02, 2016 9:10 am
Location: Schweiz

VO Application ported to X#

Post 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 75 times
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

VO Application ported to X#

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
markus.lorenzi@dvbern.ch
Posts: 114
Joined: Mon May 02, 2016 9:10 am
Location: Schweiz

VO Application ported to X#

Post by markus.lorenzi@dvbern.ch »

Hi Chris

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

Markus
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

VO Application ported to X#

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
markus.lorenzi@dvbern.ch
Posts: 114
Joined: Mon May 02, 2016 9:10 am
Location: Schweiz

VO Application ported to X#

Post by markus.lorenzi@dvbern.ch »

Hi Chris

yes I get this meassage with all my 2773 AEFs.

Markus
Post Reply