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

TOPIC: Error in Example 1 that does not get mentioned.

Error in Example 1 that does not get mentioned. 1 year 3 months ago #4189

  Jello5's Avatar Topic Author Jello5 Offline Posts: 10
I'm working on the tutorial:
www.xsharp.info/help/example-1-the-vo-explorer-examp.html

and arrived at this step:

"This DLL is located in the Redist folder of your VO installation. Simply copy the “Cato3spl.dll” file from your VO Redist folder to the output folder as well as the MSVCRT.DLL and try again.
You can also add the DLLs to your project (Add Existing Item, and point to the DLLs in the Redist folder). This will copy them to the project folder. Then set the build action for the 2 DLLs to None and the “Copy to Output Directory” property to “Preserve Newest”. When you now build your app the DLL will be copied to the right folder."

I have done this succesfully with the two DLL's. They get succesfully copied to the Debug folder and the previous error has been resolved. Of course i rebuilded the whole application and i tried both the first method: to just add it. And the second method: Add Existing Item.

However, according the tutorial, it should work now and it does not, I get the following error:



Here is the same error in Visual Studio:

Attachments:

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

Error in Example 1 that does not get mentioned. 1 year 3 months ago #4190

  Chris's Avatar Chris Offline Posts: 1137
Hi Jelle,

Hmm, that's a very strange error to be happening! What is the version of the runtime dlls that you are using? Can you please zip the whole solution folder and send it to me or attach it in a message here to have a look?

Chris
XSharp Development Team
chris(at)xsharp.eu

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

Error in Example 1 that does not get mentioned. 1 year 3 months ago #4191

  Jello5's Avatar Topic Author Jello5 Offline Posts: 10
Thanks for replying, you mean the Vulcan DLL's, right? 4.0.401.0 they say.
Here is the complete Solution:

File Attachment:

File Name: Explorer.zip
File Size:1,462 KB


Also, as a side note, I followed the other 3 examples after this and they all worked great!
Attachments:

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

Last edit: by Jello5.

Error in Example 1 that does not get mentioned. 1 year 3 months ago #4193

  Chris's Avatar Chris Offline Posts: 1137
Hi Jelle,

Thank you very much for sending the sample, turns out it is a problem with the way X# handles missing constructors. This feature was implemented after those help file topics were written and seems in some cases it does not work well.

We will look into it and fix this, in the meantime you can workaround the problem by manually adding the missing constructors. So just copy this code inside the CustomerListView and CustomerTreeView classes and it will work fine:
CONSTRUCTOR(oOwner , xID , oPoint , oDimension , kStyle)
	SUPER(oOwner , xID , oPoint , oDimension , kStyle)
RETURN

hth,
Chris
XSharp Development Team
chris(at)xsharp.eu

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

Error in Example 1 that does not get mentioned. 1 year 3 months ago #4257

  Jello5's Avatar Topic Author Jello5 Offline Posts: 10
Thanks! This worked!

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

  • Page:
  • 1