fbpx
× Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET

Help Xporting VO to X#

More
1 year 6 months ago #1 by Sukhoon Ko
Help Xporting VO to X# was created by Sukhoon Ko
I converted VO project to X# using VO-xPorter.
Opened the project in visual Studio and changed the Application Dialect to "Core" from "Visual Objects". I tried to build it and get X9019 Compiler option 'vo5'(Implicit CLIPPER calling convention) is not supported for dialect COre error message.
Can you let me know what I need to do to fix this error?

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #2 by Chris Pyrgas
Replied by Chris Pyrgas on topic Help Xporting VO to X#
Hi,

Since this is an application that was ported from VO, so it uses things like USUALs, ARRAYs etc, you must keep the Dialect to "Visual Objects", this is the compatibility mode the compiler must be using for compiling such code.

The Core dialect is used only for applications that do not use any VO-specific feature. In case you indeed need to use Core, this error message will go away if you go the Project Properties, "Language" page and set the option "Implicit CLIPPER calling convention" to false. But as I said, most probably you need to use the Visual Objects dialect.

Chris

XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #3 by Sukhoon Ko
Replied by Sukhoon Ko on topic Help Xporting VO to X#
Thank you Chris.

Now, I am having problem opening xsfrm. I would guess this is the windows/form but when I click on it , it does not do anything.
Do I need any add-on or anything to open this file? If this is not form file then please let me know how to convert the form/windows.

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #4 by Chris Pyrgas
Replied by Chris Pyrgas on topic Help Xporting VO to X#
Hi,

Yes, editing VO-style windows is not supported yet, this is one of the features that will follow in the next builds.

Btw, I'm interested to hear your experience with the porting process, did the project that you ported to x# compiled and run, or did you receive error messages?

Chris

XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #5 by Sukhoon Ko
Replied by Sukhoon Ko on topic Help Xporting VO to X#
I've xported my small VO application and it converted like a magic. Had some errors but that was due to using incorrect VulcanRT.dll and VulcanRTFUncs.dll. Once I changed to use 3.0 version of Vulcan dlls, I was able to compile and run the application.
This is awesome. Thank you so much Chris!!!
We will convert our main application soon. Will keep you posted.

Please Log in or Create an account to join the conversation.