VARA FM on Wine - pdh.dll error

Questions about Wine on Linux
Locked
MythX
Level 2
Level 2
Posts: 17
Joined: Sun Dec 30, 2018 10:31 am

VARA FM on Wine - pdh.dll error

Post by MythX »

Hi,
I'm trying to use VARAFM

Information can be found here: https://winlink.org/sites/default/files ... s_v4_0.pdf

It's a software TNC (think of it as a software modem) for communicating between ham radios.

I get the following error in the console upon loading of the tool:

Code: Select all

wine: Unimplemented function pdh.dll.PdhVbGetDoubleCounterValue called at address 7B032F82 (thread 0009), starting debugger...
From the tool, I get this error

Code: Select all

Unhandled exception: unimplemented function pdh.dll.PdhVbGetDoubleCounterValue called in 32-bit code (0x7b032f82).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:7b032f82 ESP:0032f884 EBP:0032f908 EFLAGS:00200216(   - --  I   -A-P- )
 EAX:0032f89c EBX:80000100 ECX:0032f880 EDX:0032f8b8
 ESI:00000000 EDI:660cc25a
Stack dump:
0x0032f884:  0032f934 00000008 00000000 0032f8b0
0x0032f894:  7eae0000 0032f8d8 80000100 00000001
0x0032f8a4:  00000000 7b032f82 00000002 7eaea008
0x0032f8b4:  7eaea83b 00000000 0032f8c0 7eae4e80
0x0032f8c4:  001b001a 0043c9dc 62003500 7b432b5c
0x0032f8d4:  0043c9f8 0032f8f8 7b44fe2b 7eae0000
Backtrace:
=>0 0x7b032f82 (0x0032f908)
  1 0x7eae8f1f (0x0032f948)
  2 0x7eae4ea0 (0x0032fa2c)
  3 0x00470554 in varafm (+0x70553) (0x0032fa5c)
  4 0x66051fb3 BASIC_CLASS_AddRef+0x4b456() in msvbvm60 (0x0032fa68)
  5 0x00439d3a in varafm (+0x39d39) (0x0032fa78)
  6 0x660522b4 BASIC_CLASS_AddRef+0x4b757() in msvbvm60 (0x0032fac4)
  7 0x6605271b BASIC_CLASS_AddRef+0x4bbbe() in msvbvm60 (0x0032fb98)
  8 0x660528e7 BASIC_CLASS_AddRef+0x4bd8a() in msvbvm60 (0x0032fbbc)
  9 0x660bbd94 BASIC_CLASS_AddRef+0xb5237() in msvbvm60 (0x0032fbd4)
  10 0x6605d0c6 BASIC_CLASS_AddRef+0x56569() in msvbvm60 (0x0032fbfc)
  11 0x6605f855 BASIC_CLASS_AddRef+0x58cf8() in msvbvm60 (0x0032fc58)
  12 0x7f88d5fc in user32 (+0x9d5fb) (0x0032fc88)
  13 0x7f88dc6d in user32 (+0x9dc6c) (0x0032fcd8)
  14 0x7f88fec3 in user32 (+0x9fec2) (0x0032fd28)
  15 0x7f85566e in user32 (+0x6566d) (0x0032fdd8)
  16 0x6600a4a3 BASIC_CLASS_AddRef+0x3946() in msvbvm60 (0x0032fe28)
  17 0x6600a41a BASIC_CLASS_AddRef+0x38bd() in msvbvm60 (0x0032fe6c)
  18 0x6600a2f8 BASIC_CLASS_AddRef+0x379b() in msvbvm60 (0x6601a098)
  19 0x66006ba7 BASIC_CLASS_AddRef+0x4a() in msvbvm60 (0x660c7f80)
  20 0x0c2474ff (0x0424448b)
