VARA does not work

Questions about Wine on Linux
Locked
CALEB_ELI_3
Level 1
Level 1
Posts: 6
Joined: Mon Nov 08, 2021 8:50 pm

VARA does not work

Post by CALEB_ELI_3 »

Hello, I just installed winlink express on my computer (Parrot Home Linux 4.11) using WINE. I installed dotnet and have everything else working. I installed vara, and got this error message:

Unhandled exception: unimplemented function pdh.dll.PdhVbGetDoubleCounterValue called in 32-bit code (0x7b033092).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
EIP:7b033092 ESP:0032f824 EBP:0032f8a8 EFLAGS:00200216( - -- I -A-P- )
EAX:0032f83c EBX:80000100 ECX:0032f820 EDX:0032f858
ESI:00000000 EDI:660cc25a
Stack dump:
0x0032f824: 0032f8d4 00000008 00000000 0032f850
0x0032f834: 7dc40000 0032f878 80000100 00000001
0x0032f844: 00000000 7b033092 00000002 7dc51008
0x0032f854: 7dc5183b 00000000 0032f860 7dc4ce80
0x0032f864: 001b001a 0043e574 d89cf800 7b433b5c
0x0032f874: 0043e78c 0032f898 7b44eceb 7dc40000
Backtrace:
=>0 0x7b033092 (0x0032f8a8)
1 0x7dc50dbf (0x0032f8e8)
2 0x7dc4cea0 (0x0032f9cc)
3 0x004594d4 in vara (+0x594d3) (0x0032f9fc)
4 0x66051fb3 BASIC_CLASS_AddRef+0x4b456() in msvbvm60 (0x0032fa08)
5 0x0043b40e in vara (+0x3b40d) (0x0032fa18)
6 0x660522b4 BASIC_CLASS_AddRef+0x4b757() in msvbvm60 (0x0032fa64)
7 0x6605271b BASIC_CLASS_AddRef+0x4bbbe() in msvbvm60 (0x0032fb38)
8 0x660528e7 BASIC_CLASS_AddRef+0x4bd8a() in msvbvm60 (0x0032fb5c)
9 0x660bbd94 BASIC_CLASS_AddRef+0xb5237() in msvbvm60 (0x0032fb74)
10 0x6605d0c6 BASIC_CLASS_AddRef+0x56569() in msvbvm60 (0x0032fb9c)
11 0x6605f855 BASIC_CLASS_AddRef+0x58cf8() in msvbvm60 (0x0032fbf8)
12 0x7fa33b6c in user32 (+0xa3b6b) (0x0032fc28)
13 0x7fa341dd in user32 (+0xa41dc) (0x0032fc78)
14 0x7fa36433 in user32 (+0xa6432) (0x0032fcc8)
15 0x7f9fb6be in user32 (+0x6b6bd) (0x0032fd78)
16 0x6600a4a3 BASIC_CLASS_AddRef+0x3946() in msvbvm60 (0x0032fdc8)
17 0x6600a41a BASIC_CLASS_AddRef+0x38bd() in msvbvm60 (0x0032fe0c)
18 0x6600a2f8 BASIC_CLASS_AddRef+0x379b() in msvbvm60 (0x6601a098)
19 0x66006ba7 BASIC_CLASS_AddRef+0x4a() in msvbvm60 (0x660c7f80)
20 0x0c2474ff (0x0424448b)
0x7b033092: addl $12,%esp
Modules:
Module Address Debug info Name (38 modules)
PE 400000- 50f000 Export vara
PE 21c10000-21c2a000 Deferred mscomm32
PE 22170000-2218c000 Deferred mswinsck
PE 27580000-27685000 Deferred mscomctl
PE 28490000-28588000 Deferred mschrt20
PE 66000000-66152000 Export msvbvm60
PE 7b020000-7b023000 Deferred kernelbase
PE 7b420000-7b5db000 Deferred kernel32
PE 7bc30000-7bc34000 Deferred ntdll
PE 7cba0000-7cba3000 Deferred winealsa
PE 7cbe0000-7cbe4000 Deferred mmdevapi
PE 7cc10000-7cc19000 Deferred msacm32
PE 7cc40000-7ccbd000 Deferred winmm
PE 7ceb0000-7ceb4000 Deferred propsys
PE 7cf00000-7cf06000 Deferred windowscodecs
PE 7dc40000-7dc43000 Deferred pdh
PE 7dc60000-7dc64000 Deferred uxtheme
PE 7dcb0000-7dcbb000 Deferred winspool
PE 7dd20000-7dd9e000 Deferred comctl32
PE 7de90000-7de93000 Deferred shcore
PE 7dec0000-7dec8000 Deferred shlwapi
PE 7df50000-7e821000 Deferred shell32
PE 7e920000-7ea02000 Deferred comdlg32
PE 7ea60000-7ea64000 Deferred iphlpapi
PE 7ea90000-7ea94000 Deferred ws2_32
PE 7ead0000-7ead4000 Deferred wsock32
PE 7ebc0000-7ebc3000 Deferred usp10
PE 7ecd0000-7ecdf000 Deferred setupapi
PE 7ef60000-7ef64000 Deferred winex11
PE 7f010000-7f014000 Deferred imm32
PE 7f370000-7f402000 Deferred oleaut32
PE 7f4a0000-7f4a4000 Deferred rpcrt4
PE 7f550000-7f578000 Deferred ole32
PE 7f6b0000-7f6b4000 Deferred msvcrt
PE 7f770000-7f774000 Deferred version
PE 7f790000-7f794000 Deferred advapi32
PE 7f820000-7f827000 Deferred gdi32
PE 7f990000-7fa78000 Export user32
Threads:
process tid prio (all id:s are in hex)
00000008 (D) c:\VARA\VARA.exe
00000009 0 <==
00000031 0
00000032 0
00000033 0
00000034 0
00000037 0
0000000e services.exe
0000000f 0
00000010 0
00000013 0
00000014 0
00000015 0
0000001d 0
00000022 0
00000025 0
0000002d 0
00000011 winedevice.exe
00000012 0
00000016 0
00000017 0
00000018 0
00000019 explorer.exe
0000001a 0
00000027 0
00000028 0
00000029 0
0000001b plugplay.exe
0000001c 0
0000001e 0
0000001f 0
00000020 winedevice.exe
00000021 0
00000023 0
00000024 0
00000026 0
0000002a 0
0000002b mscorsvw.exe
0000002c 0
0000002e 0
0000002f 0
00000030 0
System information:
Wine build: wine-5.0.3 (Debian 5.0.3-3)
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.10.0-6parrot1-amd64




