Problem Running windows Porgram OutCall

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Svetoslav Ivanov

Problem Running windows Porgram OutCall

Post by Svetoslav Ivanov »

Hi all,

I want to run windows application OutCall
downloaded from http://code.google.com/p/outcall/

but ...

#wine OutCALL.exe
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPILogonEx (0x00000000 (null) (nil) 0x00000062 0x33e944) Stub
wine: Unhandled page fault on read access to 0x00000020 at address
0x428d2f (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000020 in 32-bit
code (0x00428d2f).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:00428d2f ESP:0033e8f8 EBP:7ec06b70 EFLAGS:00210202( - 00 - -RI1)
EAX:00000000 EBX:0033e980 ECX:0033e908 EDX:7c38b1dc
ESI:0033e980 EDI:004451f0
Stack dump:
0x0033e8f8: 0033e980 00000000 0033e908 00000000
0x0033e908: 0042c8ab 00000002 3001001e 3e030003
0x0033e918: 0042c8bb 00000000 00445430 0033f814
0x0033e928: 00000000 00445430 0033f814 0033eb90
0x0033e938: 00433ea9 ffffffff 004057ff 0033e980
0x0033e948: 0041fd6b 0033e980 0033e97c 00000001
Backtrace:
=>1 0x00428d2f in outcall (+0x28d2f) (0x7ec06b70)
2 0x45c738ec (0x83e58955)
3 0x00000000 (0x00000000)
0x00428d2f: call *0x20(%eax)
Modules:
Module Address Debug info Name (74 modules)
PE 400000- 45a000 Export outcall
PE 460000- 539000 Deferred iconv
PE 540000- 642000 Deferred mfc71u
PE 10000000-1000c000 Deferred intl
PE 60900000-60942000 Deferred sqlite3
ELF 7bf00000-7bf03000 Deferred <wine-loader>
PE 7c340000-7c396000 Deferred msvcr71
PE 7c3a0000-7c41b000 Deferred msvcp71
ELF 7e3c5000-7e3f6000 Deferred uxtheme<elf>
\-PE 7e3d0000-7e3f6000 \ uxtheme
ELF 7e3f6000-7e3fb000 Deferred libxfixes.so.3
ELF 7e3fb000-7e404000 Deferred libxcursor.so.1
ELF 7e404000-7e40a000 Deferred libxrandr.so.2
ELF 7e40a000-7e412000 Deferred libxrender.so.1
ELF 7e412000-7e417000 Deferred libxxf86vm.so.1
ELF 7e417000-7e41a000 Deferred libxinerama.so.1
ELF 7e41a000-7e438000 Deferred imm32<elf>
\-PE 7e420000-7e438000 \ imm32
ELF 7e438000-7e44f000 Deferred libxcb.so.1
ELF 7e44f000-7e537000 Deferred libx11.so.6
ELF 7e537000-7e545000 Deferred libxext.so.6
ELF 7e545000-7e55d000 Deferred libice.so.6
ELF 7e55d000-7e565000 Deferred libsm.so.6
ELF 7e568000-7e56b000 Deferred iso8859-1.so
ELF 7e582000-7e612000 Deferred winex11<elf>
\-PE 7e590000-7e612000 \ winex11
ELF 7e62c000-7e64c000 Deferred libexpat.so.1
ELF 7e64c000-7e677000 Deferred libfontconfig.so.1
ELF 7e677000-7e68b000 Deferred libz.so.1
ELF 7e68b000-7e6f8000 Deferred libfreetype.so.6
ELF 7e6f8000-7e722000 Deferred ws2_32<elf>
\-PE 7e700000-7e722000 \ ws2_32
ELF 7e722000-7e7bc000 Deferred oleaut32<elf>
\-PE 7e730000-7e7bc000 \ oleaut32
ELF 7e7bc000-7e7cf000 Deferred libresolv.so.2
ELF 7e7cf000-7e7ed000 Deferred iphlpapi<elf>
\-PE 7e7e0000-7e7ed000 \ iphlpapi
ELF 7e7ed000-7e84c000 Deferred rpcrt4<elf>
\-PE 7e800000-7e84c000 \ rpcrt4
ELF 7e84c000-7e8e3000 Deferred ole32<elf>
\-PE 7e860000-7e8e3000 \ ole32
ELF 7e8e3000-7e993000 Deferred comctl32<elf>
\-PE 7e8f0000-7e993000 \ comctl32
ELF 7e993000-7ea9f000 Deferred shell32<elf>
\-PE 7e9a0000-7ea9f000 \ shell32
ELF 7ea9f000-7eaea000 Deferred advapi32<elf>
\-PE 7eab0000-7eaea000 \ advapi32
ELF 7eaea000-7eb7f000 Deferred gdi32<elf>
\-PE 7eb00000-7eb7f000 \ gdi32
ELF 7eb7f000-7ecb3000 Deferred user32<elf>
\-PE 7eba0000-7ecb3000 \ user32
ELF 7ecb3000-7ed06000 Deferred shlwapi<elf>
\-PE 7ecc0000-7ed06000 \ shlwapi
ELF 7ed06000-7ed27000 Deferred mapi32<elf>
\-PE 7ed10000-7ed27000 \ mapi32
ELF 7ed27000-7ed8e000 Deferred msvcrt<elf>
\-PE 7ed40000-7ed8e000 \ msvcrt
ELF 7edc1000-7eef0000 Deferred kernel32<elf>
\-PE 7ede0000-7eef0000 \ kernel32
ELF 7eef0000-7eefb000 Deferred libnss_files.so.2
ELF 7eefb000-7ef05000 Deferred libnss_nis.so.2
ELF 7ef05000-7ef1c000 Deferred libnsl.so.1
ELF 7ef1c000-7ef43000 Deferred libm.so.6
ELF 7ef44000-7ef49000 Deferred libxdmcp.so.6
ELF 7ef49000-7ef4b000 Deferred libxcb-xlib.so.0
ELF 7ef60000-7f000000 Deferred ntdll<elf>
\-PE 7ef70000-7f000000 \ ntdll
ELF b7c31000-b7c3a000 Deferred libnss_compat.so.2
ELF b7c3c000-b7c40000 Deferred libdl.so.2
ELF b7c40000-b7d82000 Deferred libc.so.6
ELF b7d82000-b7d99000 Deferred libpthread.so.0
ELF b7d99000-b7d9c000 Deferred libxau.so.6
ELF b7db6000-b7eec000 Deferred libwine.so.1
ELF b7eed000-b7f0a000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Bicom Systems\OutCALL\OutCALL.exe
00000009 0 <==
0000000c
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000015 0
00000014 0
00000011 0
00000010 0
00000016
00000017 0
Backtrace:
=>1 0x00428d2f in outcall (+0x28d2f) (0x7ec06b70)
2 0x45c738ec (0x83e58955)
3 0x00000000 (0x00000000)


Help anyone !

Have a nice day.
Svetoslav
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: Problem Running windows Porgram OutCall

Post by Usurp »

Svetoslav Ivanov wrote:Hi all,

I want to run windows application OutCall
downloaded from http://code.google.com/p/outcall/

but ...

#wine OutCALL.exe

Svetoslav
This suggests you are running wine as root user, dont do this.
http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Problem Running windows Porgram OutCall

Post by vitamin »

Svetoslav Ivanov wrote:Hi all,

I want to run windows application OutCall
downloaded from http://code.google.com/p/outcall/
Wine's implementation of MAPI is really simplistic and doesn't support lots of features. And implementation of RAS is 99% stubbed (non-existent).
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

The patch below fixes the bug for me, but if the program is functional further i wouldn't know ( and i doubt, but you could always test further)

diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c
index 936d435..5aace9a 100644
--- a/dlls/mapi32/mapi32_main.c
+++ b/dlls/mapi32/mapi32_main.c
@@ -109,6 +109,7 @@ HRESULT WINAPI MAPILogonEx(ULONG_PTR uiparam, LPWSTR profile
{
FIXME("(0x%08lx %s %p 0x%08x %p) Stub\n", uiparam,
debugstr_w(profile), password, flags, session);
+ *session=0;
return SUCCESS_SUCCESS;
}
Svetoslav Ivanov

Problem Running windows Porgram OutCall

Post by Svetoslav Ivanov »

Hi,

Great Work !!
I've made changes and Now Program is running and Showing the incomming
calls and even Dial-ing Outgoing Calls.

Only thing that is not working is reading the contact list from
microsoft outlook client and showing me Names instead of Phone numbers.
here is the output :

bbwmf@work4o:~/.wine/drive_c/Program Files/OutCALL$
/usr/local/wine/bin/wine OutCALL.exe
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPILogonEx (0x00000000 (null) (nil) 0x00000062 0x4451f0) Stub
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPILogonEx (0x00000000 (null) (nil) 0x00000062 0x32e7e4) Stub
fixme:mapi:MAPIUninitialize Stub
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPILogonEx (0x00000000 (null) (nil) 0x00000062 0x32e7e4) Stub
fixme:mapi:MAPIUninitialize Stub
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPILogonEx (0x00000000 (null) (nil) 0x00000062 0x4451f0) Stub
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPILogonEx (0x00000000 (null) (nil) 0x00000062 0x4451f0) Stub
err:ole:CoGetClassObject class {0006f03a-0000-0000-c000-000000000046}
not registered
err:ole:CoGetClassObject class {0006f03a-0000-0000-c000-000000000046}
not registered
err:ole:create_server class {0006f03a-0000-0000-c000-000000000046} not
registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object
{0006f03a-0000-0000-c000-000000000046} could be created for context 0x17
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPILogonEx (0x00000000 (null) (nil) 0x00000062 0x32e7e4) Stub
fixme:mapi:MAPIUninitialize Stub

I can live with that :)

Cheers,
Svetoslav

qwertymn wrote:
The patch below fixes the bug for me, but if the program is functional further i wouldn't know ( and i doubt, but you could always test further)

diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c
index 936d435..5aace9a 100644
--- a/dlls/mapi32/mapi32_main.c
+++ b/dlls/mapi32/mapi32_main.c
@@ -109,6 +109,7 @@ HRESULT WINAPI MAPILogonEx(ULONG_PTR uiparam, LPWSTR profile
{
FIXME("(0x%08lx %s %p 0x%08x %p) Stub\n", uiparam,
debugstr_w(profile), password, flags, session);
+ *session=0;
return SUCCESS_SUCCESS;
}





Locked