Hi Chris,
I have sent the 7z file to you directly.
Thank you, keep well and,
Cheers, JK
AppClass (LIB ) - migrate from VO28SP4 to X#
-
- Posts: 49
- Joined: Wed Aug 11, 2021 11:03 am
AppClass (LIB ) - migrate from VO28SP4 to X#
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
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
XSharp Development Team
chris(at)xsharp.eu
AppClass (LIB ) - migrate from VO28SP4 to X#
Which video is this exactly? Thanks.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!
AppClass (LIB ) - migrate from VO28SP4 to X#
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu