fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: The dialect 'Vulcan' requires a reference to the runtime DLLs

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 11 hours ago #1

  fxsharp's Avatar Topic Author fxsharp Offline Posts: 15
Total noob here, how does one satisfy the following dependencies when switching to Vulcan dialect in VS2017:

The dialect 'Vulcan' requires a reference to the runtime DLLs VulcanRT.DLL and VulcanRTFuncs.DLL or XSharp.Core.DLL and XSharp.RT.DLL.

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 11 hours ago #2

  wriedmann's Avatar wriedmann Offline Posts: 1491
Hi,

the Vulcan dialect requires support for the Xbase datatypes that have no equivalent in the .NET Framework. There some sort of runtime is required.
Currently, X# supports both the Vulcan.NET runtime and the X# runtime.
Since I don't think that you have the Vulcan.NET runtime, you need to add references to the two mentioned X# runtime DLLs: XSharp.Core and XSharp.RT. If you have installed X# with the option to have the runtime installed in the GAC, you can select these like any other reference to the .NET Framework in the GAC.
If you don't have them in your GAC, you need to select them from the Redist folder of your X# installation.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 9 hours ago #3

  fxsharp's Avatar Topic Author fxsharp Offline Posts: 15
Hello wriedmann,

When I installed XSharp I selected full installation, which includes: 'Register runtime DLLs in the GAC'.

If I create a new project, selecting Vulcan Application or VO I get the same error. I tried reinstalling XSharp and it didn't help

Btw, I'm trying to adapt the code in the WinformDBF.viaef sample app you uploaded in another thread to VS.

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 7 hours ago #4

  wriedmann's Avatar wriedmann Offline Posts: 1491
Hi,

maybe I should not try anymore to help someome if I'm not able to express what I mean.

You have to add these references manually if you select the Vulcan or VO dialect, and this will also be the case with the Xbase++ or FoxPro dialect.
You can reinstall X# as many times as you like: if you don't add these references it will never work, and the compiler error is relatively clear, I think.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 6 hours ago #5

  fxsharp's Avatar Topic Author fxsharp Offline Posts: 15
Like I said before, I'm a beginner. I wouldn't know how to add the references because I just started using VS2017 and .NET as of two weeks ago. And I have never used VO/Vulcan either. I have looked for howto's and guides and it's very dry out there. With no experience in either of the two, how does one begin?

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 5 hours ago #6

  FFF's Avatar FFF Offline Posts: 532
If you are new to VS, X#, and .net, i'd start with Xide. I expect you installed it with the x# install?
Run it, create a new project, easiest via right-click on "empty project". In the project, right-click, new application. Select one of the provided samples.
BTW, if you have no VO/VN background, why do you want to use Vulcan dialect at all? This certainly is a dead end, as the company which produced it is gone...
If you want to take profit of runtime funcs and types, i'd start with "X# runtime app for a console type starter, or with the Standard VO MDI X#runtime for a shell with datawindows (both of them on the X# tab).

Finally, it might help if you introduce yourself shortly, with some hints about your background - might help us better help you, if we have some clue about your "level" ;)

Happy x#-ing
Karl

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 4 hours ago #7

  fxsharp's Avatar Topic Author fxsharp Offline Posts: 15
FFF, thanks for the help. I wouldn't know that VO/Vulcan is a dead end. The reason I was trying VO and Vulcan is because of the WinformDBF.viaef sample, which I was able to run using XIDE. XIDE looks good and is definitely snappier, but I'm also testing DevExpress and Syncfusion controls and wouldn't have a clue how to get those working under XIDE.

My programming expertise is based on FPD, which I've done too many things on, and frankly, took it to the limits. I have no issues writing systems from an traditional procedural/RDMS perspective, been there done that. The issue is the complexity associated with modern, versatile development environments and having no experience with Clipper and VO. Conceptually, dBase/FP/VFP made things very easy (opposite of today's dev environments), but of course you ran into limitations, almost from the start. That is why I always wanted to learn Clipper, but never got around to it.

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 2 hours ago #8

  Chris's Avatar Chris Offline Posts: 1056
In order to add references in VS, you need to go to the Solution explorer window, right click on the name of the app, then select Add->Reference. Then select the ".Net" page, and select the entries XSharp.Core, XSharp.RT and XSharp.VO. Those should now be visible under the <References> node in the solution explorer.
XSharp Development Team
chris(at)xsharp.eu

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 1 week 7 minutes ago #9

  wriedmann's Avatar wriedmann Offline Posts: 1491
