Porting Vulcan Net to XSharp

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Porting Vulcan Net to XSharp

Post by Juraj »

Hi All

I was porting a small app from VulcanNet 2.0 to XSharp. The app moves the data between the DBF files and the tables in MDB file.
In most cases, I repeat these two errors:


1. Field 'WindowName.components' is never assigned to, an wil always have its default value null

2. The type or namespace name 'dbServer' coould not be found........

Juraj
User avatar
Chris
Posts: 4562
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Porting Vulcan Net to XSharp

Post by Chris »

Hi Juraj,

The first one is just a warning and you can workaround it by going to the designer.prg file where "components" is declared and change the declaration from

PRIVATE components AS System.ComponentModel.IContainer

to (just add the assignment)

PRIVATE components := NULL AS System.ComponentModel.IContainer

About the second thing, can you please check that the reference to VulcanVORDDClasses.dll still exists in your project references? If it does, then you probably just need to go to the Project settings, in the Language page and enable the option "Enable Implicit Namespace lookup".

Chris
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Porting Vulcan Net to XSharp

Post by Juraj »

Hi Chris

thank you for the advice, especially for dbServer, I had to go into the property and change "Enable implicit ...".

Juraj
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Porting Vulcan Net to XSharp

Post by Juraj »

Hi All,
In October 2018 I ported the Vulcan app to XSharp, the client installation was OK and the app worked well.
Build with the current XSharp version at that time.
It was necessary to make some update in the application. After build the application in my computer(with Win10) work OK.
In customer computer does not start. It appears in Task Manager and closes after a few seconds without any error message.
Customer have a HP ProDesk 400 with Windows 7 Profesional.
Versions Windows, .Net ,Visual Studio and XSharp are attached.
The problem is only with the application in Vulcan dialect , the test app in Core dialect runs fine.

Juraj
Attachments
Customer_WinVer.png
Customer_WinVer.png (53.79 KiB) Viewed 296 times
Customer_NetVer.png
Customer_NetVer.png (21.03 KiB) Viewed 296 times
VS_XS_Ver_MyPC.png
VS_XS_Ver_MyPC.png (17.19 KiB) Viewed 296 times
User avatar
Chris
Posts: 4562
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Porting Vulcan Net to XSharp

Post by Chris »

Hi Juraj,

I do have a Win7 machine to test with, can you please send me the app to test it, EXACTLY in the form that you send it to the customer?
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Porting Vulcan Net to XSharp

Post by Juraj »

Hi Chris

I sent to your email. I don't know if the attachment was blocked with antivirus protection. Let me know.

Juraj
User avatar
Chris
Posts: 4562
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Porting Vulcan Net to XSharp

Post by Chris »

Hi Juraj,

I did get it, but please send the COMPLETE app, with dlls etc, in order to be able to reproduce the problem the same way as your customer can.
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Porting Vulcan Net to XSharp

Post by Juraj »

Hi Chris,

I sent complette directory from customer PC to your email.

Juraj
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

Porting Vulcan Net to XSharp

Post by Juraj »

Hi Chris,

Event Viewer from customer PC:
Sorry, is in slovak language. "Nazov" is "name", "chyba" is "error", "Čas" is "Time", "Cesta" is "Path"

Názov chybovej aplikácie: MRestLT.exe, verzia: 1.0.65534.65534, časová značka: 0x5ccd56ee
Názov chybového modulu: KERNELBASE.dll, verzia: 6.1.7601.24408, časová značka: 0x5c92f101
Kód výnimky: 0xe0434352
Odstup chyby: 0x0000c5af
Identifikácia chybného procesu: 0x52c
Čas spustenia chybnej aplikácie: 0x01d502674883d36a
Cesta chybnej aplikácie: G:XSMDBRestMRestLT.exe
Cesta chybného modulu: C:windowssyswow64KERNELBASE.dll
Identifikácia hlásenia: 864107ec-6e5a-11e9-9767-c4346b79fcc0

- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2019-05-04T10:51:10.000000000Z
EventRecordID 9563
Channel Application
Computer MTPT-HP
Security
- EventData

MRestLT.exe
1.0.65534.65534
5ccd56ee
KERNELBASE.dll
6.1.7601.24408
5c92f101
e0434352
0000c5af notep
52c
01d502674883d36a
G:XSMDBRestMRestLT.exe
C:windowssyswow64KERNELBASE.dll
864107ec-6e5a-11e9-9767-c4346b79fcc0

Juraj
User avatar
Chris
Posts: 4562
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Porting Vulcan Net to XSharp

Post by Chris »

Hi Juraj,

Thanks, unfortunately this did not give much info, but as I explained by PM, the problem is most likely a (vulcan) dll mismatch, please check what I told you in private. Also make sure the customer is not running your app from a network drive. (it is possible to do that, but he will need to provide specific rights to the app/folder to do that).
Chris Pyrgas

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