Accu-Chek Compass for Diabetics

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
plod
Newbie
Newbie
Posts: 4
Joined: Mon Jul 21, 2008 10:14 pm

Accu-Chek Compass for Diabetics

Post by plod »

Hi, I am a new user of Wine, and I am having trouble running the programme 'Accu-Chek Compass'.

It is a programme for diabetics, that downloads data from a meter, and then graphs it in all sorts of ways.

The Programme installs correctly, but when I try to run it, it just flashes on the screen for a split second, and exits.

Any help would be nice....

Plod.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Accu-Chek Compass for Diabetics

Post by vitamin »

plod wrote:Hi, I am a new user of Wine, and I am having trouble running the programme 'Accu-Chek Compass'.

It is a programme for diabetics, that downloads data from a meter, and then graphs it in all sorts of ways.

The Programme installs correctly, but when I try to run it, it just flashes on the screen for a split second, and exits.

Any help would be nice....

Plod.
Please run it from the terminal and post the complete terminal output.
plod
Newbie
Newbie
Posts: 4
Joined: Mon Jul 21, 2008 10:14 pm

Accu-Chek Compass for Diabetics

Post by plod »

Here is the output that I get from running it from the shell.

chris@plod:~$ wine '/home/chris/.wine/drive_c/Program Files/Accu-Chek Compass/Bin/RDCompass.exe'
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x17
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {1550d803-03ec-11d4-9dfc-00e029102efb}, hres is 0xcfea0001
fixme:ole:OLEPictureImpl_Load Unknown magic 0400, 106 read bytes:
6c 74 00 00 00 00 00 00 00 04
52 e3 0b 91 8f ce 11 9d e3 00
aa 00 4b b8 51 6c 74 00 00 00
00 00 00 01 00 00 04 00 00 00
00 00 00 00 00 00 00 00 01 00
01 00 01 01 ff 00 ff 00 00 04
52 e3 0b 91 8f ce 11 9d e3 00
aa 00 4b b8 51 6c 74 00 00 00
00 00 00 00 d5 cc bb 00 00 00
04 52 e3 0b 91 8f ce 11 9d e3
00 aa 00 4b b8 51 6c 74 00 00
00 00 00 00
chris@plod:~$


And as a bit more help , here is the 'errorlog' generated by the 'Accu-Chek' programme itself.

7/22/2008 16:12:56 E_ADO_COULD_NOT_CONNECT ADO error 0x80004002, CCommonDatabase::CreateConnection() - Unable to connect to database.
7/22/2008 16:12:56 E_ADO_COULD_NOT_CONNECT Unable to connect to database.
7/22/2008 16:12:56 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CNavigation::InitializeCustomScreens]
7/22/2008 16:12:56 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CNavigation::Startup]
7/22/2008 16:12:56 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CAppGalaxy::InitInstance]

Plod
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

>err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not >registered

looks like your app needs msado15.dll (MDAC)

Try this:

wget http://kegel.com/wine/winetricks && sh winetricks mdac27

Then run again, and paste console output again
plod
Newbie
Newbie
Posts: 4
Joined: Mon Jul 21, 2008 10:14 pm

Post by plod »

I installed the 'mdac27' file with winetricks, but still the same result. Here is the shell output.

chris@plod:~$ wine '/home/chris/.wine/drive_c/Program Files/Accu-Chek Compass/Bin/RDCompass.exe'
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {1550d803-03ec-11d4-9dfc-00e029102efb}, hres is 0xcfea0001
fixme:ole:OLEPictureImpl_Load Unknown magic 0400, 106 read bytes:
6c 74 00 00 00 00 00 00 00 04
52 e3 0b 91 8f ce 11 9d e3 00
aa 00 4b b8 51 6c 74 00 00 00
00 00 00 01 00 00 04 00 00 00
00 00 00 00 00 00 00 00 01 00
01 00 01 01 ff 00 ff 00 00 04
52 e3 0b 91 8f ce 11 9d e3 00
aa 00 4b b8 51 6c 74 00 00 00
00 00 00 00 d5 cc bb 00 00 00
04 52 e3 0b 91 8f ce 11 9d e3
00 aa 00 4b b8 51 6c 74 00 00
00 00 00 00
chris@plod:~$


and here is the 'Accu-Chek' error log.

File Description:
This file is the error log for Roche Diagnostics' Compass program.
********************************************************************************
7/22/2008 17:13:47 E_ADO_COULD_NOT_CONNECT ADO error 0x800A0E7A, CCommonDatabase::CreateConnection() - Unable to connect to database.
7/22/2008 17:13:47 E_ADO_COULD_NOT_CONNECT Unable to connect to database.
7/22/2008 17:13:47 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CNavigation::InitializeCustomScreens]
7/22/2008 17:13:47 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CNavigation::Startup]
7/22/2008 17:13:47 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CAppGalaxy::InitInstance]

Plod.
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

A sidenote: it's better to run the executable in the directory where it resides, so do

cd ~/.wine/drive_c/Program Files/Accu-Chek Compass/Bin/
wine RDCompass.exe

If that doesn't help, could you try if using native oleaut32 changes anything?

i.e.

wget http://kegel.com/wine/winetricks && sh winetricks vcrun6

Then run with

WINEDLLOVERRIDES="oleaut32=n" wine RDCompass.exe
plod
Newbie
Newbie
Posts: 4
Joined: Mon Jul 21, 2008 10:14 pm

Post by plod »

Well I changed to the ~/.wine/drive_c/Program Files/Accu-Chek Compass/Bin/ directory , and then ran the install with
WINEDLLOVERRIDES="oleaut32=n" wine RDCompass.exe

Here is the wine output.

WINEDLLOVERRIDES="oleaut32=n" wine RDCompass.exe
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {1550d803-03ec-11d4-9dfc-00e029102efb}, hres is 0xcfea0001
chris@plod:~/.wine/drive_c/Program Files/Accu-Chek Compass/Bin$

and here is the 'Accu-Chek' error log.

7/22/2008 17:42:18 E_ADO_COULD_NOT_CONNECT ADO error 0x800A0E7A, CCommonDatabase::CreateConnection() - Unable to connect to database.
7/22/2008 17:42:18 E_ADO_COULD_NOT_CONNECT Unable to connect to database.
7/22/2008 17:42:18 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CNavigation::InitializeCustomScreens]
7/22/2008 17:42:18 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CNavigation::Startup]
7/22/2008 17:42:18 0xcfea0001 E_ADO_COULD_NOT_CONNECT

[ExNavigation in CAppGalaxy::InitInstance]

So as you can see, it's still not working.

Plod.
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

hmm, that E_ADO_COULD_NOT_CONNECT ADO error is still there.....

Maybe you could try install on a new ~/.wine, and do first

wget http://kegel.com/wine/winetricks && sh winetricks art2kmin mdac27

then install, and try run again. If that doesn't help i guess i'm out of ideas....
Locked