Hi Jorge,

Like I said before, I'm a beginner. I wouldn't know how to add the references because I just started using VS2017 and .NET as of two weeks ago. And I have never used VO/Vulcan either. I have looked for howto's and guides and it's very dry out there. With no experience in either of the two, how does one begin?


so do you don't have any experience with compiled languages? Or the concept of typed variables?
Then X# makes your learning much, much easier, but you have many, many new things to learn.

Do you are interested to learn some concepts?
Then feel free to ask.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 6 days 23 hours ago #10

  wriedmann's Avatar wriedmann Offline Posts: 1491
Hi Jorge,

if you would like to know what the dialects mean, please look at this page:
docs.xsharp.it/doku.php?id=xsharp_dialects
To see the different features of the dialects, please look here: www.xsharp.info/help/dialects.html
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 6 days 23 hours ago #11

  fxsharp's Avatar Topic Author fxsharp Offline Posts: 15
Chris, thank you. Got it working. Had to change the Platform target to x86 and add several more references.

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 6 days 23 hours ago #12

  fxsharp's Avatar Topic Author fxsharp Offline Posts: 15
wriedmann, yes, I do understand those concepts. My experience with compilers is limited though. Watcom and MSC for DOS, but that was to compile existing FPD libraries with small tweaks, never wrote any DOS C apps. MSVC back in the day to modify and recompile third-party apps once again. Some C noodling in Linux, a few small programs I've written, but in Linux I mostly modify existing packages and do some kernel hacking here and there. I've also compiled and rolled out full distros for embedded systems, but that's not really programming. Just a tiny bit of Clipper and xHarbour. That's pretty much it.

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 6 days 22 hours ago #13

  wriedmann's Avatar wriedmann Offline Posts: 1491
Hi Jorge,

now that you application compiles and works: where do you think to need some explanations or informations?

Of course X# (and the entire .NET world) is a completely different beast when compared to to Clipper and xHarbour.
VO was a big step forward when compared to these DOS languages, and it was really a shock for me, even if my background before Clipper was Cobol and C (writing DOS, Unix and Novell Netware programs).
And again the step from VO to .NET was big again for me - maybe because I'm not more in the age of 20, and because I need to understand what is going on.
Therefore I can understand how big the "culture shock" must be for someone that comes directly from Clipper to X#....
If you would like to see the speed difference between typed and untyped variables, try this code (needs VO or Vulcan dialect and the X# runtime):
function Start(  ) as void
local nWeak
local nStrong as int
local dStart as DateTime

System.Console.WriteLine("Starting, non typed")
dStart := DateTime.Now		
for nWeak := 1 to 10000000
  nop
next
System.Console.WriteLine("Terminated, non typed, duration " + ( DateTime.Now - dStart ):ToString() )
	
System.Console.WriteLine("Starting, typed")
dStart := DateTime.Now		
for nStrong := 1 to 10000000
  nop
next
System.Console.WriteLine("Terminated, typed, duration " + ( DateTime.Now - dStart ):ToString() )
	
return

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

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

The dialect 'Vulcan' requires a reference to the runtime DLLs 6 days 22 hours ago #14

  fxsharp's Avatar Topic Author fxsharp Offline Posts: 15
wriedmann, thanks for the links. I've been rushing things because I'm on a 30 day trial of DevExpress and Syncfusion and I want to be able to populate grids and list boxes. It will probably be better to spend more time learning the ropes then ask for another trial period. I tried your sample, here's what I got:

Starting, non typedntinue...
Terminated, non typed, duration 00:00:00.6469739

Starting, typedo continue...
Terminated, typed, duration 00:00:00.0210397

Yes, typed is much faster by 30.75 times. That is one reason I like C so much.

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

Last edit: by fxsharp.

The dialect 'Vulcan' requires a reference to the runtime DLLs 6 days 22 hours ago #15

  wriedmann's Avatar wriedmann Offline Posts: 1491
Hi Jorge,

IMHO speed is always an issue, but it is not the most important one.
The most important is that the compiler is able to do type checking at compile time, so the errors don't show up at runtime.
Please look at this code:
function Start( ) as void
local nWeak			
local nStrong as int
	
nWeak := 0
nWeak += "Hello X#"
	
nStrong := 0
nStrong += "Hello X#"

return
Again, because of untyped variables, this code needs the runtime and VO/Vulcan dialect.
The code using the untyped variable will compile, but fail at runtime.
The code using the typed variable will show up the error at compile time.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

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

Last edit: by wriedmann.
  • Page:
  • 1