0x7b032f82: addl	$12,%esp
Modules:
Module	Address			Debug info	Name (38 modules)
PE	  400000-  4f9000	Export          varafm
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	7cc50000-7cc53000	Deferred        winealsa
PE	7cc90000-7cc94000	Deferred        mmdevapi
PE	7cdc0000-7cdc9000	Deferred        msacm32
PE	7ce00000-7ce7d000	Deferred        winmm
PE	7cf80000-7cf84000	Deferred        propsys
PE	7cfc0000-7cfc6000	Deferred        windowscodecs
PE	7dba0000-7dba4000	Deferred        uxtheme
PE	7dbe0000-7dbeb000	Deferred        winspool
PE	7dc50000-7dcce000	Deferred        comctl32
PE	7ddc0000-7ddc3000	Deferred        shcore
PE	7ddf0000-7ddf8000	Deferred        shlwapi
PE	7de80000-7e756000	Deferred        shell32
PE	7e870000-7e952000	Deferred        comdlg32
PE	7e9b0000-7e9b4000	Deferred        iphlpapi
PE	7e9e0000-7e9e4000	Deferred        ws2_32
PE	7eae0000-7eae3000	Deferred        pdh
PE	7eb00000-7eb04000	Deferred        wsock32
PE	7eb20000-7eb23000	Deferred        usp10
PE	7ebf0000-7ebff000	Deferred        setupapi
PE	7ee70000-7ee74000	Deferred        winex11
PE	7ef20000-7ef24000	Deferred        imm32
PE	7f1f0000-7f282000	Deferred        oleaut32
PE	7f310000-7f314000	Deferred        rpcrt4
PE	7f3c0000-7f3e8000	Deferred        ole32
PE	7f520000-7f524000	Deferred        msvcrt
PE	7f5f0000-7f5f4000	Deferred        advapi32
PE	7f680000-7f687000	Deferred        gdi32
PE	7f7f0000-7f8d8000	Export          user32
PE	7ffd0000-7ffd4000	Deferred        version
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\programs\VARA FM\VARAFM.exe
	0000002e    0
	0000002d    0
	0000002c    0
	0000002b    0
	00000009    0 <==
0000000e services.exe
	00000024    0
	0000001d    0
	0000001a    0
	00000013    0
	00000010    0
	0000000f    0
00000011 plugplay.exe
	00000017    0
	00000016    0
	00000012    0
00000018 winedevice.exe
	00000021    0
	0000001e    0
	0000001c    0
	0000001b    0
	00000019    0
0000001f explorer.exe
	0000002a    0
	00000029    0
	00000028    0
	00000020    0
00000022 winedevice.exe
	00000027    0
	00000026    0
	00000025    0
	00000023    0
System information:
    Wine build: wine-5.0 (Ubuntu 5.0-3ubuntu1)
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 5.4.0-48-generic
    
The last time I had a "not implemented" error, someone picked it up and got it into an upcoming build. Not sure if that should be my expectation or not, if not, perhaps there's a workaround at least.

Thanks in advance. Let me know if you need additional detail.
User avatar
artix
Level 1
Level 1
Posts: 6
Joined: Tue Sep 22, 2020 6:55 pm

Re: VARA FM on Wine - pdh.dll error

Post by artix »

try:

Code: Select all

winetricks pdh
and try to run your program again.
MythX
Level 2
Level 2
Posts: 17
Joined: Sun Dec 30, 2018 10:31 am

Re: VARA FM on Wine - pdh.dll error

Post by MythX »

Hi Artix, thanks for replying.

I did what you suggested. It installed, however I'm still getting the same error when I run my program.

I appreciate the help. Anything else I should try?

Thanks
dpkingston
Newbie
Newbie
Posts: 1
Joined: Wed Jan 27, 2021 10:55 am

Re: VARA FM on Wine - pdh.dll error

Post by dpkingston »

I have this working with good results. I created an automated Debian install for a Winlink gateway with linbpq and VARAFM and documented that process here:
https://docs.google.com/document/d/1wkO ... mwGDw/edit#

Let me know if that helps.

-Doug-
Locked