AppClass (LIB ) - migrate from VO28SP4 to X#

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
JKCanada604
Posts: 49
Joined: Wed Aug 11, 2021 11:03 am

AppClass (LIB ) - migrate from VO28SP4 to X#

Post by JKCanada604 »

Hi Chris,

I have sent the 7z file to you directly.

Thank you, keep well and,

Cheers, JK
User avatar
Chris
Posts: 4898
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

AppClass (LIB ) - migrate from VO28SP4 to X#

Post by Chris »

Hi John,

Thanks for the file! I see the problem, it's a bug in the compiler, it fails because of the multiple declarations of the PRIVATE:

PRIVATE &cVarName

in the function VOSExecute(). Nothing wrong with your code, it's just a compiler problem, I will open a report for Robert to fix this, probably in the coming build. Until this is fixed, you can use a temp workaround, replace the above PRIVATE declarations with this:

__MemVarDecl(cVarName, true)

You will need to make this change in 5 places in this function and then the code will compile without errors! After the compiler fix is released, the you can restore back your previous code with PRIVATE &cVarName
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Kees Bouw
Posts: 119
Joined: Wed Nov 06, 2019 11:35 am
Location: Netherlands

AppClass (LIB ) - migrate from VO28SP4 to X#

Post by Kees Bouw »

JKCanada604 wrote:Hi Chris!

Thank you for your great videos!

I really like one of the tricks that you showed us creating a local variable within a method to hold a class so that it can be executed right from the local rather than hunting up the object's methods.. very crafty!
Which video is this exactly? Thanks.
User avatar
Chris
Posts: 4898
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

AppClass (LIB ) - migrate from VO28SP4 to X#

Post by Chris »

Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply