Trying to get N1MM Logger working under Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
nate
Level 1
Level 1
Posts: 6
Joined: Sat Jun 05, 2010 8:16 am

Trying to get N1MM Logger working under Wine

Post by nate »

I am trying to use an amateur radio logging program under Wine, but other than installation, I've been unable to get the program running. Most likely I just need some assistance figuring out which DLLs are still missing. On advice I installed DCOM98 and VCRUN6 and set mfc42, ole32 and rpcrt4 to (builtin, native).

So far all I get are a few dialog boxes, the first titled "EntryWindow (Database_Initialize) - 429 - ActiveX component can't create object", the second titled "EntryWindow (Program_Initialize) - 91 - Object variable or With block variable not set", the third titled "EntryWindow (Form_Initialize) - 91 - Object variable or With block variable not set", each of these prompt "Would you like to send an error report" to which i click Cancel in each. Finally, I get a fourth dialog box titled N1MM Logger and its text says, "Run-time error '91': Object variable or With block variable not set".

Running the logger from a terminal with "WINEDEBUG=warn+dll" results in the following output:
:~/.wine/drive_c/N1MM Logger$ WINEDEBUG=warn+dll wine N1MM\ Logger.exe
wine: Unhandled page fault on write access to 0x00540120 at address 0x7ee2cadc (thread 0017), starting debugger...
Unhandled exception: page fault on write access to 0x00540120 in 32-bit code (0x7ee2cadc).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7ee2cadc ESP:0053e690 EBP:0053e738 EFLAGS:00010246( R- -- I Z- -P- )
EAX:00000001 EBX:7ee2eff4 ECX:00001000 EDX:00540080
ESI:00542000 EDI:0054503c
Stack dump:
0x0053e690: 00542000 00001000 00000020 00000000
0x0053e6a0: 00110f30 00230000 00220000 00000058
0x0053e6b0: 00000029 0053e71c 0053e718 0054503c
0x0053e6c0: 00530000 00540080 00001000 00540000
0x0053e6d0: 00110000 7bc9bff4 0053e738 7bc47aa3
0x0053e6e0: 00110060 0053e714 0053e70c 0053e71c
Backtrace:
=>0 0x7ee2cadc in winedevice (+0xcadc) (0x0053e738)
1 0x7ee2cd93 in winedevice (+0xcd92) (0x0053e9c8)
2 0x7ee2d3d6 in winedevice (+0xd3d5) (0x0053ea18)
3 0x7edffa44 in advapi32 (+0x2fa43) (0x0053ea68)
4 0x7bc6fb40 call_thread_func+0xb() in ntdll (0x0053ea78)
5 0x7bc6fd10 call_thread_entry_point+0x6f() in ntdll (0x0053eb48)
6 0x7bc782f5 in ntdll (+0x682f4) (0x0053f398)
7 0xb75f596e start_thread+0xbd() in libpthread.so.0 (0x0053f498)
0x7ee2cadc: movl $0x0,0xa0(%edx)
Modules:
Module Address Debug info Name (24 modules)
PE 540000- 546000 Deferred dlportio.sys
ELF 7b800000-7b93c000 Deferred kernel32<elf>
\-PE 7b810000-7b93c000 \ kernel32
ELF 7bc00000-7bcb8000 Export ntdll<elf>
\-PE 7bc10000-7bcb8000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7ed07000-7ed4c000 Deferred ntoskrnl<elf>
\-PE 7ed10000-7ed4c000 \ ntoskrnl
ELF 7ed4c000-7edc1000 Deferred rpcrt4<elf>
\-PE 7ed60000-7edc1000 \ rpcrt4
ELF 7edc1000-7ee1b000 Export advapi32<elf>
\-PE 7edd0000-7ee1b000 \ advapi32
ELF 7ee1b000-7ee30000 Export winedevice<elf>
\-PE 7ee20000-7ee30000 \ winedevice
ELF 7ee30000-7ee3c000 Deferred libnss_files.so.2
ELF 7ee3c000-7ee53000 Deferred libnsl.so.1
ELF 7ee53000-7ee5b000 Deferred libnss_compat.so.2
ELF 7efc9000-7efef000 Deferred libm.so.6
ELF 7eff6000-7f000000 Deferred libnss_nis.so.2
ELF b7491000-b7495000 Deferred libdl.so.2
ELF b7495000-b75ef000 Export libc.so.6
ELF b75f0000-b7609000 Export libpthread.so.0
ELF b761a000-b775a000 Deferred libwine.so.1
ELF b775c000-b7779000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 ntdll.dll
00000009 0
0000000a wineboot.exe
0000000b 0
0000000c winemenubuilder.exe
0000000d 0
0000000e services.exe
00000016 0
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 (D) C:\windows\system32\winedevice.exe
00000017 0 <==
00000013 0
00000012 0
Backtrace:
=>0 0x7ee2cadc in winedevice (+0xcadc) (0x0053e738)
1 0x7ee2cd93 in winedevice (+0xcd92) (0x0053e9c8)
2 0x7ee2d3d6 in winedevice (+0xd3d5) (0x0053ea18)
3 0x7edffa44 in advapi32 (+0x2fa43) (0x0053ea68)
4 0x7bc6fb40 call_thread_func+0xb() in ntdll (0x0053ea78)
5 0x7bc6fd10 call_thread_entry_point+0x6f() in ntdll (0x0053eb48)
6 0x7bc782f5 in ntdll (+0x682f4) (0x0053f398)
7 0xb75f596e start_thread+0xbd() in libpthread.so.0 (0x0053f498)
err:ole:CoGetClassObject class {00000100-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000100-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000100-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to get N1MM Logger working under Wine

Post by dimesio »

nate wrote:I am trying to use an amateur radio logging program under Wine, but other than installation, I've been unable to get the program running. Most likely I just need some assistance figuring out which DLLs are still missing. On advice I installed DCOM98 and VCRUN6 and set mfc42, ole32 and rpcrt4 to (builtin, native).
Whose advice? There doesn't appear to be an AppDB entry for this, and outside howtos aren't supported here. Dcom98 in particular doesn't work well in current Wine.

Code: Select all

PE 540000- 546000 Deferred dlportio.sys
This is some sort of Windows hardware driver; those won't work in Wine. Try deleting that file.
James McKenzie

Trying to get N1MM Logger working under Wine

Post by James McKenzie »

nate wrote:
I am trying to use an amateur radio logging program under Wine, but other than installation, I've been unable to get the program running. Most likely I just need some assistance figuring out which DLLs are still missing. On advice I installed DCOM98 and VCRUN6 and set mfc42, ole32 and rpcrt4 to (builtin, native).
Try this again, without ANY overrides and then tell us what happens when
you run the program from a command prompt.

James McKenzie
nate
Level 1
Level 1
Posts: 6
Joined: Sat Jun 05, 2010 8:16 am

Post by nate »

I decided to try this again on a clean account and running Wine 1.2. So far, nothing has changed as I receive the same dialogs as in my initial post. Here is the output from a simple run:

Code: Select all

$ wine N1MM\ Logger.exe 
err:ole:CoGetClassObject class {00000100-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000100-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000100-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
fixme:ole:OleLoadPictureEx (0xdc7754,852,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f948), partially implemented.
fixme:ole:OleLoadPictureEx (0xddff1c,15919,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f578), partially implemented.

Obviously, there seems to be an OLE issue. Any pointers on how to proceed will be appreciated.
nate
Level 1
Level 1
Posts: 6
Joined: Sat Jun 05, 2010 8:16 am

Post by nate »

Also I did not install the dlportio.sys this time around.
James McKenzie

Trying to get N1MM Logger working under Wine

Post by James McKenzie »

nate wrote:
Also I did not install the dlportio.sys this time around.
Hardware drivers are not supported in Wine. This looks and smells like one.

James McKenzie
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

nate wrote:

Code: Select all

err:ole:CoGetClassObject class {00000100-0000-0010-8000-00aa006d2ea4} not registered
Try winetricks jet40.
nate
Level 1
Level 1
Posts: 6
Joined: Sat Jun 05, 2010 8:16 am

Post by nate »

dimesio wrote:
nate wrote:

Code: Select all

err:ole:CoGetClassObject class {00000100-0000-0010-8000-00aa006d2ea4} not registered
Try winetricks jet40.
That did the trick! Thanks much.
Tom Wagner

Trying to get N1MM Logger working under Wine

Post by Tom Wagner »

dlportio is only required for LPT port keying. I would not recommend trying
that under Wine. You could use serial port keying (one transistor circuit) or
winkey - a dedicated keyer that runs off a serial port.

Jet is the jet engine that supports the database used by the program.

If you have been successful in getting the program to run under Wine, please
post the steps so I can refer people to it who ask. I don't run linux, I just
don't have time to.

Please also indicate what windows and functions you have been able and *not
able* to make work under Wine. Of particular interest are:

Windows:
Log & Entry
Bandmap
Packet
Info
Rotor support

Functions:
Radio interfacing
LPT port keying (certainly not)
Serial port keying
Winkey keying
Multi user using LAN
Telnet (packet window)
Launching of other programs for help, QRZ lookup, reporting application etc.

The above windows and functions were chosen represent distinct areas that
might be problematic with Wine.

73,
Tom - N1MM
S52DK
Newbie
Newbie
Posts: 3
Joined: Sun Jan 03, 2016 6:09 am

Re: Trying to get N1MM Logger working under Wine

Post by S52DK »

Hi!

I have to say that N1MM is one of the best logging software ever made for ham radio operators. I use N1MM Classic and the new one N1MM Plus. Few years ago I successfully installed N1MM Classic under Wine and it is still work just fine. There were some problems how enable serial ports which is the same problem now with N1MM Plus. Under Wine 1.8 programme runs OK, logging window, telnet window, everything works perfect except I can't get communication with COM ports.

Any idea what should be wrong?

73 ES GL DE Robi, S52DK.
S52DK
Newbie
Newbie
Posts: 3
Joined: Sun Jan 03, 2016 6:09 am

Re: Trying to get N1MM Logger working under Wine

Post by S52DK »

Hi!

I tried to fix the problem with serial ports in N1MM Plus under wine. No progress at all. Does anyone know if the Wine 1.9 is solution for my problem?

Bye,

Robi.
Locked