Any input or help is greatly appreciated. Thanks!
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: VARA does not work

Post by jkfloris »

Maybe not exactly the same error, but have you tried the solution in this post?
And why did you install the .Net Framework?
CALEB_ELI_3
Level 1
Level 1
Posts: 6
Joined: Mon Nov 08, 2021 8:50 pm

Re: VARA does not work

Post by CALEB_ELI_3 »

I installed dotnet because it was necessary to run winlink. Also, I could not find system32 on my computer, so all the .dll and .ocx files from vara.lnk which are supposed to be in system32 are in downloads.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: VARA does not work

Post by jkfloris »

I could not find system32 on my computer
You should find the system32 folder in the hidden ${HOME}/.wine directory.
Please make sure that you use a 32-bit prefix.
https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
CALEB_ELI_3
Level 1
Level 1
Posts: 6
Joined: Mon Nov 08, 2021 8:50 pm

Re: VARA does not work

Post by CALEB_ELI_3 »

I found system32, but i still get the same error message.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: VARA does not work

Post by jkfloris »

With the following steps, I get VARA HF running:

Create a new Wineprefix and install vb6run with winetricks

Code: Select all

WINEPREFIX=${HOME}/VARA winetricks -q vb6run
Install VARA in this new prefix

Code: Select all

WINEPREFIX=${HOME}/VARA wine "${HOME}/Downloads/VARA HF v4.4.9 Setup/VARA setup (Run as Administrator).exe"
Download and extract pdh.dll from Microsoft

Code: Select all

cd "${HOME}/VARA/drive_c/VARA"
wget http://download.microsoft.com/download/winntsrv40/update/5.0.2195.2668/nt4/en-us/nt4pdhdll.exe
unzip nt4pdhdll.exe
Run VARA
(Somehow VARA does not load the files in the OCX folder, therefore start VARA from the OCX folder. It is also possible to copy all files from this folder into the VARA folder.)

Code: Select all

cd "${HOME}/VARA/drive_c/VARA/OCX"
WINEPREFIX=${HOME}/VARA wine ../VARA.exe
In the same prefix, you can also install Winlink with:

Code: Select all

WINEPREFIX=${HOME}/VARA wine Winlink_Express_install.exe
Are you sure that installing dotnet is necessary? I don't have login credentials, so I can't test the program, but it looks normal.
CALEB_ELI_3
Level 1
Level 1
Posts: 6
Joined: Mon Nov 08, 2021 8:50 pm

Re: VARA does not work

Post by CALEB_ELI_3 »

Thank you!!! It is working now.
Locked